chore: set max SDK version to <3.0.0 (#10)
diff --git a/CHANGELOG.md b/CHANGELOG.md index 83ca15b..2909bea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,3 +1,7 @@ +## 1.0.3 + +* Set max SDK version to `<3.0.0`, and adjust other dependencies. + ## 1.0.2 * `SpanScanner` no longer crashes when creating a span that contains a UTF-16
diff --git a/analysis_options.yaml b/analysis_options.yaml deleted file mode 100644 index a10d4c5..0000000 --- a/analysis_options.yaml +++ /dev/null
@@ -1,2 +0,0 @@ -analyzer: - strong-mode: true
diff --git a/pubspec.yaml b/pubspec.yaml index f0862ee..7c87a0d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -1,13 +1,17 @@ name: string_scanner -version: 1.0.2 -author: "Dart Team <[email protected]>" +version: 1.0.3 + +description: A class for parsing strings using a sequence of patterns. +author: Dart Team <[email protected]> homepage: https://github.com/dart-lang/string_scanner -description: > - A class for parsing strings using a sequence of patterns. -dependencies: - charcode: "^1.1.0" - source_span: "^1.4.0" -dev_dependencies: - test: ">=0.12.0 <0.13.0" + environment: - sdk: ">=1.8.0 <2.0.0" + sdk: '>=1.8.0 <3.0.0' + +dependencies: + charcode: ^1.1.0 + source_span: ^1.4.0 + +dev_dependencies: + test: '>=0.12.0 <2.0.0' +
diff --git a/test/utils.dart b/test/utils.dart index 471b4c8..7767fbc 100644 --- a/test/utils.dart +++ b/test/utils.dart
@@ -9,6 +9,7 @@ /// with the given [message]. Matcher throwsStringScannerException(String text) { return throwsA(predicate((error) { + // ignore: deprecated_member_use expect(error, new isInstanceOf<StringScannerException>()); expect(error.span.text, equals(text)); return true;