This reverts commit ce94230281.
This commit is contained in:
@@ -39,8 +39,6 @@ const Map<String, String> kManuallyPinnedDependencies = <String, String>{
|
||||
'url_launcher_android': '6.0.17',
|
||||
// https://github.com/flutter/flutter/issues/115660
|
||||
'archive': '3.3.2',
|
||||
// https://github.com/flutter/flutter/issues/116376
|
||||
'path_provider_android': '2.0.21',
|
||||
};
|
||||
|
||||
class UpdatePackagesCommand extends FlutterCommand {
|
||||
@@ -1436,7 +1434,18 @@ String generateFakePubspec(
|
||||
if (verbose) {
|
||||
globals.printStatus('WARNING: the following packages use hard-coded version constraints:');
|
||||
}
|
||||
final Set<String> allTransitive = <String>{
|
||||
for (final PubspecDependency dependency in dependencies)
|
||||
dependency.name,
|
||||
};
|
||||
kManuallyPinnedDependencies.forEach((String package, String version) {
|
||||
// Don't add pinned dependency if it is not in the set of all transitive dependencies.
|
||||
if (!allTransitive.contains(package)) {
|
||||
if (verbose) {
|
||||
globals.printStatus('Skipping $package because it was not transitive');
|
||||
}
|
||||
return;
|
||||
}
|
||||
result.writeln(' $package: $version');
|
||||
if (verbose) {
|
||||
globals.printStatus(' - $package: $version');
|
||||
|
||||
@@ -43,7 +43,7 @@ dependencies:
|
||||
pub_semver: 2.1.3
|
||||
pool: 1.5.1
|
||||
path: 1.8.2
|
||||
mime: 1.0.3
|
||||
mime: 1.0.2
|
||||
logging: 1.1.0
|
||||
http_multi_server: 3.2.1
|
||||
convert: 3.1.1
|
||||
@@ -65,9 +65,9 @@ dependencies:
|
||||
clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
csslib: 0.17.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
dds_service_extensions: 1.3.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
devtools_shared: 2.20.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
devtools_shared: 2.18.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
fixnum: 1.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
frontend_server_client: 3.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
frontend_server_client: 3.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
glob: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
http_parser: 4.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
io: 1.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
@@ -102,4 +102,4 @@ dartdoc:
|
||||
# Exclude this package from the hosted API docs.
|
||||
nodoc: true
|
||||
|
||||
# PUBSPEC CHECKSUM: 31e6
|
||||
# PUBSPEC CHECKSUM: 65eb
|
||||
|
||||
Reference in New Issue
Block a user