diff --git a/lib/algorithms.dart b/lib/algorithms.dart index 71a9f67..ac43242 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 021430b..5dc158c 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 1ef5595..bd0b1ef 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 9ed8be8..7505ce4 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 f5ea8d3..bb5843c 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 d3a2ff6..be529ca 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 4d70d7c..7a92e22 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