Upgrade Flutter deps to pull in latest vm_service and dwds (#136734)
Generated by running `flutter update-packages --force-upgrade` Updates vm_service to [12.0.0](https://pub.dev/packages/vm_service/versions/12.0.0) and dwds to [22.0.0](https://pub.dev/packages/dwds/versions/22.0.0) The changes to `packages/flutter_tools/lib/src/isolated/devfs_web.dart` are for the new interface of DWDS introduced in https://github.com/dart-lang/webdev/pull/2243 FYI @bkonyi
This commit is contained in:
@@ -47,22 +47,7 @@ typedef DwdsLauncher = Future<Dwds> Function({
|
||||
required AssetReader assetReader,
|
||||
required Stream<BuildResult> buildResults,
|
||||
required ConnectionProvider chromeConnection,
|
||||
required LoadStrategy loadStrategy,
|
||||
required bool enableDebugging,
|
||||
ExpressionCompiler? expressionCompiler,
|
||||
bool enableDebugExtension,
|
||||
String hostname,
|
||||
bool useSseForDebugProxy,
|
||||
bool useSseForDebugBackend,
|
||||
bool useSseForInjectedClient,
|
||||
UrlEncoder? urlEncoder,
|
||||
bool spawnDds,
|
||||
bool enableDevtoolsLaunch,
|
||||
DevtoolsLauncher? devtoolsLauncher,
|
||||
bool launchDevToolsInNewWindow,
|
||||
bool emitDebugEvents,
|
||||
bool isInternalBuild,
|
||||
Future<bool> Function()? isFlutterApp,
|
||||
required ToolConfiguration toolConfiguration,
|
||||
});
|
||||
|
||||
// A minimal index for projects that do not yet support web.
|
||||
@@ -283,19 +268,13 @@ class WebAssetServer implements AssetReader {
|
||||
// In debug builds, spin up DWDS and the full asset server.
|
||||
final Dwds dwds = await dwdsLauncher(
|
||||
assetReader: server,
|
||||
enableDebugExtension: true,
|
||||
buildResults: const Stream<BuildResult>.empty(),
|
||||
chromeConnection: () async {
|
||||
final Chromium chromium = await chromiumLauncher!.connectedInstance;
|
||||
return chromium.chromeConnection;
|
||||
},
|
||||
hostname: hostname,
|
||||
urlEncoder: urlTunneller,
|
||||
enableDebugging: true,
|
||||
useSseForDebugProxy: useSseForDebugProxy,
|
||||
useSseForDebugBackend: useSseForDebugBackend,
|
||||
useSseForInjectedClient: useSseForInjectedClient,
|
||||
loadStrategy: FrontendServerRequireStrategyProvider(
|
||||
toolConfiguration: ToolConfiguration(
|
||||
loadStrategy: FrontendServerRequireStrategyProvider(
|
||||
ReloadConfiguration.none,
|
||||
server,
|
||||
PackageUriMapper(packageConfig),
|
||||
@@ -304,8 +283,17 @@ class WebAssetServer implements AssetReader {
|
||||
globals.fs.file(entrypoint).absolute.uri,
|
||||
),
|
||||
).strategy,
|
||||
expressionCompiler: expressionCompiler,
|
||||
spawnDds: enableDds,
|
||||
debugSettings: DebugSettings(
|
||||
enableDebugExtension: true,
|
||||
urlEncoder: urlTunneller,
|
||||
useSseForDebugProxy: useSseForDebugProxy,
|
||||
useSseForDebugBackend: useSseForDebugBackend,
|
||||
useSseForInjectedClient: useSseForInjectedClient,
|
||||
expressionCompiler: expressionCompiler,
|
||||
spawnDds: enableDds,
|
||||
),
|
||||
appMetadata: AppMetadata(hostname: hostname),
|
||||
),
|
||||
);
|
||||
shelf.Pipeline pipeline = const shelf.Pipeline();
|
||||
if (enableDwds) {
|
||||
|
||||
@@ -11,7 +11,7 @@ dependencies:
|
||||
args: 2.4.2
|
||||
browser_launcher: 1.1.1
|
||||
dds: 2.11.1
|
||||
dwds: 21.0.0
|
||||
dwds: 22.0.0
|
||||
completion: 1.0.1
|
||||
coverage: 1.6.4
|
||||
crypto: 3.0.3
|
||||
@@ -59,9 +59,9 @@ dependencies:
|
||||
# 'test' package, which change between versions, so when upgrading
|
||||
# this, make sure the tests are still running correctly.
|
||||
test_api: 0.6.1
|
||||
test_core: 0.5.7
|
||||
test_core: 0.5.8
|
||||
|
||||
vm_service: 11.10.0
|
||||
vm_service: 12.0.0
|
||||
|
||||
standard_message_codec: 0.0.1+4
|
||||
|
||||
@@ -73,8 +73,8 @@ dependencies:
|
||||
clock: 1.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
csslib: 1.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
dap: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
dds_service_extensions: 1.6.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
devtools_shared: 4.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
dds_service_extensions: 1.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
devtools_shared: 4.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
extension_discovery: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
fixnum: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
frontend_server_client: 3.2.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
@@ -107,10 +107,10 @@ dev_dependencies:
|
||||
checked_yaml: 2.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
json_annotation: 4.8.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
node_preamble: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
test: 1.24.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
test: 1.24.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
|
||||
dartdoc:
|
||||
# Exclude this package from the hosted API docs.
|
||||
nodoc: true
|
||||
|
||||
# PUBSPEC CHECKSUM: dad1
|
||||
# PUBSPEC CHECKSUM: 05a5
|
||||
|
||||
Reference in New Issue
Block a user