[deps] rev protobuf, test

Revisions updated by `dart tools/rev_sdk_deps.dart`.

protobuf (https://github.com/dart-lang/protobuf/compare/b7753f6..deda288):
  deda288  2025-05-19  Devon Carew  address a merge issue with the protoc_plugin changelog (dart-lang/protobuf#1002)
  5ed4611  2025-05-19  Devon Carew  shorten the deprecation messages for clone() and copyWith() (dart-lang/protobuf#999)
  4960b92  2025-05-19  Ömer Sinan Ağacan  Switch to pub workspace (dart-lang/protobuf#1001)

test (https://github.com/dart-lang/test/compare/b9c59ea..5ffcb36):
  5ffcb36f  2025-05-19  Danny Tuppeny  Fix an issue with failed assertions using setUpAll/tearDownAll (dart-lang/test#2499)

Change-Id: Idc43e2f2fd9dc38b80917b25b45bb954076dc1c9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429480
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
This commit is contained in:
Devon Carew
2025-05-19 14:45:22 -07:00
committed by Commit Queue
parent b3beefb5bd
commit 40323dfaaf
3 changed files with 29 additions and 23 deletions
+2 -2
View File
@@ -139,12 +139,12 @@ vars = {
"leak_tracker_rev": "f5620600a5ce1c44f65ddaa02001e200b096e14c", # rolled manually
"material_color_utilities_rev": "799b6ba2f3f1c28c67cc7e0b4f18e0c7d7f3c03e",
"native_rev": "2d4b07ae9a11ede9d434dbef5cded0ad08e22e3f", # rolled manually while native assets are experimental
"protobuf_rev": "b7753f6fc29402679e05e9a510074002f0826d48",
"protobuf_rev": "deda2883eb3c8437a89bdae524b732fffef6150c",
"pub_rev": "59406faad8959e332da98260bab894feb8500908", # rolled manually
"shelf_rev": "082d3ac2d13a98700d8148e8fad8f3e12a6fd0e1",
"sync_http_rev": "dc54465f07d9652875deeade643256dafa2fbc6c",
"tar_rev": "5a1ea943e70cdf3fa5e1102cdbb9418bd9b4b81a",
"test_rev": "b9c59ea01ab0c055d120fd6542af663704c16938",
"test_rev": "5ffcb36fd6c82843f25ed96585a4b9e96022e7f9",
"tools_rev": "36f5c9f9989e06e79323499914c50e78ab1a6621",
"vector_math_rev": "13f185f7e97d559e003f5ac79201da12f9a01049",
"web_rev": "f1becf07db9faa56559d2844c3c6d430dc9b37de",
+1 -1
View File
@@ -13,7 +13,7 @@ resolution: workspace
dependencies:
fixnum: ^1.0.0
protobuf: ">=4.0.0 <5.0.0"
protobuf: ^4.0.0
# We use 'any' version constraints here as we get our package versions from
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
+26 -20
View File
@@ -193,13 +193,6 @@ class Package implements Comparable<Package> {
var devdeps = devDependencies;
devdeps.remove(packageName);
// if (deps.isNotEmpty) {
// print(' deps : ${deps}');
// }
// if (devdeps.isNotEmpty) {
// print(' dev deps: ${devdeps}');
// }
void out(String message) {
logger.stdout(logger.ansi.emphasized(message));
}
@@ -467,22 +460,35 @@ class SdkDeps {
void _findPackages(Directory dir) {
var pubspec = File(path.join(dir.path, 'pubspec.yaml'));
if (pubspec.existsSync()) {
var doc = yaml.loadYamlDocument(pubspec.readAsStringSync());
var contents = doc.contents as yaml.YamlMap;
var name = contents['name'];
var version = contents['version'];
var dep = ResolvedDep(
packageName: name,
relativePath: path.relative(dir.path),
version: version == null ? null : Version.parse(version),
);
_resolvedPackageVersions[name] = dep;
} else {
// Continue to recurse.
for (var subDir in dir.listSync().whereType<Directory>()) {
_findPackages(subDir);
if (doc.contents is! yaml.YamlMap) {
// Stop recursing.
return;
}
var contents = doc.contents as yaml.YamlMap;
final isWorkspace = contents.containsKey('workspace');
if (!isWorkspace) {
var name = contents['name'];
var version = contents['version'];
var dep = ResolvedDep(
packageName: name,
relativePath: path.relative(dir.path),
version: version == null ? null : Version.parse(version),
);
_resolvedPackageVersions[name] = dep;
// We've found a leaf package - stop recursing.
return;
}
}
// Continue to recurse.
for (var subDir in dir.listSync().whereType<Directory>()) {
_findPackages(subDir);
}
}
}