File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 10
10
- Updated ` vm_service ` constraint to ^14.3.0.
11
11
- [ DAP] Updated ` dap ` constraint to ^1.4.0.
12
12
- [ DAP] Set ` supportsANSIStyling ` to ` true ` in debug adapter capabilities to indicate that ` Output ` events might contain ansi color codes.
13
+ - Update to be forward compatible with ` package:shelf_web_socket ` version ` 3.x ` .
13
14
14
15
# 4.2.7
15
16
- Added a new constant ` RpcErrorCodes.kConnectionDisposed = -32010 ` for requests
Original file line number Diff line number Diff line change @@ -343,7 +343,9 @@ class DartDevelopmentServiceImpl implements DartDevelopmentService {
343
343
.add (_httpHandler ());
344
344
}
345
345
346
- Handler _webSocketHandler () => webSocketHandler ((WebSocketChannel ws) {
346
+ // Note: the WebSocketChannel type below is needed for compatibility with
347
+ // package:shelf_web_socket v2.
348
+ Handler _webSocketHandler () => webSocketHandler ((WebSocketChannel ws, _) {
347
349
final client = DartDevelopmentServiceClient .fromWebSocket (
348
350
this ,
349
351
ws,
Original file line number Diff line number Diff line change @@ -313,7 +313,9 @@ class DartToolingDaemon {
313
313
return innerHandler (request);
314
314
};
315
315
316
- Handler _webSocketHandler () => webSocketHandler ((WebSocketChannel ws) {
316
+ // Note: the WebSocketChannel type below is needed for compatibility with
317
+ // package:shelf_web_socket v2.
318
+ Handler _webSocketHandler () => webSocketHandler ((WebSocketChannel ws, _) {
317
319
final client = DTDClient .fromWebSocket (
318
320
this ,
319
321
ws,
You can’t perform that action at this time.
0 commit comments