From 9f6b23aa89982be4f8132f36d859020f4e67fd61 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 18 Jun 2024 18:59:27 +0000 Subject: [PATCH] fix: server/package.json & server/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-WS-7266574 --- server/package-lock.json | 17 +++++++++-------- server/package.json | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/server/package-lock.json b/server/package-lock.json index cad5428..c43c319 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -12,13 +12,13 @@ "cookie-parser": "1.4.6", "cors": "2.8.5", "dotenv": "16.0.3", - "express": "^4.19.2", + "express": "4.19.2", "ioredis": "5.3.1", "jsonwebtoken": "9.0.0", "mongoose": "7.5.0", "multer": "1.4.5-lts.1", "redis": "4.6.5", - "ws": "8.12.1" + "ws": "^8.17.1" }, "devDependencies": { "@types/cookie-parser": "1.4.3", @@ -3376,9 +3376,10 @@ "dev": true }, "node_modules/ws": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.1.tgz", - "integrity": "sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, @@ -5897,9 +5898,9 @@ "dev": true }, "ws": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.1.tgz", - "integrity": "sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "requires": {} }, "xtend": { diff --git a/server/package.json b/server/package.json index b6178a7..7f1edfa 100644 --- a/server/package.json +++ b/server/package.json @@ -50,6 +50,6 @@ "mongoose": "7.5.0", "multer": "1.4.5-lts.1", "redis": "4.6.5", - "ws": "8.12.1" + "ws": "8.17.1" } }