From 70369bb784188639b89175a67a0cb7decbc3216d Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Sat, 25 May 2024 15:49:58 -0700 Subject: [PATCH] bump lints dep and fix --- lib/algorithms.dart | 2 +- lib/equality.dart | 2 +- lib/iterable_zip.dart | 2 +- lib/priority_queue.dart | 2 +- lib/src/algorithms.dart | 2 +- lib/wrappers.dart | 2 +- pubspec.yaml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/algorithms.dart b/lib/algorithms.dart index 71a9f67b..ac432423 100644 --- a/lib/algorithms.dart +++ b/lib/algorithms.dart @@ -4,7 +4,7 @@ /// Import `collection.dart` instead. @Deprecated('Will be removed in collection 2.0.0.') -library dart.pkg.collection.algorithms; +library; export 'src/algorithms.dart' show binarySearch, insertionSort, lowerBound, mergeSort, reverse, shuffle; diff --git a/lib/equality.dart b/lib/equality.dart index 021430ba..5dc158ca 100644 --- a/lib/equality.dart +++ b/lib/equality.dart @@ -4,6 +4,6 @@ /// Import `collection.dart` instead. @Deprecated('Will be removed in collection 2.0.0.') -library dart.pkg.collection.equality; +library; export 'src/equality.dart'; diff --git a/lib/iterable_zip.dart b/lib/iterable_zip.dart index 1ef55952..bd0b1ef0 100644 --- a/lib/iterable_zip.dart +++ b/lib/iterable_zip.dart @@ -4,6 +4,6 @@ /// Import `collection.dart` instead. @Deprecated('Will be removed in collection 2.0.0.') -library dart.pkg.collection.iterable_zip; +library; export 'src/iterable_zip.dart'; diff --git a/lib/priority_queue.dart b/lib/priority_queue.dart index 9ed8be80..7505ce47 100644 --- a/lib/priority_queue.dart +++ b/lib/priority_queue.dart @@ -4,6 +4,6 @@ /// Import `collection.dart` instead. @Deprecated('Will be removed in collection 2.0.0.') -library dart.pkg.collection.priority_queue; +library; export 'src/priority_queue.dart'; diff --git a/lib/src/algorithms.dart b/lib/src/algorithms.dart index f5ea8d3d..bb5843c8 100644 --- a/lib/src/algorithms.dart +++ b/lib/src/algorithms.dart @@ -3,7 +3,7 @@ // BSD-style license that can be found in the LICENSE file. /// A selection of data manipulation algorithms. -library pkg.collection.algorithms; +library; import 'dart:math' show Random; diff --git a/lib/wrappers.dart b/lib/wrappers.dart index d3a2ff65..be529ca2 100644 --- a/lib/wrappers.dart +++ b/lib/wrappers.dart @@ -4,7 +4,7 @@ /// Import `collection.dart` instead. @Deprecated('Will be removed in collection 2.0.0.') -library dart.pkg.collection.wrappers; +library; export 'src/canonicalized_map.dart'; export 'src/unmodifiable_wrappers.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 4d70d7ce..7a92e220 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,5 +12,5 @@ environment: sdk: ^3.1.0 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 test: ^1.16.0