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

Update and tighten dependency constraints for Dart 3.4 #3001

Merged
merged 2 commits into from
Jun 13, 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
24 changes: 12 additions & 12 deletions pkgs/dart_services/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ description: The backend service for DartPad.
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
analysis_server_lib: ^0.2.5
analyzer: ^6.4.1
args: ^2.4.2
analyzer: ^6.4.0
args: ^2.5.0
bazel_worker: ^1.1.1
dartpad_shared: any
dartpad_shared: ^0.0.0
encrypt: ^5.0.3
google_generative_ai: ^0.4.0
google_generative_ai: ^0.4.3
http: ^1.2.1
json_annotation: any
json_annotation: ^4.9.0
logging: ^1.2.0
meta: ^1.13.0
meta: ^1.15.0
path: ^1.9.0
resp_client: ^1.2.0
shelf: ^1.4.1
Expand All @@ -25,15 +25,15 @@ dependencies:
yaml: ^3.1.2

dev_dependencies:
build_runner: ^2.4.9
build_runner: ^2.4.11
collection: ^1.18.0
dart_flutter_team_lints: ^3.0.0
dart_flutter_team_lints: ^3.1.0
grinder: ^0.9.5
json_serializable: any
json_serializable: ^6.8.0
package_config: ^2.1.0
shelf_router_generator: ^1.1.0
synchronized: ^3.1.0
test: ^1.25.2
synchronized: ^3.1.0+1
test: ^1.25.7
test_descriptor: ^2.0.1

dependency_overrides:
Expand Down
6 changes: 1 addition & 5 deletions pkgs/dart_services/test/server_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,7 @@ void main() {

expect(
result.dartdoc!.toLowerCase(),
anyOf(
// Support both pre and post Dart 3.3.0.
contains('prints a string representation'),
contains('prints an object to the console'),
),
contains('prints an object to the console'),
);
expect(result.containingLibraryName, 'dart:core');
expect(result.elementDescription, isNotNull);
Expand Down
10 changes: 5 additions & 5 deletions pkgs/dart_services/tool/dependencies/pub_dependencies_beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"flame_splash_screen": "0.3.0",
"flame_tiled": "1.20.2",
"flutter_adaptive_scaffold": "0.1.11",
"flutter_bloc": "8.1.5",
"flutter_bloc": "8.1.6",
"flutter_hooks": "0.20.5",
"flutter_map": "7.0.0",
"flutter_markdown": "0.7.1",
"flutter_map": "7.0.1",
"flutter_markdown": "0.7.2",
"flutter_riverpod": "2.5.1",
"flutter_svg": "2.0.10+1",
"forge2d": "0.13.0",
Expand Down Expand Up @@ -80,7 +80,7 @@
"path_provider_platform_interface": "2.1.2",
"path_provider_windows": "2.2.1",
"petitparser": "6.0.2",
"platform": "3.1.4",
"platform": "3.1.5",
"plugin_platform_interface": "2.1.8",
"polylabel": "1.0.1",
"pool": "1.5.1",
Expand Down Expand Up @@ -130,7 +130,7 @@
"vector_graphics_codec": "1.1.11+1",
"vector_graphics_compiler": "1.1.11+1",
"vector_math": "2.1.4",
"video_player": "2.8.6",
"video_player": "2.8.7",
"video_player_android": "2.5.0",
"video_player_avfoundation": "2.6.1",
"video_player_platform_interface": "6.2.2",
Expand Down
23 changes: 11 additions & 12 deletions pkgs/dart_services/tool/dependencies/pub_dependencies_main.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,18 @@
"flame_splash_screen": "0.3.0",
"flame_tiled": "1.20.2",
"flutter_adaptive_scaffold": "0.1.11",
"flutter_bloc": "8.1.5",
"flutter_bloc": "8.1.6",
"flutter_hooks": "0.20.5",
"flutter_map": "7.0.0",
"flutter_markdown": "0.7.1",
"flutter_plugin_android_lifecycle": "2.0.20",
"flutter_map": "7.0.1",
"flutter_markdown": "0.7.2",
"flutter_riverpod": "2.5.1",
"flutter_svg": "2.0.10+1",
"forge2d": "0.13.0",
"frontend_server_client": "4.0.0",
"glob": "2.1.2",
"go_router": "14.1.4",
"google_fonts": "6.2.1",
"google_generative_ai": "0.4.2",
"google_generative_ai": "0.4.3",
"hooks_riverpod": "2.5.1",
"html": "0.15.4",
"http": "1.2.1",
Expand Down Expand Up @@ -81,7 +80,7 @@
"path_provider_platform_interface": "2.1.2",
"path_provider_windows": "2.2.1",
"petitparser": "6.0.2",
"platform": "3.1.4",
"platform": "3.1.5",
"plugin_platform_interface": "2.1.8",
"polylabel": "1.0.1",
"pool": "1.5.1",
Expand Down Expand Up @@ -112,14 +111,14 @@
"stream_channel": "2.1.2",
"string_scanner": "1.2.0",
"term_glyph": "1.2.1",
"test": "1.25.5",
"test_api": "0.7.1",
"test_core": "0.6.2",
"test": "1.25.7",
"test_api": "0.7.2",
"test_core": "0.6.4",
"tiled": "0.10.2",
"timezone": "0.9.3",
"typed_data": "1.3.2",
"unicode": "0.3.1",
"url_launcher": "6.2.6",
"url_launcher": "6.3.0",
"url_launcher_android": "6.3.3",
"url_launcher_ios": "6.3.0",
"url_launcher_linux": "3.1.1",
Expand All @@ -131,8 +130,8 @@
"vector_graphics_codec": "1.1.11+1",
"vector_graphics_compiler": "1.1.11+1",
"vector_math": "2.1.4",
"video_player": "2.8.6",
"video_player_android": "2.4.16",
"video_player": "2.8.7",
"video_player_android": "2.5.0",
"video_player_avfoundation": "2.6.1",
"video_player_platform_interface": "6.2.2",
"video_player_web": "2.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,18 @@
"flame_splash_screen": "0.3.0",
"flame_tiled": "1.20.2",
"flutter_adaptive_scaffold": "0.1.11",
"flutter_bloc": "8.1.5",
"flutter_bloc": "8.1.6",
"flutter_hooks": "0.20.5",
"flutter_map": "7.0.0",
"flutter_markdown": "0.7.1",
"flutter_plugin_android_lifecycle": "2.0.20",
"flutter_map": "7.0.1",
"flutter_markdown": "0.7.2",
"flutter_riverpod": "2.5.1",
"flutter_svg": "2.0.10+1",
"forge2d": "0.13.0",
"frontend_server_client": "4.0.0",
"glob": "2.1.2",
"go_router": "14.1.4",
"google_fonts": "6.2.1",
"google_generative_ai": "0.4.2",
"google_generative_ai": "0.4.3",
"hooks_riverpod": "2.5.1",
"html": "0.15.4",
"http": "1.2.1",
Expand Down Expand Up @@ -80,7 +79,7 @@
"path_provider_platform_interface": "2.1.2",
"path_provider_windows": "2.2.1",
"petitparser": "6.0.2",
"platform": "3.1.4",
"platform": "3.1.5",
"plugin_platform_interface": "2.1.8",
"polylabel": "1.0.1",
"pool": "1.5.1",
Expand Down Expand Up @@ -118,7 +117,7 @@
"timezone": "0.9.3",
"typed_data": "1.3.2",
"unicode": "0.3.1",
"url_launcher": "6.2.6",
"url_launcher": "6.3.0",
"url_launcher_android": "6.3.3",
"url_launcher_ios": "6.3.0",
"url_launcher_linux": "3.1.1",
Expand All @@ -130,8 +129,8 @@
"vector_graphics_codec": "1.1.11+1",
"vector_graphics_compiler": "1.1.11+1",
"vector_math": "2.1.4",
"video_player": "2.8.6",
"video_player_android": "2.4.16",
"video_player": "2.8.7",
"video_player_android": "2.5.0",
"video_player_avfoundation": "2.6.1",
"video_player_platform_interface": "6.2.2",
"video_player_web": "2.3.1",
Expand Down
8 changes: 4 additions & 4 deletions pkgs/dartpad_shared/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ description: Shared code between the DartPad frontend and backend.
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
http: ^1.2.1
json_annotation: ^4.9.0
meta: ^1.14.0
meta: ^1.15.0

dev_dependencies:
build_runner: ^2.4.9
dart_flutter_team_lints: ^3.0.0
build_runner: ^2.4.11
dart_flutter_team_lints: ^3.1.0
json_serializable: ^6.8.0
12 changes: 6 additions & 6 deletions pkgs/dartpad_ui/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ description: The front-end UI of DartPad.
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
collection: any
dartpad_shared: any
flutter:
sdk: flutter
flutter_markdown: ^0.7.1
flutter_markdown: ^0.7.2
flutter_web_plugins:
sdk: flutter
fluttering_phrases: ^1.0.0
go_router: ^14.1.4
google_fonts: ^6.2.0
google_fonts: ^6.2.1
http: ^1.2.1
json_annotation: ^4.9.0
pointer_interceptor: ^0.10.0
pointer_interceptor: ^0.10.1
provider: ^6.1.2
split_view: ^3.2.0
split_view: ^3.2.1
url_launcher: ^6.3.0
vtable: ^0.4.0
web: ^0.5.1
Expand All @@ -29,7 +29,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
test: any
test: ^1.25.7

flutter:
uses-material-design: true
Expand Down
12 changes: 6 additions & 6 deletions pkgs/samples/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ description: Sample code snippets for DartPad.
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
flame: ^1.17.0
flame: ^1.18.0
flutter:
sdk: flutter
flutter_markdown: ^0.7.1
google_generative_ai: ^0.4.2
flutter_markdown: ^0.7.2
google_generative_ai: ^0.4.3
url_launcher: ^6.3.0

dev_dependencies:
args: ^2.4.0
flutter_lints: ^3.0.0
args: ^2.5.0
flutter_lints: ^4.0.0
path: ^1.9.0

flutter:
Expand Down
Loading