From 59698ab9861ac4a3d2cad5854cebc1a46b4eff2e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 18 Oct 2024 06:31:16 +0000 Subject: [PATCH] fix: notification-microservice/package.json & notification-microservice/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-COOKIE-8163060 --- notification-microservice/package-lock.json | 18 ++++++++++-------- notification-microservice/package.json | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/notification-microservice/package-lock.json b/notification-microservice/package-lock.json index 9a4fe2d..e0f812f 100644 --- a/notification-microservice/package-lock.json +++ b/notification-microservice/package-lock.json @@ -13,7 +13,7 @@ "colors": "^1.4.0", "cors": "^2.8.5", "dotenv": "^16.4.5", - "express": "^4.19.2", + "express": "^4.21.1", "helmet": "^7.1.0", "mongoose": "^8.3.4", "morgan": "^1.10.0", @@ -297,9 +297,10 @@ } }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -435,16 +436,17 @@ } }, "node_modules/express": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", - "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", diff --git a/notification-microservice/package.json b/notification-microservice/package.json index c7449ed..2166dd4 100644 --- a/notification-microservice/package.json +++ b/notification-microservice/package.json @@ -15,7 +15,7 @@ "colors": "^1.4.0", "cors": "^2.8.5", "dotenv": "^16.4.5", - "express": "^4.19.2", + "express": "^4.21.1", "helmet": "^7.1.0", "mongoose": "^8.3.4", "morgan": "^1.10.0",