From f09677817c7ecf104108152b78bde4101ffe8a3e Mon Sep 17 00:00:00 2001 From: fireattack Date: Sun, 21 Jan 2024 14:54:03 +0800 Subject: [PATCH] Add back ws dep (fix #125) --- npm-shrinkwrap.json | 29 ++++++++++++++++++++++++++++- package.json | 3 ++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 048fb22..1111253 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -17,7 +17,8 @@ "crypto-js": "^4.2.0", "erii": "^2.0.6", "https-proxy-agent": "^7.0.2", - "socks-proxy-agent": "^8.0.2" + "socks-proxy-agent": "^8.0.2", + "ws": "^7.4.6" }, "bin": { "minyami": "dist/index.js" @@ -1516,6 +1517,26 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "node_modules/ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", @@ -2677,6 +2698,12 @@ } } }, + "ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "requires": {} + }, "yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", diff --git a/package.json b/package.json index fbaa589..b3f9187 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ "crypto-js": "^4.2.0", "erii": "^2.0.6", "https-proxy-agent": "^7.0.2", - "socks-proxy-agent": "^8.0.2" + "socks-proxy-agent": "^8.0.2", + "ws": "^7.4.6" }, "devDependencies": { "@types/node": "^17.0.17",