From 4020af250424a10bda18abbb8bc13db52e490bb1 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Tue, 4 Jun 2024 16:20:19 -0700 Subject: [PATCH] Bump lints and min SDK (#102) --- .github/workflows/test-package.yml | 4 ++-- CHANGELOG.md | 1 + lib/src/characters_impl.dart | 3 +-- pubspec.yaml | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index a41e4ac..e91044f 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - sdk: [dev, stable, 2.19.0] + sdk: [dev, stable, 3.4] steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 @@ -46,7 +46,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - sdk: [dev, stable, 2.19.0] + sdk: [dev, stable, 3.4] steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 diff --git a/CHANGELOG.md b/CHANGELOG.md index 28e51bc..87d676c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 1.3.1-wip * Fixed README rendering on pub.dev and API docs. +* Require Dart `^3.4.0` ## 1.3.0 diff --git a/lib/src/characters_impl.dart b/lib/src/characters_impl.dart index eb8cef4..f708466 100644 --- a/lib/src/characters_impl.dart +++ b/lib/src/characters_impl.dart @@ -2,11 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'package:characters/src/grapheme_clusters/table.dart'; - import "characters.dart"; import "grapheme_clusters/breaks.dart"; import "grapheme_clusters/constants.dart"; +import 'grapheme_clusters/table.dart'; /// The grapheme clusters of a string. /// diff --git a/pubspec.yaml b/pubspec.yaml index 7247d74..7507365 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,8 +9,8 @@ topics: - unicode environment: - sdk: ">=2.19.0 <4.0.0" + sdk: ^3.4.0 dev_dependencies: - dart_flutter_team_lints: ^1.0.0 - test: ^1.16.0 + dart_flutter_team_lints: ^2.0.0 + test: ^1.16.6