From a244ab93ca904647fdc2b324752527203be7a284 Mon Sep 17 00:00:00 2001 From: Vera Xia Date: Tue, 2 Jul 2024 14:24:24 -0700 Subject: [PATCH] Updated websocket-stream to @httptoolkit/websocket-stream (#432) * switch to use httptoolkit/websocket-stream --- device/lib/ws.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 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",