From 27aa6e1abcfd8d179937d3f12447f8b180dbf911 Mon Sep 17 00:00:00 2001 From: Zhihui Xia Date: Tue, 2 Jul 2024 06:11:55 -0700 Subject: [PATCH 1/2] switch to httptoolki/websocket-stream --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f100de7..0f494a4 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "crypto-js": "4.2.0", "minimist": "1.2.6", "mqtt": "4.2.8", - "websocket-stream": "^5.5.2" + "@httptoolkit/websocket-stream": "^6.0.1" }, "devDependencies": { "gulp": "^3.9.0", From cf4ec12cac1707f66facb1b2c917422c3614cb7a Mon Sep 17 00:00:00 2001 From: Zhihui Xia Date: Tue, 2 Jul 2024 06:18:29 -0700 Subject: [PATCH 2/2] switch to use httptoolkit/websocket-stream --- device/lib/ws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/lib/ws.js b/device/lib/ws.js index 387c2b7..d09d434 100644 --- a/device/lib/ws.js +++ b/device/lib/ws.js @@ -16,7 +16,7 @@ //node.js deps //npm deps -var websocket = require('websocket-stream'); +var websocket = require('@httptoolkit/websocket-stream'); //app deps