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 language versions to 3.3 and ignore deprecation notice #2843

Merged
merged 2 commits into from
Feb 15, 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
4 changes: 1 addition & 3 deletions pkgs/dart_services/lib/src/experiments.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// BSD-style license that can be found in the LICENSE file.

/// The experiments to use on the main and beta channels.
const List<String> enabledExperiments = [
'inline-class',
];
const List<String> enabledExperiments = [];
parlough marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion pkgs/dart_services/pubspec.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkgs/dart_services/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: The backend service for DartPad.
publish_to: none

environment:
sdk: ^3.2.0
sdk: ^3.3.0

dependencies:
analysis_server_lib: ^0.2.5
Expand Down
20 changes: 10 additions & 10 deletions pkgs/dart_services/tool/dependencies/pub_dependencies_beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"english_words": "4.0.0",
"equatable": "2.0.5",
"fake_async": "1.3.1",
"fast_immutable_collections": "10.1.0",
"fast_immutable_collections": "10.1.1",
"fast_noise": "1.0.1",
"ffi": "2.1.2",
"file": "7.0.0",
Expand Down Expand Up @@ -55,11 +55,11 @@
"image": "3.3.0",
"intl": "0.19.0",
"io": "1.0.4",
"js": "0.6.7",
"js": "0.7.0",
"latlong2": "0.9.0",
"leak_tracker": "10.0.0",
"leak_tracker_flutter_testing": "2.0.1",
"leak_tracker_testing": "2.0.1",
"leak_tracker": "10.0.3",
"leak_tracker_flutter_testing": "3.0.2",
"leak_tracker_testing": "3.0.0",
"lints": "3.0.0",
"lists": "1.0.1",
"logger": "2.0.2+1",
Expand Down Expand Up @@ -117,9 +117,9 @@
"stream_channel": "2.1.2",
"string_scanner": "1.2.0",
"term_glyph": "1.2.1",
"test": "1.24.9",
"test_api": "0.6.1",
"test_core": "0.5.9",
"test": "1.25.2",
"test_api": "0.7.0",
"test_core": "0.6.0",
"tiled": "0.10.2",
"timezone": "0.9.2",
"tuple": "2.0.2",
Expand All @@ -130,7 +130,7 @@
"url_launcher_ios": "6.2.4",
"url_launcher_linux": "3.1.1",
"url_launcher_macos": "3.1.0",
"url_launcher_platform_interface": "2.3.1",
"url_launcher_platform_interface": "2.3.2",
"url_launcher_web": "2.2.3",
"url_launcher_windows": "3.1.1",
"vector_graphics": "1.1.10+1",
Expand All @@ -142,7 +142,7 @@
"video_player_avfoundation": "2.5.6",
"video_player_platform_interface": "6.2.2",
"video_player_web": "2.1.3",
"vm_service": "13.0.0",
"vm_service": "14.0.0",
"watcher": "1.1.0",
"web": "0.4.2",
"web_socket_channel": "2.4.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"english_words": "4.0.0",
"equatable": "2.0.5",
"fake_async": "1.3.1",
"fast_immutable_collections": "10.1.0",
"fast_immutable_collections": "10.1.1",
"fast_noise": "1.0.1",
"ffi": "2.1.2",
"file": "7.0.0",
Expand Down Expand Up @@ -130,7 +130,7 @@
"url_launcher_ios": "6.2.4",
"url_launcher_linux": "3.1.1",
"url_launcher_macos": "3.1.0",
"url_launcher_platform_interface": "2.3.1",
"url_launcher_platform_interface": "2.3.2",
"url_launcher_web": "2.2.3",
"url_launcher_windows": "3.1.1",
"vector_graphics": "1.1.10+1",
Expand Down
25 changes: 14 additions & 11 deletions pkgs/dart_services/tool/dependencies/pub_dependencies_stable.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"_fe_analyzer_shared": "64.0.0",
"analyzer": "6.2.0",
"_fe_analyzer_shared": "67.0.0",
"analyzer": "6.4.1",
"animations": "2.0.11",
"archive": "3.4.10",
"args": "2.4.2",
Expand All @@ -22,9 +22,9 @@
"english_words": "4.0.0",
"equatable": "2.0.5",
"fake_async": "1.3.1",
"fast_immutable_collections": "10.1.0",
"fast_immutable_collections": "10.1.1",
"fast_noise": "1.0.1",
"ffi": "2.1.0",
"ffi": "2.1.2",
"file": "7.0.0",
"fixnum": "1.1.0",
"flame": "1.15.0",
Expand Down Expand Up @@ -57,21 +57,24 @@
"io": "1.0.4",
"js": "0.6.7",
"latlong2": "0.9.0",
"leak_tracker": "10.0.0",
"leak_tracker_flutter_testing": "2.0.1",
"leak_tracker_testing": "2.0.1",
"lints": "3.0.0",
"lists": "1.0.1",
"logger": "2.0.2+1",
"logging": "1.2.0",
"markdown": "7.2.1",
"matcher": "0.12.16",
"material_color_utilities": "0.5.0",
"meta": "1.10.0",
"matcher": "0.12.16+1",
"material_color_utilities": "0.8.0",
"meta": "1.11.0",
"mgrs_dart": "2.0.0",
"mime": "1.0.5",
"nested": "1.0.0",
"node_preamble": "2.0.2",
"ordered_set": "5.0.2",
"package_config": "2.1.0",
"path": "1.8.3",
"path": "1.9.0",
"path_parsing": "1.0.1",
"path_provider": "2.1.2",
"path_provider_android": "2.2.2",
Expand Down Expand Up @@ -127,7 +130,7 @@
"url_launcher_ios": "6.2.4",
"url_launcher_linux": "3.1.1",
"url_launcher_macos": "3.1.0",
"url_launcher_platform_interface": "2.3.1",
"url_launcher_platform_interface": "2.3.2",
"url_launcher_web": "2.2.3",
"url_launcher_windows": "3.1.1",
"vector_graphics": "1.1.10+1",
Expand All @@ -141,8 +144,8 @@
"video_player_web": "2.1.3",
"vm_service": "13.0.0",
"watcher": "1.1.0",
"web": "0.3.0",
"web_socket_channel": "2.4.0",
"web": "0.4.2",
"web_socket_channel": "2.4.3",
"webkit_inspection_protocol": "1.2.1",
"win32": "5.2.0",
"wkt_parser": "2.0.0",
Expand Down
4 changes: 3 additions & 1 deletion pkgs/samples/lib/brick_breaker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ class BrickBreaker extends FlameGame

@override
KeyEventResult onKeyEvent(
RawKeyEvent event, Set<LogicalKeyboardKey> keysPressed) {
RawKeyEvent event, // ignore: deprecated_member_use
Set<LogicalKeyboardKey> keysPressed,
) {
super.onKeyEvent(event, keysPressed);
switch (event.logicalKey) {
case LogicalKeyboardKey.space:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/samples/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Sample code snippets for DartPad.
publish_to: 'none'

environment:
sdk: ^3.2.0
sdk: ^3.3.0

dependencies:
flame: ^1.15.0
Expand Down
4 changes: 3 additions & 1 deletion pkgs/sketch_pad/lib/samples.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkgs/sketch_pad/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
sdk: flutter
fluttering_phrases: ^1.0.0
go_router: ^13.0.0
http: ^1.1.2
http: ^1.2.0
json_annotation: ^4.8.1
pointer_interceptor: ^0.10.0
provider: ^6.1.0
Expand Down
Loading