Skip to content

Commit

Permalink
[various] Unpin some dev dependencies (#7762)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stuartmorgan authored Oct 2, 2024
1 parent 7c97c88 commit 68ccd8c
Show file tree
Hide file tree
Showing 53 changed files with 54 additions and 61 deletions.
2 changes: 1 addition & 1 deletion packages/camera/camera/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
plugin_platform_interface: ^2.1.7

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera_android_camerax/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^9.1.0

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera_avfoundation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dev_dependencies:
build_runner: ^2.4.9
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^18.0.0

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera_windows/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dev_dependencies:
build_runner: ^2.4.9
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^21.0.0

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/file_selector/file_selector_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dev_dependencies:
build_runner: ^2.1.4
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^9.2.4

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/file_selector/file_selector_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dev_dependencies:
build_runner: ^2.3.0
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^19.0.0

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/file_selector/file_selector_macos/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dev_dependencies:
build_runner: ^2.3.2
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^10.1.3

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/file_selector/file_selector_windows/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dev_dependencies:
build_runner: ^2.3.0
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^22.4.1

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_markdown/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
standard_message_codec: ^0.0.1+3

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_migrate/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ dependencies:

dev_dependencies:
collection: ^1.16.0
file_testing: 3.0.0
file_testing: ^3.0.0
lints: ^2.0.0
test: ^1.16.0
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dev_dependencies:
build_runner: ^2.3.3
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^22.1.0
plugin_platform_interface: ^2.1.7

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dev_dependencies:
build_runner: ^2.4.11
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^20.0.1
plugin_platform_interface: ^2.1.7

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dev_dependencies:
async: ^2.5.0
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- google-maps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dev_dependencies:
http: ^1.2.2
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

flutter:
assets:
Expand Down
2 changes: 1 addition & 1 deletion packages/google_sign_in/google_sign_in/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dev_dependencies:
http: ">=0.13.0 <2.0.0"
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^10.1.0

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/google_sign_in/google_sign_in_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^11.0.1

topics:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dev_dependencies:
http: ">=0.13.0 <2.0.0"
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
web: ^1.0.0

flutter:
Expand Down
2 changes: 1 addition & 1 deletion packages/image_picker/image_picker/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dev_dependencies:
cross_file: ^0.3.1+1 # Mockito generates a direct include.
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
plugin_platform_interface: ^2.1.7

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/image_picker/image_picker_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^17.0.0

topics:
Expand Down
4 changes: 2 additions & 2 deletions packages/image_picker/image_picker_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^17.0.0

topics:
- camera
- image-picker
- files
- file-selection
- file-selection
2 changes: 1 addition & 1 deletion packages/image_picker/image_picker_linux/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dev_dependencies:
build_runner: ^2.1.5
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- image-picker
Expand Down
2 changes: 1 addition & 1 deletion packages/image_picker/image_picker_macos/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dev_dependencies:
build_runner: ^2.1.5
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- image-picker
Expand Down
2 changes: 1 addition & 1 deletion packages/image_picker/image_picker_windows/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dev_dependencies:
build_runner: ^2.1.5
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- image-picker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
json_serializable: ^6.3.1
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^17.1.1
test: ^1.16.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- in-app-purchase
Expand Down
2 changes: 1 addition & 1 deletion packages/interactive_media_ads/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dev_dependencies:
build_runner: ^2.1.4
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^22.2.0

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/local_auth/local_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
plugin_platform_interface: ^2.1.7

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/local_auth/local_auth_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dev_dependencies:
build_runner: ^2.3.3
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^22.4.0

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/local_auth/local_auth_darwin/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dev_dependencies:
build_runner: ^2.3.3
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^22.4.0

topics:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- authentication
Expand Down
2 changes: 1 addition & 1 deletion packages/metrics_center/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
dev_dependencies:
build_runner: ^2.1.1
fake_async: ^1.2.0
mockito: 5.4.4
mockito: ^5.4.4
test: ^1.17.11

topics:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dev_dependencies:
build_runner: ^2.3.2
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
path: ^1.8.0
pigeon: ^10.1.3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ dependencies:
sdk: flutter
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
2 changes: 1 addition & 1 deletion packages/plugin_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies:
meta: ^1.3.0

dev_dependencies:
mockito: 5.4.4
mockito: ^5.4.4
test: ^1.16.0

topics:
Expand Down
2 changes: 1 addition & 1 deletion packages/quick_actions/quick_actions/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
plugin_platform_interface: ^2.1.7

topics:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- quick-actions
Expand Down
2 changes: 1 addition & 1 deletion packages/url_launcher/url_launcher/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
plugin_platform_interface: ^2.1.7

flutter:
Expand Down
2 changes: 1 addition & 1 deletion packages/url_launcher/url_launcher/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
plugin_platform_interface: ^2.1.7
test: ^1.16.3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
plugin_platform_interface: ^2.1.7

flutter:
Expand Down
2 changes: 1 addition & 1 deletion packages/url_launcher/url_launcher_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^10.0.0
plugin_platform_interface: ^2.1.7
test: ^1.16.3
Expand Down
2 changes: 1 addition & 1 deletion packages/url_launcher/url_launcher_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dev_dependencies:
build_runner: ^2.3.3
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4
pigeon: ^11.0.1
plugin_platform_interface: ^2.1.7
test: ^1.16.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

topics:
- links
Expand Down
Loading

0 comments on commit 68ccd8c

Please sign in to comment.