diff --git a/dwds/lib/src/services/chrome_proxy_service.dart b/dwds/lib/src/services/chrome_proxy_service.dart index 82c3bfaf4..221beac56 100644 --- a/dwds/lib/src/services/chrome_proxy_service.dart +++ b/dwds/lib/src/services/chrome_proxy_service.dart @@ -1049,6 +1049,13 @@ ${globalLoadStrategy.loadModuleSnippet}("dart_sdk").developer.invokeExtension( // TODO(https://github.com/dart-lang/webdev/issues/1446): implement. throw UnimplementedError(); } + + /// Prevent DWDS from blocking Dart SDK rolls if changes in package:vm_service + /// are unimplemented in DWDS. + @override + dynamic noSuchMethod(Invocation invocation) { + return super.noSuchMethod(invocation); + } } /// The `type`s of [ConsoleAPIEvent]s that are treated as `stderr` logs. diff --git a/dwds/pubspec.yaml b/dwds/pubspec.yaml index dc511b34f..0152403b5 100644 --- a/dwds/pubspec.yaml +++ b/dwds/pubspec.yaml @@ -32,8 +32,7 @@ dependencies: stack_trace: ^1.10.0 sse: ^4.1.0 uuid: '>=2.0.0 <4.0.0' - # We pin the version because we implement the interface. - vm_service: 7.4.0 + vm_service: ^7.4.0 web_socket_channel: ^2.0.0 webkit_inspection_protocol: ^1.0.0