diff --git a/packages/daemon/package-lock.json b/packages/daemon/package-lock.json index 20e9acf66..c1bf95315 100644 --- a/packages/daemon/package-lock.json +++ b/packages/daemon/package-lock.json @@ -43,7 +43,7 @@ }, "devDependencies": { "@relaycorp/relaynet-testing": "^2.2.26", - "@relaycorp/ws-mock": "^2.4.1", + "@relaycorp/ws-mock": "^5.2.12", "@types/default-gateway": "^3.0.1", "@types/is-valid-domain": "0.0.1", "@types/jest": "^27.0.3", @@ -1359,13 +1359,13 @@ } }, "node_modules/@relaycorp/ws-mock": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/@relaycorp/ws-mock/-/ws-mock-2.5.2.tgz", - "integrity": "sha512-8Kf8wPD9dsksu/5aCOpMmUyN86L8AONiyarLzSAl1gkfXMlHioxEoI0OIvTExmR5C9eCDlm1BtgYVq6+zbnGHA==", + "version": "5.2.12", + "resolved": "https://registry.npmjs.org/@relaycorp/ws-mock/-/ws-mock-5.2.12.tgz", + "integrity": "sha512-n7NehuMLdIRZeyCHXIrlGfg7cDJF67QJrIoUrRcOnF2Lv77E6sLj6bjCzXfQFnN+RAs+dMygtL4RnbnYCs0xxA==", "dev": true, "dependencies": { "buffer-to-arraybuffer": "0.0.6", - "ws": "^7.5.3" + "ws": "^8.17.1" }, "engines": { "node": ">=12" @@ -1374,27 +1374,6 @@ "ws": ">= 7.4.1 < 8" } }, - "node_modules/@relaycorp/ws-mock/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "dev": true, - "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/@sinonjs/commons": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", @@ -8288,22 +8267,13 @@ } }, "@relaycorp/ws-mock": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/@relaycorp/ws-mock/-/ws-mock-2.5.2.tgz", - "integrity": "sha512-8Kf8wPD9dsksu/5aCOpMmUyN86L8AONiyarLzSAl1gkfXMlHioxEoI0OIvTExmR5C9eCDlm1BtgYVq6+zbnGHA==", + "version": "5.2.12", + "resolved": "https://registry.npmjs.org/@relaycorp/ws-mock/-/ws-mock-5.2.12.tgz", + "integrity": "sha512-n7NehuMLdIRZeyCHXIrlGfg7cDJF67QJrIoUrRcOnF2Lv77E6sLj6bjCzXfQFnN+RAs+dMygtL4RnbnYCs0xxA==", "dev": true, "requires": { "buffer-to-arraybuffer": "0.0.6", - "ws": "^7.5.3" - }, - "dependencies": { - "ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "dev": true, - "requires": {} - } + "ws": "^8.17.1" } }, "@sinonjs/commons": { diff --git a/packages/daemon/package.json b/packages/daemon/package.json index e43061c6e..1ce6c051b 100644 --- a/packages/daemon/package.json +++ b/packages/daemon/package.json @@ -46,7 +46,7 @@ }, "devDependencies": { "@relaycorp/relaynet-testing": "^2.2.26", - "@relaycorp/ws-mock": "^2.4.1", + "@relaycorp/ws-mock": "^5.2.12", "@types/default-gateway": "^3.0.1", "@types/is-valid-domain": "0.0.1", "@types/jest": "^27.0.3",