From 18f0a2288e0b20b96277583cec5f1a195271a00f Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Tue, 27 Oct 2020 13:55:32 -0700 Subject: [PATCH] [flutter_tools] update to vm_service 5.2.0, update to dwds 7.0.0 (#69067) Rolls in several fixes to web tooling, including better handling of absolute file imports. Updates to latest vm service to unblock null safety mode query Co-authored-by: Gary Roumanis Co-authored-by: Anna Gringauze --- dev/automated_tests/pubspec.yaml | 4 +- dev/benchmarks/complex_layout/pubspec.yaml | 4 +- dev/benchmarks/macrobenchmarks/pubspec.yaml | 6 +- dev/benchmarks/microbenchmarks/pubspec.yaml | 4 +- .../platform_views_layout/pubspec.yaml | 4 +- .../pubspec.yaml | 4 +- dev/benchmarks/test_apps/stocks/pubspec.yaml | 4 +- dev/bots/pubspec.yaml | 4 +- dev/devicelab/pubspec.yaml | 4 +- .../android_semantics_testing/pubspec.yaml | 4 +- .../splash_screen_kitchen_sink/pubspec.yaml | 4 +- .../splash_screen_trans_rotate/pubspec.yaml | 4 +- .../android_views/pubspec.yaml | 4 +- dev/integration_tests/channels/pubspec.yaml | 4 +- .../external_ui/pubspec.yaml | 4 +- dev/integration_tests/flavors/pubspec.yaml | 4 +- .../pubspec.yaml | 4 +- .../flutter_gallery/pubspec.yaml | 6 +- .../hybrid_android_views/pubspec.yaml | 4 +- .../image_loading/pubspec.yaml | 4 +- .../ios_platform_view_tests/pubspec.yaml | 4 +- .../platform_interaction/pubspec.yaml | 4 +- .../release_smoke_test/pubspec.yaml | 4 +- dev/integration_tests/ui/pubspec.yaml | 4 +- .../web_e2e_tests/pubspec.yaml | 6 +- dev/snippets/pubspec.yaml | 4 +- dev/tools/pubspec.yaml | 4 +- dev/tracing_tests/pubspec.yaml | 4 +- examples/hello_world/pubspec.yaml | 4 +- examples/platform_channel/pubspec.yaml | 4 +- examples/platform_channel_swift/pubspec.yaml | 4 +- .../_flutter_web_build_script/pubspec.yaml | 4 +- packages/flutter_driver/pubspec.yaml | 4 +- .../lib/src/isolated/devfs_web.dart | 362 +++++++++--------- packages/flutter_tools/pubspec.yaml | 12 +- .../commands.shard/hermetic/attach_test.dart | 1 + .../drive/drive_service_test.dart | 4 + .../fuchsia/fuchsia_device_test.dart | 1 + .../test/general.shard/hot_test.dart | 1 + .../ios/fallback_discovery_test.dart | 1 + .../general.shard/resident_runner_test.dart | 4 + .../test/general.shard/tracing_test.dart | 1 + .../pubspec.yaml | 4 +- 43 files changed, 279 insertions(+), 250 deletions(-) diff --git a/dev/automated_tests/pubspec.yaml b/dev/automated_tests/pubspec.yaml index d2ec212c6d..d2c726b48f 100644 --- a/dev/automated_tests/pubspec.yaml +++ b/dev/automated_tests/pubspec.yaml @@ -59,7 +59,7 @@ dependencies: test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -70,4 +70,4 @@ flutter: assets: - icon/ -# PUBSPEC CHECKSUM: d46e +# PUBSPEC CHECKSUM: 8a6f diff --git a/dev/benchmarks/complex_layout/pubspec.yaml b/dev/benchmarks/complex_layout/pubspec.yaml index 6d66b93c8e..bbef25e559 100644 --- a/dev/benchmarks/complex_layout/pubspec.yaml +++ b/dev/benchmarks/complex_layout/pubspec.yaml @@ -32,7 +32,7 @@ dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" dev_dependencies: @@ -88,4 +88,4 @@ flutter: - packages/flutter_gallery_assets/people/square/ali.png - packages/flutter_gallery_assets/places/india_chettinad_silk_maker.png -# PUBSPEC CHECKSUM: 6324 +# PUBSPEC CHECKSUM: 3925 diff --git a/dev/benchmarks/macrobenchmarks/pubspec.yaml b/dev/benchmarks/macrobenchmarks/pubspec.yaml index ee88edbc9c..5631e1a368 100644 --- a/dev/benchmarks/macrobenchmarks/pubspec.yaml +++ b/dev/benchmarks/macrobenchmarks/pubspec.yaml @@ -32,14 +32,14 @@ dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" dev_dependencies: flutter_test: sdk: flutter test: 1.16.0-nullsafety.7 - integration_test: 0.9.2+1 + integration_test: 0.9.2+2 _fe_analyzer_shared: 7.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" analyzer: 0.39.17 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -212,4 +212,4 @@ flutter: fonts: - asset: packages/flutter_gallery_assets/fonts/GalleryIcons.ttf -# PUBSPEC CHECKSUM: f9f4 +# PUBSPEC CHECKSUM: b3f6 diff --git a/dev/benchmarks/microbenchmarks/pubspec.yaml b/dev/benchmarks/microbenchmarks/pubspec.yaml index fb71fe824f..d8a0ff379a 100644 --- a/dev/benchmarks/microbenchmarks/pubspec.yaml +++ b/dev/benchmarks/microbenchmarks/pubspec.yaml @@ -68,7 +68,7 @@ dependencies: test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -77,4 +77,4 @@ dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: d591 +# PUBSPEC CHECKSUM: 8b92 diff --git a/dev/benchmarks/platform_views_layout/pubspec.yaml b/dev/benchmarks/platform_views_layout/pubspec.yaml index f106c69133..9fd301feaa 100644 --- a/dev/benchmarks/platform_views_layout/pubspec.yaml +++ b/dev/benchmarks/platform_views_layout/pubspec.yaml @@ -31,7 +31,7 @@ dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" dev_dependencies: @@ -86,4 +86,4 @@ flutter: - packages/flutter_gallery_assets/people/square/ali.png - packages/flutter_gallery_assets/places/india_chettinad_silk_maker.png -# PUBSPEC CHECKSUM: 977c +# PUBSPEC CHECKSUM: 6d7d diff --git a/dev/benchmarks/platform_views_layout_hybrid_composition/pubspec.yaml b/dev/benchmarks/platform_views_layout_hybrid_composition/pubspec.yaml index 3632358b2c..86dccd262a 100644 --- a/dev/benchmarks/platform_views_layout_hybrid_composition/pubspec.yaml +++ b/dev/benchmarks/platform_views_layout_hybrid_composition/pubspec.yaml @@ -31,7 +31,7 @@ dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" dev_dependencies: @@ -86,4 +86,4 @@ flutter: - packages/flutter_gallery_assets/people/square/ali.png - packages/flutter_gallery_assets/places/india_chettinad_silk_maker.png -# PUBSPEC CHECKSUM: 977c +# PUBSPEC CHECKSUM: 6d7d diff --git a/dev/benchmarks/test_apps/stocks/pubspec.yaml b/dev/benchmarks/test_apps/stocks/pubspec.yaml index fdb02b2a63..21db4cd733 100644 --- a/dev/benchmarks/test_apps/stocks/pubspec.yaml +++ b/dev/benchmarks/test_apps/stocks/pubspec.yaml @@ -77,7 +77,7 @@ dev_dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -85,4 +85,4 @@ dev_dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: a800 +# PUBSPEC CHECKSUM: 7e01 diff --git a/dev/bots/pubspec.yaml b/dev/bots/pubspec.yaml index c55b82dcbb..dafd4938b7 100644 --- a/dev/bots/pubspec.yaml +++ b/dev/bots/pubspec.yaml @@ -64,7 +64,7 @@ dependencies: term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vm_service_client: 0.2.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -76,4 +76,4 @@ dev_dependencies: mockito: 4.1.1 test_api: 0.2.19-nullsafety.4 -# PUBSPEC CHECKSUM: 358d +# PUBSPEC CHECKSUM: 338e diff --git a/dev/devicelab/pubspec.yaml b/dev/devicelab/pubspec.yaml index 0246ef68c0..41778be63d 100644 --- a/dev/devicelab/pubspec.yaml +++ b/dev/devicelab/pubspec.yaml @@ -70,9 +70,9 @@ dev_dependencies: source_maps: 0.10.10-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" yaml: 2.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" -# PUBSPEC CHECKSUM: 3746 +# PUBSPEC CHECKSUM: 3547 diff --git a/dev/integration_tests/android_semantics_testing/pubspec.yaml b/dev/integration_tests/android_semantics_testing/pubspec.yaml index cd68b70e8d..e74f845e17 100644 --- a/dev/integration_tests/android_semantics_testing/pubspec.yaml +++ b/dev/integration_tests/android_semantics_testing/pubspec.yaml @@ -59,7 +59,7 @@ dependencies: test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -69,4 +69,4 @@ dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: 5c71 +# PUBSPEC CHECKSUM: 3272 diff --git a/dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/pubspec.yaml b/dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/pubspec.yaml index 85f43620d6..fd20df9ffa 100644 --- a/dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/pubspec.yaml +++ b/dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/pubspec.yaml @@ -89,7 +89,7 @@ dev_dependencies: term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -134,4 +134,4 @@ flutter: # For details regarding fonts from package dependencies, # see https://flutter.dev/custom-fonts/#from-packages -# PUBSPEC CHECKSUM: 4c7f +# PUBSPEC CHECKSUM: 2280 diff --git a/dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/pubspec.yaml b/dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/pubspec.yaml index 5ab206e34c..a7dad59a80 100644 --- a/dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/pubspec.yaml +++ b/dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/pubspec.yaml @@ -89,7 +89,7 @@ dev_dependencies: term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -134,4 +134,4 @@ flutter: # For details regarding fonts from package dependencies, # see https://flutter.dev/custom-fonts/#from-packages -# PUBSPEC CHECKSUM: 4c7f +# PUBSPEC CHECKSUM: 2280 diff --git a/dev/integration_tests/android_views/pubspec.yaml b/dev/integration_tests/android_views/pubspec.yaml index 2dbe4dd4c0..fc8566fb0c 100644 --- a/dev/integration_tests/android_views/pubspec.yaml +++ b/dev/integration_tests/android_views/pubspec.yaml @@ -37,7 +37,7 @@ dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" xdg_directories: 0.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -90,4 +90,4 @@ dev_dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: becb +# PUBSPEC CHECKSUM: c0cc diff --git a/dev/integration_tests/channels/pubspec.yaml b/dev/integration_tests/channels/pubspec.yaml index 08162a9f04..e7c4a8d1b0 100644 --- a/dev/integration_tests/channels/pubspec.yaml +++ b/dev/integration_tests/channels/pubspec.yaml @@ -61,7 +61,7 @@ dependencies: test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -71,4 +71,4 @@ dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: 5c71 +# PUBSPEC CHECKSUM: 3272 diff --git a/dev/integration_tests/external_ui/pubspec.yaml b/dev/integration_tests/external_ui/pubspec.yaml index c9fb187a32..12e3133207 100644 --- a/dev/integration_tests/external_ui/pubspec.yaml +++ b/dev/integration_tests/external_ui/pubspec.yaml @@ -61,7 +61,7 @@ dependencies: test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -71,4 +71,4 @@ dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: 5c71 +# PUBSPEC CHECKSUM: 3272 diff --git a/dev/integration_tests/flavors/pubspec.yaml b/dev/integration_tests/flavors/pubspec.yaml index e6a7a595c9..f2fc0daf7e 100644 --- a/dev/integration_tests/flavors/pubspec.yaml +++ b/dev/integration_tests/flavors/pubspec.yaml @@ -61,7 +61,7 @@ dependencies: test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -71,4 +71,4 @@ dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: 5c71 +# PUBSPEC CHECKSUM: 3272 diff --git a/dev/integration_tests/flutter_driver_screenshot_test/pubspec.yaml b/dev/integration_tests/flutter_driver_screenshot_test/pubspec.yaml index a213ff1a9b..3ec7f0f801 100644 --- a/dev/integration_tests/flutter_driver_screenshot_test/pubspec.yaml +++ b/dev/integration_tests/flutter_driver_screenshot_test/pubspec.yaml @@ -29,7 +29,7 @@ dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" dev_dependencies: @@ -79,4 +79,4 @@ flutter: assets: - assets/ -# PUBSPEC CHECKSUM: e9a2 +# PUBSPEC CHECKSUM: bfa3 diff --git a/dev/integration_tests/flutter_gallery/pubspec.yaml b/dev/integration_tests/flutter_gallery/pubspec.yaml index 07add2439b..d39b85c937 100644 --- a/dev/integration_tests/flutter_gallery/pubspec.yaml +++ b/dev/integration_tests/flutter_gallery/pubspec.yaml @@ -52,7 +52,7 @@ dev_dependencies: flutter_goldens: sdk: flutter test: 1.16.0-nullsafety.7 - integration_test: 0.9.2+1 + integration_test: 0.9.2+2 _fe_analyzer_shared: 7.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" analyzer: 0.39.17 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -96,7 +96,7 @@ dev_dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -274,4 +274,4 @@ flutter: - asset: packages/flutter_gallery_assets/fonts/merriweather/Merriweather-Regular.ttf - asset: packages/flutter_gallery_assets/fonts/merriweather/Merriweather-Light.ttf -# PUBSPEC CHECKSUM: 6c29 +# PUBSPEC CHECKSUM: 292b diff --git a/dev/integration_tests/hybrid_android_views/pubspec.yaml b/dev/integration_tests/hybrid_android_views/pubspec.yaml index eeacf03d92..03da5eb11b 100644 --- a/dev/integration_tests/hybrid_android_views/pubspec.yaml +++ b/dev/integration_tests/hybrid_android_views/pubspec.yaml @@ -37,7 +37,7 @@ dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" xdg_directories: 0.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -90,4 +90,4 @@ dev_dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: becb +# PUBSPEC CHECKSUM: c0cc diff --git a/dev/integration_tests/image_loading/pubspec.yaml b/dev/integration_tests/image_loading/pubspec.yaml index c18addf146..44907f0d47 100644 --- a/dev/integration_tests/image_loading/pubspec.yaml +++ b/dev/integration_tests/image_loading/pubspec.yaml @@ -55,7 +55,7 @@ dependencies: test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -64,4 +64,4 @@ dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: 1249 +# PUBSPEC CHECKSUM: c74a diff --git a/dev/integration_tests/ios_platform_view_tests/pubspec.yaml b/dev/integration_tests/ios_platform_view_tests/pubspec.yaml index e192175d5a..4615decd7b 100644 --- a/dev/integration_tests/ios_platform_view_tests/pubspec.yaml +++ b/dev/integration_tests/ios_platform_view_tests/pubspec.yaml @@ -68,7 +68,7 @@ dev_dependencies: term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -82,4 +82,4 @@ flutter: # the material Icons class. uses-material-design: true -# PUBSPEC CHECKSUM: b4dc +# PUBSPEC CHECKSUM: 8add diff --git a/dev/integration_tests/platform_interaction/pubspec.yaml b/dev/integration_tests/platform_interaction/pubspec.yaml index c9e08db24c..3466cc74c8 100644 --- a/dev/integration_tests/platform_interaction/pubspec.yaml +++ b/dev/integration_tests/platform_interaction/pubspec.yaml @@ -61,7 +61,7 @@ dependencies: test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -71,4 +71,4 @@ dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: 5c71 +# PUBSPEC CHECKSUM: 3272 diff --git a/dev/integration_tests/release_smoke_test/pubspec.yaml b/dev/integration_tests/release_smoke_test/pubspec.yaml index 2af4299cfa..3eedc71f2f 100644 --- a/dev/integration_tests/release_smoke_test/pubspec.yaml +++ b/dev/integration_tests/release_smoke_test/pubspec.yaml @@ -39,7 +39,7 @@ dev_dependencies: sync_http: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" -# PUBSPEC CHECKSUM: a26a +# PUBSPEC CHECKSUM: cb6b diff --git a/dev/integration_tests/ui/pubspec.yaml b/dev/integration_tests/ui/pubspec.yaml index ed411e258d..fb20fc4693 100644 --- a/dev/integration_tests/ui/pubspec.yaml +++ b/dev/integration_tests/ui/pubspec.yaml @@ -62,7 +62,7 @@ dependencies: test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -81,4 +81,4 @@ dev_dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: 820c +# PUBSPEC CHECKSUM: 6c0d diff --git a/dev/integration_tests/web_e2e_tests/pubspec.yaml b/dev/integration_tests/web_e2e_tests/pubspec.yaml index 94d0f9fdf7..c7e6cbac2c 100644 --- a/dev/integration_tests/web_e2e_tests/pubspec.yaml +++ b/dev/integration_tests/web_e2e_tests/pubspec.yaml @@ -19,7 +19,7 @@ dev_dependencies: sdk: flutter flutter_test: sdk: flutter - integration_test: 0.9.2+1 + integration_test: 0.9.2+2 http: 0.12.2 test: 1.16.0-nullsafety.7 @@ -69,11 +69,11 @@ dev_dependencies: term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" yaml: 2.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" -# PUBSPEC CHECKSUM: 7093 +# PUBSPEC CHECKSUM: 2a95 diff --git a/dev/snippets/pubspec.yaml b/dev/snippets/pubspec.yaml index 2b1bda7bc2..285df55107 100644 --- a/dev/snippets/pubspec.yaml +++ b/dev/snippets/pubspec.yaml @@ -66,7 +66,7 @@ dev_dependencies: stream_channel: 2.1.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -99,4 +99,4 @@ executables: vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" -# PUBSPEC CHECKSUM: 5712 +# PUBSPEC CHECKSUM: 0d13 diff --git a/dev/tools/pubspec.yaml b/dev/tools/pubspec.yaml index ebfd9f0988..b19af3c3d7 100644 --- a/dev/tools/pubspec.yaml +++ b/dev/tools/pubspec.yaml @@ -62,10 +62,10 @@ dev_dependencies: stack_trace: 1.10.0-nullsafety.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" stream_channel: 2.1.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" yaml: 2.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" -# PUBSPEC CHECKSUM: 2d90 +# PUBSPEC CHECKSUM: e291 diff --git a/dev/tracing_tests/pubspec.yaml b/dev/tracing_tests/pubspec.yaml index b553ecc96c..f99ec9f62b 100644 --- a/dev/tracing_tests/pubspec.yaml +++ b/dev/tracing_tests/pubspec.yaml @@ -9,7 +9,7 @@ dependencies: flutter: sdk: flutter - vm_service: 4.2.0 + vm_service: 5.2.0 characters: 1.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" collection: 1.15.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -35,4 +35,4 @@ dev_dependencies: term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" -# PUBSPEC CHECKSUM: 1e15 +# PUBSPEC CHECKSUM: 2716 diff --git a/examples/hello_world/pubspec.yaml b/examples/hello_world/pubspec.yaml index ae5037e3e0..86a9e3db1f 100644 --- a/examples/hello_world/pubspec.yaml +++ b/examples/hello_world/pubspec.yaml @@ -67,11 +67,11 @@ dev_dependencies: term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" yaml: 2.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" -# PUBSPEC CHECKSUM: b4dc +# PUBSPEC CHECKSUM: 8add diff --git a/examples/platform_channel/pubspec.yaml b/examples/platform_channel/pubspec.yaml index 375e8a04bc..7e2de7fbf6 100644 --- a/examples/platform_channel/pubspec.yaml +++ b/examples/platform_channel/pubspec.yaml @@ -67,7 +67,7 @@ dev_dependencies: term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -77,4 +77,4 @@ dev_dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: b4dc +# PUBSPEC CHECKSUM: 8add diff --git a/examples/platform_channel_swift/pubspec.yaml b/examples/platform_channel_swift/pubspec.yaml index aea191f580..2f73edde2b 100644 --- a/examples/platform_channel_swift/pubspec.yaml +++ b/examples/platform_channel_swift/pubspec.yaml @@ -67,7 +67,7 @@ dev_dependencies: term_glyph: 1.2.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" test_core: 0.3.12-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -77,4 +77,4 @@ dev_dependencies: flutter: uses-material-design: true -# PUBSPEC CHECKSUM: b4dc +# PUBSPEC CHECKSUM: 8add diff --git a/packages/_flutter_web_build_script/pubspec.yaml b/packages/_flutter_web_build_script/pubspec.yaml index 9b855f9200..bdf4fe1bc6 100644 --- a/packages/_flutter_web_build_script/pubspec.yaml +++ b/packages/_flutter_web_build_script/pubspec.yaml @@ -83,7 +83,7 @@ dependencies: test: 1.16.0-nullsafety.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" timing: 0.1.1+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -93,4 +93,4 @@ dartdoc: # Exclude this package from the hosted API docs. nodoc: true -# PUBSPEC CHECKSUM: dce5 +# PUBSPEC CHECKSUM: 92e6 diff --git a/packages/flutter_driver/pubspec.yaml b/packages/flutter_driver/pubspec.yaml index 0988e0e36a..5d98535605 100644 --- a/packages/flutter_driver/pubspec.yaml +++ b/packages/flutter_driver/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: file: 6.0.0-nullsafety.3 meta: 1.3.0-nullsafety.5 path: 1.8.0-nullsafety.2 - vm_service: 4.2.0 + vm_service: 5.2.0 webdriver: 2.1.2 flutter: sdk: flutter @@ -49,4 +49,4 @@ dependencies: dev_dependencies: quiver: 2.1.4+1 -# PUBSPEC CHECKSUM: 23ae +# PUBSPEC CHECKSUM: 7eaf diff --git a/packages/flutter_tools/lib/src/isolated/devfs_web.dart b/packages/flutter_tools/lib/src/isolated/devfs_web.dart index c198b949d3..1ebd14fa9f 100644 --- a/packages/flutter_tools/lib/src/isolated/devfs_web.dart +++ b/packages/flutter_tools/lib/src/isolated/devfs_web.dart @@ -37,23 +37,20 @@ import '../project.dart'; import '../web/bootstrap.dart'; import '../web/chrome.dart'; -typedef DwdsLauncher = Future Function({ - @required AssetReader assetReader, - @required Stream buildResults, - @required ConnectionProvider chromeConnection, - @required LoadStrategy loadStrategy, - @required bool enableDebugging, - bool enableDebugExtension, - String hostname, - bool useSseForDebugProxy, - bool useSseForDebugBackend, - bool serveDevTools, - void Function(logging.Level, String) logWriter, - bool verbose, - UrlEncoder urlEncoder, - bool useFileProvider, - ExpressionCompiler expressionCompiler, -}); +typedef DwdsLauncher = Future Function( + {@required AssetReader assetReader, + @required Stream buildResults, + @required ConnectionProvider chromeConnection, + @required LoadStrategy loadStrategy, + @required bool enableDebugging, + ExpressionCompiler expressionCompiler, + bool enableDebugExtension, + String hostname, + bool useSseForDebugProxy, + bool useSseForDebugBackend, + bool serveDevTools, + UrlEncoder urlEncoder, + bool spawnDds}); // A minimal index for projects that do not yet support web. const String _kDefaultIndex = ''' @@ -86,8 +83,9 @@ class WebExpressionCompiler implements ExpressionCompiler { String moduleName, String expression, ) async { - final CompilerOutput compilerOutput = await _generator.compileExpressionToJs(libraryUri, - line, column, jsModules, jsFrameValues, moduleName, expression); + final CompilerOutput compilerOutput = + await _generator.compileExpressionToJs(libraryUri, line, column, + jsModules, jsFrameValues, moduleName, expression); if (compilerOutput != null && compilerOutput.outputFilename != null) { final String content = utf8.decode( @@ -97,8 +95,12 @@ class WebExpressionCompiler implements ExpressionCompiler { } return ExpressionCompilationResult( - 'InternalError: frontend server failed to compile \'$expression\'', true); + 'InternalError: frontend server failed to compile \'$expression\'', + true); } + + @override + Future updateDependencies(Map modules) async => true; } /// A web server which handles serving JavaScript and assets. @@ -129,9 +131,8 @@ class WebAssetServer implements AssetReader { // We skip computing the digest by using the hashCode of the underlying buffer. // Whenever a file is updated, the corresponding Uint8List.view it corresponds // to will change. - final String moduleName = module.startsWith('/') - ? module.substring(1) - : module; + final String moduleName = + module.startsWith('/') ? module.substring(1) : module; final String name = moduleName.replaceAll('.lib.js', ''); final String path = moduleName.replaceAll('.js', ''); _modules[name] = path; @@ -202,48 +203,22 @@ class WebAssetServer implements AssetReader { shelf.serveRequests(httpServer, releaseAssetServer.handle); return server; } - // Return the set of all active modules. This is populated by the - // frontend_server update logic. - Future> moduleProvider(String path) async { - return modules; - } + // Return a version string for all active modules. This is populated // along with the `moduleProvider` update logic. - Future> digestProvider(String path) async { - return digests; - } - // Return the module name for a given server path. These are the names - // used by the browser to request JavaScript files. - String moduleForServerPath(String serverPath) { - if (serverPath.endsWith('.lib.js')) { - serverPath = serverPath.startsWith('/') - ? serverPath.substring(1) - : serverPath; - return serverPath.replaceAll('.lib.js', ''); - } - return null; - } - // Return the server path for modules. These are the JavaScript file names - // output by the frontend_server. - String serverPathForModule(String module) { - return '$module.lib.js'; - } - // Return the server path for modules or resources that have an - // org-dartlang-app scheme. - String serverPathForAppUri(String appUri) { - if (appUri.startsWith('org-dartlang-app:')) { - return Uri.parse(appUri).path.substring(1); - } - return null; - } + Future> _digestProvider() async => digests; + // Ensure dwds is present and provide middleware to avoid trying to // load the through the isolate APIs. - final Directory directory = await _loadDwdsDirectory(globals.fs, globals.logger); - final shelf.Middleware middleware = (FutureOr Function(shelf.Request) innerHandler) { + final Directory directory = + await _loadDwdsDirectory(globals.fs, globals.logger); + final shelf.Middleware middleware = + (FutureOr Function(shelf.Request) innerHandler) { return (shelf.Request request) async { if (request.url.path.endsWith('dwds/src/injected/client.js')) { final Uri uri = directory.uri.resolve('src/injected/client.js'); - final String result = await globals.fs.file(uri.toFilePath()).readAsString(); + final String result = + await globals.fs.file(uri.toFilePath()).readAsString(); return shelf.Response.ok(result, headers: { HttpHeaders.contentTypeHeader: 'application/javascript' }); @@ -252,43 +227,39 @@ class WebAssetServer implements AssetReader { }; }; + logging.Logger.root.onRecord.listen((logging.LogRecord event) { + globals.printTrace('${event.loggerName}: ${event.message}'); + }); + // In debug builds, spin up DWDS and the full asset server. final Dwds dwds = await dwdsLauncher( - assetReader: server, - enableDebugExtension: true, - buildResults: const Stream.empty(), - chromeConnection: () async { - final Chromium chromium = await chromiumLauncher.connectedInstance; - return chromium.chromeConnection; - }, - hostname: hostname, - urlEncoder: urlTunneller, - enableDebugging: true, - useSseForDebugProxy: useSseForDebugProxy, - useSseForDebugBackend: useSseForDebugBackend, - serveDevTools: false, - logWriter: (logging.Level logLevel, String message) => globals.printTrace(message), - loadStrategy: RequireStrategy( - ReloadConfiguration.none, - '.lib.js', - moduleProvider, - digestProvider, - moduleForServerPath, - serverPathForModule, - serverPathForAppUri, - ), - useFileProvider: true, - expressionCompiler: expressionCompiler - ); + assetReader: server, + enableDebugExtension: true, + buildResults: const Stream.empty(), + chromeConnection: () async { + final Chromium chromium = await chromiumLauncher.connectedInstance; + return chromium.chromeConnection; + }, + hostname: hostname, + urlEncoder: urlTunneller, + enableDebugging: true, + useSseForDebugProxy: useSseForDebugProxy, + useSseForDebugBackend: useSseForDebugBackend, + serveDevTools: false, + loadStrategy: FrontendServerRequireStrategyProvider( + ReloadConfiguration.none, server, _digestProvider) + .strategy, + expressionCompiler: expressionCompiler, + spawnDds: true); shelf.Pipeline pipeline = const shelf.Pipeline(); if (enableDwds) { pipeline = pipeline.addMiddleware(middleware); pipeline = pipeline.addMiddleware(dwds.middleware); } - final shelf.Handler dwdsHandler = pipeline.addHandler(server.handleRequest); - final shelf.Cascade cascade = shelf.Cascade() - .add(dwds.handler) - .add(dwdsHandler); + final shelf.Handler dwdsHandler = + pipeline.addHandler(server.handleRequest); + final shelf.Cascade cascade = + shelf.Cascade().add(dwds.handler).add(dwdsHandler); shelf.serveRequests(httpServer, cascade.handler); server.dwds = dwds; return server; @@ -325,6 +296,7 @@ class WebAssetServer implements AssetReader { Uint8List getMetadata(String path) => _metadataFiles[path]; @visibleForTesting + /// The base path to serve from. /// /// It should have no leading or trailing slashes. @@ -357,9 +329,10 @@ class WebAssetServer implements AssetReader { // If this is a JavaScript file, it must be in the in-memory cache. // Attempt to look up the file by URI. - final String webServerPath = requestPath.replaceFirst('.dart.js', '.dart.lib.js'); + final String webServerPath = + requestPath.replaceFirst('.dart.js', '.dart.lib.js'); if (_files.containsKey(requestPath) || _files.containsKey(webServerPath)) { - final List bytes = getFile(requestPath) ?? getFile(webServerPath); + final List bytes = getFile(requestPath) ?? getFile(webServerPath); // Use the underlying buffer hashCode as a revision string. This buffer is // replaced whenever the frontend_server produces new output files, which // will also change the hashCode. @@ -405,15 +378,18 @@ class WebAssetServer implements AssetReader { // If all of the lookups above failed, the file might have been an asset. // Try and resolve the path relative to the built asset directory. if (!file.existsSync()) { - final Uri potential = globals.fs.directory(getAssetBuildDirectory()) - .uri.resolve(requestPath.replaceFirst('assets/', '')); + final Uri potential = globals.fs + .directory(getAssetBuildDirectory()) + .uri + .resolve(requestPath.replaceFirst('assets/', '')); file = globals.fs.file(potential); } if (!file.existsSync()) { final Uri webPath = globals.fs.currentDirectory - .childDirectory('web') - .uri.resolve(requestPath); + .childDirectory('web') + .uri + .resolve(requestPath); file = globals.fs.file(webPath); } @@ -428,8 +404,8 @@ class WebAssetServer implements AssetReader { // For real files, use a serialized file stat plus path as a revision. // This allows us to update between canvaskit and non-canvaskit SDKs. - final String etag = file.lastModifiedSync().toIso8601String() - + Uri.encodeComponent(file.path); + final String etag = file.lastModifiedSync().toIso8601String() + + Uri.encodeComponent(file.path); if (ifNoneMatch == etag) { return shelf.Response.notModified(); } @@ -470,24 +446,26 @@ class WebAssetServer implements AssetReader { /// /// Returns a list of updated modules. List write( - File codeFile, - File manifestFile, - File sourcemapFile, - File metadataFile) { + File codeFile, File manifestFile, File sourcemapFile, File metadataFile) { final List modules = []; final Uint8List codeBytes = codeFile.readAsBytesSync(); final Uint8List sourcemapBytes = sourcemapFile.readAsBytesSync(); final Uint8List metadataBytes = metadataFile.readAsBytesSync(); - final Map manifest = castStringKeyedMap(json.decode(manifestFile.readAsStringSync())); + final Map manifest = + castStringKeyedMap(json.decode(manifestFile.readAsStringSync())); for (final String filePath in manifest.keys) { if (filePath == null) { - globals.printTrace('Invalid manfiest file: $filePath'); + globals.printTrace('Invalid manifest file: $filePath'); continue; } - final Map offsets = castStringKeyedMap(manifest[filePath]); - final List codeOffsets = (offsets['code'] as List).cast(); - final List sourcemapOffsets = (offsets['sourcemap'] as List).cast(); - final List metadataOffsets = (offsets['metadata'] as List).cast(); + final Map offsets = + castStringKeyedMap(manifest[filePath]); + final List codeOffsets = + (offsets['code'] as List).cast(); + final List sourcemapOffsets = + (offsets['sourcemap'] as List).cast(); + final List metadataOffsets = + (offsets['metadata'] as List).cast(); if (codeOffsets.length != 2 || sourcemapOffsets.length != 2 || metadataOffsets.length != 2) { @@ -506,15 +484,15 @@ class WebAssetServer implements AssetReader { codeStart, codeEnd - codeStart, ); - final String fileName = filePath.startsWith('/') - ? filePath.substring(1) - : filePath; + final String fileName = + filePath.startsWith('/') ? filePath.substring(1) : filePath; _files[fileName] = byteView; final int sourcemapStart = sourcemapOffsets[0]; final int sourcemapEnd = sourcemapOffsets[1]; if (sourcemapStart < 0 || sourcemapEnd > sourcemapBytes.lengthInBytes) { - globals.printTrace('Invalid byte index: [$sourcemapStart, $sourcemapEnd]'); + globals + .printTrace('Invalid byte index: [$sourcemapStart, $sourcemapEnd]'); continue; } final Uint8List sourcemapView = Uint8List.view( @@ -528,7 +506,8 @@ class WebAssetServer implements AssetReader { final int metadataStart = metadataOffsets[0]; final int metadataEnd = metadataOffsets[1]; if (metadataStart < 0 || metadataEnd > metadataBytes.lengthInBytes) { - globals.printTrace('Invalid byte index: [$metadataStart, $metadataEnd]'); + globals + .printTrace('Invalid byte index: [$metadataStart, $metadataEnd]'); continue; } final Uint8List metadataView = Uint8List.view( @@ -543,8 +522,8 @@ class WebAssetServer implements AssetReader { } _mergedMetadata = _metadataFiles.values - .map((Uint8List encoded) => utf8.decode(encoded)) - .join('\n'); + .map((Uint8List encoded) => utf8.decode(encoded)) + .join('\n'); return modules; } @@ -557,11 +536,12 @@ class WebAssetServer implements AssetReader { HttpHeaders.contentTypeHeader: 'text/html', }; final File indexFile = globals.fs.currentDirectory - .childDirectory('web') - .childFile('index.html'); + .childDirectory('web') + .childFile('index.html'); if (indexFile.existsSync()) { - headers[HttpHeaders.contentLengthHeader] = indexFile.lengthSync().toString(); + headers[HttpHeaders.contentLengthHeader] = + indexFile.lengthSync().toString(); return shelf.Response.ok(indexFile.openRead(), headers: headers); } @@ -576,23 +556,30 @@ class WebAssetServer implements AssetReader { case 'dart_sdk.js': if (_buildInfo.nullSafetyMode == NullSafetyMode.unsound) { return globals.fs.file(canvasKitRendering - ? globals.artifacts.getArtifactPath(Artifact.webPrecompiledCanvaskitSdk) - : globals.artifacts.getArtifactPath(Artifact.webPrecompiledSdk)); + ? globals.artifacts + .getArtifactPath(Artifact.webPrecompiledCanvaskitSdk) + : globals.artifacts.getArtifactPath(Artifact.webPrecompiledSdk)); } else { return globals.fs.file(canvasKitRendering - ? globals.artifacts.getArtifactPath(Artifact.webPrecompiledCanvaskitSoundSdk) - : globals.artifacts.getArtifactPath(Artifact.webPrecompiledSoundSdk)); + ? globals.artifacts + .getArtifactPath(Artifact.webPrecompiledCanvaskitSoundSdk) + : globals.artifacts + .getArtifactPath(Artifact.webPrecompiledSoundSdk)); } break; case 'dart_sdk.js.map': if (_buildInfo.nullSafetyMode == NullSafetyMode.unsound) { return globals.fs.file(canvasKitRendering - ? globals.artifacts.getArtifactPath(Artifact.webPrecompiledCanvaskitSdkSourcemaps) - : globals.artifacts.getArtifactPath(Artifact.webPrecompiledSdkSourcemaps)); + ? globals.artifacts.getArtifactPath( + Artifact.webPrecompiledCanvaskitSdkSourcemaps) + : globals.artifacts + .getArtifactPath(Artifact.webPrecompiledSdkSourcemaps)); } else { return globals.fs.file(canvasKitRendering - ? globals.artifacts.getArtifactPath(Artifact.webPrecompiledCanvaskitSoundSdkSourcemaps) - : globals.artifacts.getArtifactPath(Artifact.webPrecompiledSoundSdkSourcemaps)); + ? globals.artifacts.getArtifactPath( + Artifact.webPrecompiledCanvaskitSoundSdkSourcemaps) + : globals.artifacts + .getArtifactPath(Artifact.webPrecompiledSoundSdkSourcemaps)); } } // This is the special generated entrypoint. @@ -603,7 +590,8 @@ class WebAssetServer implements AssetReader { // If this is a dart file, it must be on the local file system and is // likely coming from a source map request. The tool doesn't currently // consider the case of Dart files as assets. - final File dartFile = globals.fs.file(globals.fs.currentDirectory.uri.resolve(path)); + final File dartFile = + globals.fs.file(globals.fs.currentDirectory.uri.resolve(path)); if (dartFile.existsSync()) { return dartFile; } @@ -616,8 +604,8 @@ class WebAssetServer implements AssetReader { // The file might have been a package file which is signaled by a // `/packages//` request. if (segments.first == 'packages') { - final Uri filePath = _packages.resolve(Uri( - scheme: 'package', pathSegments: segments.skip(1))); + final Uri filePath = _packages + .resolve(Uri(scheme: 'package', pathSegments: segments.skip(1))); if (filePath != null) { final File packageFile = globals.fs.file(filePath); if (packageFile.existsSync()) { @@ -628,15 +616,16 @@ class WebAssetServer implements AssetReader { // Otherwise it must be a Dart SDK source or a Flutter Web SDK source. final Directory dartSdkParent = globals.fs - .directory(globals.artifacts.getArtifactPath(Artifact.engineDartSdkPath)) - .parent; + .directory( + globals.artifacts.getArtifactPath(Artifact.engineDartSdkPath)) + .parent; final File dartSdkFile = globals.fs.file(dartSdkParent.uri.resolve(path)); if (dartSdkFile.existsSync()) { return dartSdkFile; } - final Directory flutterWebSdk = globals.fs.directory(globals.artifacts - .getArtifactPath(Artifact.flutterWebSdk)); + final Directory flutterWebSdk = globals.fs + .directory(globals.artifacts.getArtifactPath(Artifact.flutterWebSdk)); final File webSdkFile = globals.fs.file(flutterWebSdk.uri.resolve(path)); return webSdkFile; @@ -666,6 +655,9 @@ class WebAssetServer implements AssetReader { } return null; } + + @override + Future close() async {} } class ConnectionResult { @@ -722,16 +714,20 @@ class WebDevFS implements DevFS { /// /// Only calls [AppConnection.runMain] on the subsequent connections. Future connect(bool useDebugExtension) { - final Completer firstConnection = Completer(); - _connectedApps = dwds.connectedApps.listen((AppConnection appConnection) async { + final Completer firstConnection = + Completer(); + _connectedApps = + dwds.connectedApps.listen((AppConnection appConnection) async { try { final DebugConnection debugConnection = useDebugExtension - ? await (_cachedExtensionFuture ??= dwds.extensionDebugConnections.stream.first) - : await dwds.debugConnection(appConnection); + ? await (_cachedExtensionFuture ??= + dwds.extensionDebugConnections.stream.first) + : await dwds.debugConnection(appConnection); if (firstConnection.isCompleted) { appConnection.runMain(); } else { - firstConnection.complete(ConnectionResult(appConnection, debugConnection)); + firstConnection + .complete(ConnectionResult(appConnection, debugConnection)); } } on Exception catch (error, stackTrace) { if (!firstConnection.isCompleted) { @@ -739,7 +735,8 @@ class WebDevFS implements DevFS { } } }, onError: (dynamic error, StackTrace stackTrace) { - globals.printError('Unknown error while waiting for debug connection:$error\n$stackTrace'); + globals.printError( + 'Unknown error while waiting for debug connection:$error\n$stackTrace'); if (!firstConnection.isCompleted) { firstConnection.completeError(error, stackTrace); } @@ -831,15 +828,20 @@ class WebDevFS implements DevFS { final String outputDirectoryPath = mainFile.parent.path; if (bundleFirstUpload) { - webAssetServer.entrypointCacheDirectory = globals.fs.directory(outputDirectoryPath); + webAssetServer.entrypointCacheDirectory = + globals.fs.directory(outputDirectoryPath); generator.addFileSystemRoot(outputDirectoryPath); final String entrypoint = globals.fs.path.basename(mainFile.path); webAssetServer.writeBytes(entrypoint, mainFile.readAsBytesSync()); webAssetServer.writeBytes('require.js', requireJS.readAsBytesSync()); - webAssetServer.writeBytes('stack_trace_mapper.js', stackTraceMapper.readAsBytesSync()); - webAssetServer.writeFile('manifest.json', '{"info":"manifest not generated in run mode."}'); - webAssetServer.writeFile('flutter_service_worker.js', '// Service worker not loaded in run mode.'); - webAssetServer.writeFile('version.json', FlutterProject.current().getVersionInfo()); + webAssetServer.writeBytes( + 'stack_trace_mapper.js', stackTraceMapper.readAsBytesSync()); + webAssetServer.writeFile( + 'manifest.json', '{"info":"manifest not generated in run mode."}'); + webAssetServer.writeFile('flutter_service_worker.js', + '// Service worker not loaded in run mode.'); + webAssetServer.writeFile( + 'version.json', FlutterProject.current().getVersionInfo()); webAssetServer.writeFile( 'main.dart.js', generateBootstrapScript( @@ -895,12 +897,18 @@ class WebDevFS implements DevFS { File metadataFile; List modules; try { - final Directory parentDirectory = globals.fs.directory(outputDirectoryPath); - codeFile = parentDirectory.childFile('${compilerOutput.outputFilename}.sources'); - manifestFile = parentDirectory.childFile('${compilerOutput.outputFilename}.json'); - sourcemapFile = parentDirectory.childFile('${compilerOutput.outputFilename}.map'); - metadataFile = parentDirectory.childFile('${compilerOutput.outputFilename}.metadata'); - modules = webAssetServer.write(codeFile, manifestFile, sourcemapFile, metadataFile); + final Directory parentDirectory = + globals.fs.directory(outputDirectoryPath); + codeFile = + parentDirectory.childFile('${compilerOutput.outputFilename}.sources'); + manifestFile = + parentDirectory.childFile('${compilerOutput.outputFilename}.json'); + sourcemapFile = + parentDirectory.childFile('${compilerOutput.outputFilename}.map'); + metadataFile = parentDirectory + .childFile('${compilerOutput.outputFilename}.metadata'); + modules = webAssetServer.write( + codeFile, manifestFile, sourcemapFile, metadataFile); } on FileSystemException catch (err) { throwToolExit('Failed to load recompiled sources:\n$err'); } @@ -938,17 +946,19 @@ class WebDevFS implements DevFS { } class ReleaseAssetServer { - ReleaseAssetServer(this.entrypoint, { + ReleaseAssetServer( + this.entrypoint, { @required FileSystem fileSystem, @required String webBuildDirectory, @required String flutterRoot, @required Platform platform, this.basePath = '', - }) : _fileSystem = fileSystem, - _platform = platform, - _flutterRoot = flutterRoot, - _webBuildDirectory = webBuildDirectory, - _fileSystemUtils = FileSystemUtils(fileSystem: fileSystem, platform: platform); + }) : _fileSystem = fileSystem, + _platform = platform, + _flutterRoot = flutterRoot, + _webBuildDirectory = webBuildDirectory, + _fileSystemUtils = + FileSystemUtils(fileSystem: fileSystem, platform: platform); final Uri entrypoint; final String _flutterRoot; @@ -958,6 +968,7 @@ class ReleaseAssetServer { final Platform _platform; @visibleForTesting + /// The base path to serve from. /// /// It should have no leading or trailing slashes. @@ -965,12 +976,12 @@ class ReleaseAssetServer { // Locations where source files, assets, or source maps may be located. List _searchPaths() => [ - _fileSystem.directory(_webBuildDirectory).uri, - _fileSystem.directory(_flutterRoot).uri, - _fileSystem.directory(_flutterRoot).parent.uri, - _fileSystem.currentDirectory.uri, - _fileSystem.directory(_fileSystemUtils.homeDirPath).uri, - ]; + _fileSystem.directory(_webBuildDirectory).uri, + _fileSystem.directory(_flutterRoot).uri, + _fileSystem.directory(_flutterRoot).parent.uri, + _fileSystem.currentDirectory.uri, + _fileSystem.directory(_fileSystemUtils.homeDirPath).uri, + ]; Future handle(shelf.Request request) async { if (request.method != 'GET') { @@ -990,8 +1001,9 @@ class ReleaseAssetServer { } else { for (final Uri uri in _searchPaths()) { final Uri potential = uri.resolve(requestPath); - if (potential == null || !_fileSystem.isFileSync( - potential.toFilePath(windows: _platform.isWindows))) { + if (potential == null || + !_fileSystem.isFileSync( + potential.toFilePath(windows: _platform.isWindows))) { continue; } fileUri = potential; @@ -1003,24 +1015,28 @@ class ReleaseAssetServer { final Uint8List bytes = file.readAsBytesSync(); // Fallback to "application/octet-stream" on null which // makes no claims as to the structure of the data. - final String mimeType = mime.lookupMimeType(file.path, headerBytes: bytes) - ?? 'application/octet-stream'; + final String mimeType = + mime.lookupMimeType(file.path, headerBytes: bytes) ?? + 'application/octet-stream'; return shelf.Response.ok(bytes, headers: { 'Content-Type': mimeType, }); } - final File file = _fileSystem.file(_fileSystem.path.join(_webBuildDirectory, 'index.html')); + final File file = _fileSystem + .file(_fileSystem.path.join(_webBuildDirectory, 'index.html')); return shelf.Response.ok(file.readAsBytesSync(), headers: { 'Content-Type': 'text/html', }); } } -Future _loadDwdsDirectory(FileSystem fileSystem, Logger logger) async { - final String toolPackagePath = fileSystem.path.join( - Cache.flutterRoot, 'packages', 'flutter_tools'); - final String packageFilePath = fileSystem.path.join(toolPackagePath, kPackagesFileName); +Future _loadDwdsDirectory( + FileSystem fileSystem, Logger logger) async { + final String toolPackagePath = + fileSystem.path.join(Cache.flutterRoot, 'packages', 'flutter_tools'); + final String packageFilePath = + fileSystem.path.join(toolPackagePath, kPackagesFileName); final PackageConfig packageConfig = await loadPackageConfigWithLogging( fileSystem.file(packageFilePath), logger: logger, @@ -1054,13 +1070,13 @@ String _stripTrailingSlashes(String path) { } String _parseBasePathFromIndexHtml(File indexHtml) { - final String htmlContent = indexHtml.existsSync() - ? indexHtml.readAsStringSync() - : _kDefaultIndex; + final String htmlContent = + indexHtml.existsSync() ? indexHtml.readAsStringSync() : _kDefaultIndex; final Document document = parse(htmlContent); final Element baseElement = document.querySelector('base'); - String baseHref = baseElement?.attributes == null ? null : baseElement.attributes['href']; + String baseHref = + baseElement?.attributes == null ? null : baseElement.attributes['href']; if (baseHref == null) { baseHref = ''; diff --git a/packages/flutter_tools/pubspec.yaml b/packages/flutter_tools/pubspec.yaml index fef79a2690..77e9b181ba 100644 --- a/packages/flutter_tools/pubspec.yaml +++ b/packages/flutter_tools/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: archive: 2.0.13 args: 1.6.0 dds: 1.4.1 - dwds: 6.0.0 + dwds: 7.0.0 completion: 0.2.2 coverage: 0.14.1 crypto: 2.1.5 @@ -49,7 +49,7 @@ dependencies: mime: 0.9.7 logging: 0.11.4 http_multi_server: 2.2.0 - devtools_server: 0.8.0+3 + devtools_server: 0.9.3+4 convert: 2.1.1 async: 2.5.0-nullsafety.2 @@ -59,7 +59,7 @@ dependencies: test_api: 0.2.19-nullsafety.4 test_core: 0.3.12-nullsafety.7 - vm_service: 4.2.0 + vm_service: 5.2.0 _fe_analyzer_shared: 7.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" analyzer: 0.39.17 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -71,8 +71,8 @@ dependencies: cli_util: 0.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" clock: 1.1.0-nullsafety.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" csslib: 0.16.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - devtools: 0.8.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - devtools_shared: 0.8.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + devtools: 0.9.3+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + devtools_shared: 0.9.3+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" fixnum: 0.10.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" glob: 1.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" http_parser: 3.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" @@ -113,4 +113,4 @@ dartdoc: # Exclude this package from the hosted API docs. nodoc: true -# PUBSPEC CHECKSUM: 3206 +# PUBSPEC CHECKSUM: b417 diff --git a/packages/flutter_tools/test/commands.shard/hermetic/attach_test.dart b/packages/flutter_tools/test/commands.shard/hermetic/attach_test.dart index 5382530ff6..582f18130e 100644 --- a/packages/flutter_tools/test/commands.shard/hermetic/attach_test.dart +++ b/packages/flutter_tools/test/commands.shard/hermetic/attach_test.dart @@ -47,6 +47,7 @@ final vm_service.Isolate fakeUnpausedIsolate = vm_service.Isolate( pauseOnExit: false, runnable: true, startTime: 0, + isSystemIsolate: false, ); void main() { diff --git a/packages/flutter_tools/test/general.shard/drive/drive_service_test.dart b/packages/flutter_tools/test/general.shard/drive/drive_service_test.dart index d1cf1e7a6f..1bf59dae19 100644 --- a/packages/flutter_tools/test/general.shard/drive/drive_service_test.dart +++ b/packages/flutter_tools/test/general.shard/drive/drive_service_test.dart @@ -42,6 +42,7 @@ final vm_service.Isolate fakeUnpausedIsolate = vm_service.Isolate( pauseOnExit: false, runnable: true, startTime: 0, + isSystemIsolate: false, ); final vm_service.Isolate fakePausedIsolate = vm_service.Isolate( @@ -69,6 +70,7 @@ final vm_service.Isolate fakePausedIsolate = vm_service.Isolate( pauseOnExit: false, runnable: true, startTime: 0, + isSystemIsolate: false, ); final vm_service.VM fakeVM = vm_service.VM( @@ -82,6 +84,8 @@ final vm_service.VM fakeVM = vm_service.VM( architectureBits: 64, operatingSystem: '', version: '', + systemIsolateGroups: [], + systemIsolates: [], ); final FlutterView fakeFlutterView = FlutterView( diff --git a/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart b/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart index 47f07c9612..3d5ecbdbe0 100644 --- a/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart +++ b/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart @@ -55,6 +55,7 @@ final vm_service.Isolate fakeIsolate = vm_service.Isolate( pauseOnExit: false, runnable: true, startTime: 0, + isSystemIsolate: false, ); void main() { diff --git a/packages/flutter_tools/test/general.shard/hot_test.dart b/packages/flutter_tools/test/general.shard/hot_test.dart index db6acba1ab..cb29b1e6a6 100644 --- a/packages/flutter_tools/test/general.shard/hot_test.dart +++ b/packages/flutter_tools/test/general.shard/hot_test.dart @@ -37,6 +37,7 @@ final vm_service.Isolate fakeUnpausedIsolate = vm_service.Isolate( pauseOnExit: false, runnable: true, startTime: 0, + isSystemIsolate: false, ); final FlutterView fakeFlutterView = FlutterView( diff --git a/packages/flutter_tools/test/general.shard/ios/fallback_discovery_test.dart b/packages/flutter_tools/test/general.shard/ios/fallback_discovery_test.dart index ff7db18a91..45130ec0e3 100644 --- a/packages/flutter_tools/test/general.shard/ios/fallback_discovery_test.dart +++ b/packages/flutter_tools/test/general.shard/ios/fallback_discovery_test.dart @@ -97,6 +97,7 @@ void main() { id: 'a', name: 'isolate', number: '1', + isSystemIsolate: false, ), ]; }); diff --git a/packages/flutter_tools/test/general.shard/resident_runner_test.dart b/packages/flutter_tools/test/general.shard/resident_runner_test.dart index 8d236c8862..38d873d405 100644 --- a/packages/flutter_tools/test/general.shard/resident_runner_test.dart +++ b/packages/flutter_tools/test/general.shard/resident_runner_test.dart @@ -56,6 +56,7 @@ final vm_service.Isolate fakeUnpausedIsolate = vm_service.Isolate( pauseOnExit: false, runnable: true, startTime: 0, + isSystemIsolate: false, ); final vm_service.Isolate fakePausedIsolate = vm_service.Isolate( @@ -83,6 +84,7 @@ final vm_service.Isolate fakePausedIsolate = vm_service.Isolate( pauseOnExit: false, runnable: true, startTime: 0, + isSystemIsolate: false, ); final vm_service.VM fakeVM = vm_service.VM( @@ -96,6 +98,8 @@ final vm_service.VM fakeVM = vm_service.VM( architectureBits: 64, operatingSystem: '', version: '', + systemIsolateGroups: [], + systemIsolates: [], ); final FlutterView fakeFlutterView = FlutterView( diff --git a/packages/flutter_tools/test/general.shard/tracing_test.dart b/packages/flutter_tools/test/general.shard/tracing_test.dart index faf4ef671c..c0321b13b0 100644 --- a/packages/flutter_tools/test/general.shard/tracing_test.dart +++ b/packages/flutter_tools/test/general.shard/tracing_test.dart @@ -34,6 +34,7 @@ final vm_service.Isolate fakeUnpausedIsolate = vm_service.Isolate( pauseOnExit: false, runnable: true, startTime: 0, + isSystemIsolate: false, ); final FlutterView fakeFlutterView = FlutterView( diff --git a/packages/fuchsia_remote_debug_protocol/pubspec.yaml b/packages/fuchsia_remote_debug_protocol/pubspec.yaml index 0017209579..42f75300cd 100644 --- a/packages/fuchsia_remote_debug_protocol/pubspec.yaml +++ b/packages/fuchsia_remote_debug_protocol/pubspec.yaml @@ -41,7 +41,7 @@ dependencies: test_api: 0.2.19-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" typed_data: 1.3.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.1.0-nullsafety.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" - vm_service: 4.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" + vm_service: 5.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" webdriver: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" dev_dependencies: @@ -79,4 +79,4 @@ dev_dependencies: webkit_inspection_protocol: 0.7.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" yaml: 2.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" -# PUBSPEC CHECKSUM: 81ce +# PUBSPEC CHECKSUM: 57cf