Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[script/tool] update dependencies #7992

Merged
merged 8 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 14 additions & 15 deletions script/tool/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,28 @@ publish_to: none

dependencies:
args: ^2.1.0
async: ^2.6.1
collection: ^1.15.0
async: ^2.10.0
collection: ^1.17.0
colorize: ^3.0.0
file: ^6.1.0
# Pin git to 2.0.x until dart >=2.18 is legacy
git: '>=2.0.0 <2.1.0'
http: '>=0.13.3 <2.0.0'
file: ^7.0.1
git: ^2.0.0
http: ^1.0.0
http_multi_server: ^3.0.1
meta: ^1.3.0
path: ^1.8.0
platform: ^3.0.0
meta: ^1.10.0
path: ^1.8.3
platform: ^3.0.2
pub_semver: ^2.0.0
pubspec_parse: ^1.0.0
pubspec_parse: ^1.2.2
quiver: ^3.0.1
test: ^1.17.3
uuid: ^3.0.4
test: ^1.24.0
uuid: ^4.5.1
yaml: ^3.1.0
yaml_edit: ^2.0.2

dev_dependencies:
build_runner: ^2.0.3
matcher: ^0.12.10
build_runner: ^2.2.1
matcher: ^0.12.15
mockito: ^5.4.4

environment:
sdk: '>=3.0.0 <4.0.0'
sdk: ^3.1.0
13 changes: 10 additions & 3 deletions script/tool/test/common/package_command_test.mocks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -244,20 +244,27 @@ class MockGitDir extends _i1.Mock implements _i4.GitDir {
_i6.Future<_i10.ProcessResult> runCommand(
Iterable<String>? args, {
bool? throwOnError = true,
bool? echoOutput = false,
}) =>
(super.noSuchMethod(
Invocation.method(
#runCommand,
[args],
{#throwOnError: throwOnError},
{
#throwOnError: throwOnError,
#echoOutput: echoOutput,
},
),
returnValue: _i6.Future<_i10.ProcessResult>.value(
_i5.dummyValue<_i10.ProcessResult>(
this,
Invocation.method(
#runCommand,
[args],
{#throwOnError: throwOnError},
{
#throwOnError: throwOnError,
#echoOutput: echoOutput,
},
),
)),
) as _i6.Future<_i10.ProcessResult>);
Expand All @@ -274,7 +281,7 @@ class MockGitDir extends _i1.Mock implements _i4.GitDir {
@override
_i6.Future<_i2.Commit?> updateBranch(
String? branchName,
_i6.Future<dynamic> Function(_i10.Directory)? populater,
_i6.Future<void> Function(_i10.Directory)? populater,
String? commitMessage,
) =>
(super.noSuchMethod(
Expand Down