diff --git a/packages/pinus-rpc/package.json b/packages/pinus-rpc/package.json index 42798059a..abfab0963 100644 --- a/packages/pinus-rpc/package.json +++ b/packages/pinus-rpc/package.json @@ -32,7 +32,7 @@ "source-map-support": "^0.5.0", "stream-pkg": "0.0.5", "uuid": "^3.1.0", - "ws": "^7.2.5" + "ws": "^8.0.0" }, "devDependencies": { "@types/async": "3.2.7", @@ -42,7 +42,7 @@ "@types/socket.io": "2.1.6", "@types/socket.io-client": "1.4.36", "@types/uuid": "3.4.10", - "@types/ws": "7.4.6", + "@types/ws": "8.5.10", "mocha": "6.2.3", "should": "13.2.3", "tslint": "5.20.1", diff --git a/packages/pinus/package.json b/packages/pinus/package.json index b4300b07c..95948415e 100644 --- a/packages/pinus/package.json +++ b/packages/pinus/package.json @@ -66,7 +66,7 @@ "pinus-scheduler": "^1.4.10", "seq-queue": "^0.0.5", "socket.io": "^2.3.0", - "ws": "^7.2.5" + "ws": "^8.0.0" }, "bin": { "pinus": "./dist/bin/pinus.js" @@ -79,7 +79,7 @@ "@types/eyes": "0.1.32", "@types/mkdirp": "0.5.2", "@types/mocha": "5.2.7", - "@types/ws": "7.4.6", + "@types/ws": "8.5.10", "mocha": "6.2.3", "muk": "0.5.3", "nyc": "15.1.0", diff --git a/tools/pinus-admin-web/package.json b/tools/pinus-admin-web/package.json index 7b004feff..7c376cb9b 100644 --- a/tools/pinus-admin-web/package.json +++ b/tools/pinus-admin-web/package.json @@ -12,7 +12,7 @@ "mqtt": "3.0.0", "mqtt-connection": "4.1.0", "websocket-stream": "5.5.0", - "ws": "7.5.3" + "ws": "8.15.1" }, "devDependencies": { "tslint": "5.20.1", diff --git a/yarn.lock b/yarn.lock index e27e83849..eb6620c0c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1248,10 +1248,10 @@ resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-3.4.10.tgz#637d3c8431f112edf6728ac9bdfadfe029540f48" integrity sha512-BgeaZuElf7DEYZhWYDTc/XcLZXdVgFkVSTa13BqKvbnmUrxr3TJFKofUxCtDO9UQOdhnV+HPOESdHiHKZOJV1A== -"@types/ws@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.6.tgz#c4320845e43d45a7129bb32905e28781c71c1fff" - integrity sha512-ijZ1vzRawI7QoWnTNL8KpHixd2b2XVb9I9HAqI3triPsh1EC0xH0Eg6w2O3TKbDCgiNNlJqfrof6j4T2I+l9vw== +"@types/ws@8.5.10": + version "8.5.10" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787" + integrity sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A== dependencies: "@types/node" "*" @@ -10547,10 +10547,10 @@ write-pkg@^4.0.0: type-fest "^0.4.1" write-json-file "^3.2.0" -ws@7.5.3: - version "7.5.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" - integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== +ws@8.15.1, ws@^8.0.0: + version "8.15.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.15.1.tgz#271ba33a45ca0cc477940f7f200cd7fba7ee1997" + integrity sha512-W5OZiCjXEmk0yZ66ZN82beM5Sz7l7coYxpRkzS+p9PP+ToQry8szKh+61eNktr7EA9DOwvFGhfC605jDHbP6QQ== ws@^3.2.0: version "3.3.3" @@ -10566,11 +10566,6 @@ ws@^7.1.2: resolved "https://registry.npmjs.org/ws/-/ws-7.2.5.tgz#abb1370d4626a5a9cd79d8de404aa18b3465d10d" integrity sha512-C34cIU4+DB2vMyAbmEKossWq2ZQDr6QEyuuCzWrM9zfw1sGc0mYiJ0UnG9zzNykt49C2Fi34hvr2vssFQRS6EA== -ws@^7.2.5: - version "7.4.5" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.5.tgz#a484dd851e9beb6fdb420027e3885e8ce48986c1" - integrity sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g== - ws@~6.1.0: version "6.1.4" resolved "https://registry.npmjs.org/ws/-/ws-6.1.4.tgz#5b5c8800afab925e94ccb29d153c8d02c1776ef9"