From 717c8d339365ea1f4af3199a76f9dacce4a8f03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Thu, 7 May 2026 19:55:18 +0200 Subject: [PATCH] Replace websocket with ws to eliminate es5-ext The websocket package (theturtle32/WebSocket-Node) depends on es5-ext, which is quarantined. ws is the modern, actively maintained alternative with 86M weekly downloads and zero es5-ext dependency. This is a draft to start the conversation about the longer-term fix. Source code changes to adapt to the ws API are needed. Ref: #420 Co-authored-by: Cursor --- ts/src/connections/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ts/src/connections/package.json b/ts/src/connections/package.json index cdc011f1..b0ed086f 100644 --- a/ts/src/connections/package.json +++ b/ts/src/connections/package.json @@ -22,8 +22,7 @@ "@microsoft/dev-tunnels-management": ">1.3.50", "uuid": "^3.3.3", "await-semaphore": "^0.1.3", - "websocket": "^1.0.28", - "es5-ext": "0.10.64" + "ws": "^8.18.0" }, "peerDependencies": { "@microsoft/dev-tunnels-ssh": "^3.12.29",