Skip to content

Commit 68ccd8c

Browse files
[various] Unpin some dev dependencies (#7762)
Several dev dependencies, most notably mockito, were only allow as exactly pinned versions, in order to avoid out-of-band breakage due to deprecations in minor version updates. Now that the policy for Flutter repos has changed to not include deprecation warnings in analysis, this is no longer an issue, so we can relax these dependencies to follow the more normal pattern of using ranges.
1 parent 7c97c88 commit 68ccd8c

File tree

53 files changed

+54
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+54
-61
lines changed

packages/camera/camera/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
dev_dependencies:
3333
flutter_test:
3434
sdk: flutter
35-
mockito: 5.4.4
35+
mockito: ^5.4.4
3636
plugin_platform_interface: ^2.1.7
3737

3838
topics:

packages/camera/camera_android_camerax/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dev_dependencies:
3131
sdk: flutter
3232
integration_test:
3333
sdk: flutter
34-
mockito: 5.4.4
34+
mockito: ^5.4.4
3535
pigeon: ^9.1.0
3636

3737
topics:

packages/camera/camera_avfoundation/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dev_dependencies:
2727
build_runner: ^2.4.9
2828
flutter_test:
2929
sdk: flutter
30-
mockito: 5.4.4
30+
mockito: ^5.4.4
3131
pigeon: ^18.0.0
3232

3333
topics:

packages/camera/camera_windows/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dev_dependencies:
2828
build_runner: ^2.4.9
2929
flutter_test:
3030
sdk: flutter
31-
mockito: 5.4.4
31+
mockito: ^5.4.4
3232
pigeon: ^21.0.0
3333

3434
topics:

packages/file_selector/file_selector_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dev_dependencies:
2727
build_runner: ^2.1.4
2828
flutter_test:
2929
sdk: flutter
30-
mockito: 5.4.4
30+
mockito: ^5.4.4
3131
pigeon: ^9.2.4
3232

3333
topics:

packages/file_selector/file_selector_ios/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dev_dependencies:
2525
build_runner: ^2.3.0
2626
flutter_test:
2727
sdk: flutter
28-
mockito: 5.4.4
28+
mockito: ^5.4.4
2929
pigeon: ^19.0.0
3030

3131
topics:

packages/file_selector/file_selector_macos/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dev_dependencies:
2626
build_runner: ^2.3.2
2727
flutter_test:
2828
sdk: flutter
29-
mockito: 5.4.4
29+
mockito: ^5.4.4
3030
pigeon: ^10.1.3
3131

3232
topics:

packages/file_selector/file_selector_windows/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dev_dependencies:
2626
build_runner: ^2.3.0
2727
flutter_test:
2828
sdk: flutter
29-
mockito: 5.4.4
29+
mockito: ^5.4.4
3030
pigeon: ^22.4.1
3131

3232
topics:

packages/flutter_markdown/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies:
2020
dev_dependencies:
2121
flutter_test:
2222
sdk: flutter
23-
mockito: 5.4.4
23+
mockito: ^5.4.4
2424
standard_message_codec: ^0.0.1+3
2525

2626
topics:

packages/flutter_migrate/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ dependencies:
2121

2222
dev_dependencies:
2323
collection: ^1.16.0
24-
file_testing: 3.0.0
24+
file_testing: ^3.0.0
2525
lints: ^2.0.0
2626
test: ^1.16.0

packages/google_maps_flutter/google_maps_flutter_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dev_dependencies:
2929
build_runner: ^2.3.3
3030
flutter_test:
3131
sdk: flutter
32-
mockito: 5.4.4
32+
mockito: ^5.4.4
3333
pigeon: ^22.1.0
3434
plugin_platform_interface: ^2.1.7
3535

packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dev_dependencies:
2727
build_runner: ^2.4.11
2828
flutter_test:
2929
sdk: flutter
30-
mockito: 5.4.4
30+
mockito: ^5.4.4
3131
pigeon: ^20.0.1
3232
plugin_platform_interface: ^2.1.7
3333

packages/google_maps_flutter/google_maps_flutter_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dev_dependencies:
2121
async: ^2.5.0
2222
flutter_test:
2323
sdk: flutter
24-
mockito: 5.4.4
24+
mockito: ^5.4.4
2525

2626
topics:
2727
- google-maps

packages/google_maps_flutter/google_maps_flutter_web/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dev_dependencies:
2222
http: ^1.2.2
2323
integration_test:
2424
sdk: flutter
25-
mockito: 5.4.4
25+
mockito: ^5.4.4
2626

2727
flutter:
2828
assets:

packages/google_sign_in/google_sign_in/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dev_dependencies:
3636
http: ">=0.13.0 <2.0.0"
3737
integration_test:
3838
sdk: flutter
39-
mockito: 5.4.4
39+
mockito: ^5.4.4
4040

4141
topics:
4242
- authentication

packages/google_sign_in/google_sign_in_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dev_dependencies:
2828
sdk: flutter
2929
integration_test:
3030
sdk: flutter
31-
mockito: 5.4.4
31+
mockito: ^5.4.4
3232
pigeon: ^10.1.0
3333

3434
topics:

packages/google_sign_in/google_sign_in_ios/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dev_dependencies:
3232
sdk: flutter
3333
integration_test:
3434
sdk: flutter
35-
mockito: 5.4.4
35+
mockito: ^5.4.4
3636
pigeon: ^11.0.1
3737

3838
topics:

packages/google_sign_in/google_sign_in_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
dev_dependencies:
1919
flutter_test:
2020
sdk: flutter
21-
mockito: 5.4.4
21+
mockito: ^5.4.4
2222

2323
topics:
2424
- authentication

packages/google_sign_in/google_sign_in_web/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dev_dependencies:
2121
http: ">=0.13.0 <2.0.0"
2222
integration_test:
2323
sdk: flutter
24-
mockito: 5.4.4
24+
mockito: ^5.4.4
2525
web: ^1.0.0
2626

2727
flutter:

packages/image_picker/image_picker/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dev_dependencies:
4141
cross_file: ^0.3.1+1 # Mockito generates a direct include.
4242
flutter_test:
4343
sdk: flutter
44-
mockito: 5.4.4
44+
mockito: ^5.4.4
4545
plugin_platform_interface: ^2.1.7
4646

4747
topics:

packages/image_picker/image_picker_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
dev_dependencies:
2727
flutter_test:
2828
sdk: flutter
29-
mockito: 5.4.4
29+
mockito: ^5.4.4
3030
pigeon: ^17.0.0
3131

3232
topics:

packages/image_picker/image_picker_ios/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ dependencies:
2424
dev_dependencies:
2525
flutter_test:
2626
sdk: flutter
27-
mockito: 5.4.4
27+
mockito: ^5.4.4
2828
pigeon: ^17.0.0
2929

3030
topics:
3131
- camera
3232
- image-picker
3333
- files
34-
- file-selection
34+
- file-selection

packages/image_picker/image_picker_linux/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dev_dependencies:
2626
build_runner: ^2.1.5
2727
flutter_test:
2828
sdk: flutter
29-
mockito: 5.4.4
29+
mockito: ^5.4.4
3030

3131
topics:
3232
- image-picker

packages/image_picker/image_picker_macos/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dev_dependencies:
2626
build_runner: ^2.1.5
2727
flutter_test:
2828
sdk: flutter
29-
mockito: 5.4.4
29+
mockito: ^5.4.4
3030

3131
topics:
3232
- image-picker

packages/image_picker/image_picker_windows/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dev_dependencies:
2626
build_runner: ^2.1.5
2727
flutter_test:
2828
sdk: flutter
29-
mockito: 5.4.4
29+
mockito: ^5.4.4
3030

3131
topics:
3232
- image-picker

packages/in_app_purchase/in_app_purchase_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dev_dependencies:
2828
flutter_test:
2929
sdk: flutter
3030
json_serializable: ^6.3.1
31-
mockito: 5.4.4
31+
mockito: ^5.4.4
3232
pigeon: ^17.1.1
3333
test: ^1.16.0
3434

packages/in_app_purchase/in_app_purchase_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
dev_dependencies:
1919
flutter_test:
2020
sdk: flutter
21-
mockito: 5.4.4
21+
mockito: ^5.4.4
2222

2323
topics:
2424
- in-app-purchase

packages/interactive_media_ads/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dev_dependencies:
3030
build_runner: ^2.1.4
3131
flutter_test:
3232
sdk: flutter
33-
mockito: 5.4.4
33+
mockito: ^5.4.4
3434
pigeon: ^22.2.0
3535

3636
topics:

packages/local_auth/local_auth/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dev_dependencies:
3434
sdk: flutter
3535
integration_test:
3636
sdk: flutter
37-
mockito: 5.4.4
37+
mockito: ^5.4.4
3838
plugin_platform_interface: ^2.1.7
3939

4040
topics:

packages/local_auth/local_auth_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dev_dependencies:
2828
build_runner: ^2.3.3
2929
flutter_test:
3030
sdk: flutter
31-
mockito: 5.4.4
31+
mockito: ^5.4.4
3232
pigeon: ^22.4.0
3333

3434
topics:

packages/local_auth/local_auth_darwin/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dev_dependencies:
3131
build_runner: ^2.3.3
3232
flutter_test:
3333
sdk: flutter
34-
mockito: 5.4.4
34+
mockito: ^5.4.4
3535
pigeon: ^22.4.0
3636

3737
topics:

packages/local_auth/local_auth_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
dev_dependencies:
1919
flutter_test:
2020
sdk: flutter
21-
mockito: 5.4.4
21+
mockito: ^5.4.4
2222

2323
topics:
2424
- authentication

packages/metrics_center/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies:
1919
dev_dependencies:
2020
build_runner: ^2.1.1
2121
fake_async: ^1.2.0
22-
mockito: 5.4.4
22+
mockito: ^5.4.4
2323
test: ^1.17.11
2424

2525
topics:

packages/path_provider/path_provider_foundation/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dev_dependencies:
3030
build_runner: ^2.3.2
3131
flutter_test:
3232
sdk: flutter
33-
mockito: 5.4.4
33+
mockito: ^5.4.4
3434
path: ^1.8.0
3535
pigeon: ^10.1.3
3636

packages/pigeon/platform_tests/shared_test_plugin_code/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ dependencies:
1818
sdk: flutter
1919
integration_test:
2020
sdk: flutter
21-
mockito: 5.4.4
21+
mockito: ^5.4.4

packages/plugin_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
meta: ^1.3.0
2525

2626
dev_dependencies:
27-
mockito: 5.4.4
27+
mockito: ^5.4.4
2828
test: ^1.16.0
2929

3030
topics:

packages/quick_actions/quick_actions/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dev_dependencies:
2929
sdk: flutter
3030
integration_test:
3131
sdk: flutter
32-
mockito: 5.4.4
32+
mockito: ^5.4.4
3333
plugin_platform_interface: ^2.1.7
3434

3535
topics:

packages/quick_actions/quick_actions_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
dev_dependencies:
1919
flutter_test:
2020
sdk: flutter
21-
mockito: 5.4.4
21+
mockito: ^5.4.4
2222

2323
topics:
2424
- quick-actions

packages/url_launcher/url_launcher/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dev_dependencies:
2424
sdk: flutter
2525
integration_test:
2626
sdk: flutter
27-
mockito: 5.4.4
27+
mockito: ^5.4.4
2828
plugin_platform_interface: ^2.1.7
2929

3030
flutter:

packages/url_launcher/url_launcher/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies:
4141
dev_dependencies:
4242
flutter_test:
4343
sdk: flutter
44-
mockito: 5.4.4
44+
mockito: ^5.4.4
4545
plugin_platform_interface: ^2.1.7
4646
test: ^1.16.3
4747

packages/url_launcher/url_launcher_android/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dev_dependencies:
2323
sdk: flutter
2424
integration_test:
2525
sdk: flutter
26-
mockito: 5.4.4
26+
mockito: ^5.4.4
2727
plugin_platform_interface: ^2.1.7
2828

2929
flutter:

packages/url_launcher/url_launcher_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
dev_dependencies:
2525
flutter_test:
2626
sdk: flutter
27-
mockito: 5.4.4
27+
mockito: ^5.4.4
2828
pigeon: ^10.0.0
2929
plugin_platform_interface: ^2.1.7
3030
test: ^1.16.3

packages/url_launcher/url_launcher_ios/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dev_dependencies:
2525
build_runner: ^2.3.3
2626
flutter_test:
2727
sdk: flutter
28-
mockito: 5.4.4
28+
mockito: ^5.4.4
2929
pigeon: ^11.0.1
3030
plugin_platform_interface: ^2.1.7
3131
test: ^1.16.3

packages/url_launcher/url_launcher_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
dev_dependencies:
1919
flutter_test:
2020
sdk: flutter
21-
mockito: 5.4.4
21+
mockito: ^5.4.4
2222

2323
topics:
2424
- links

0 commit comments

Comments
 (0)