From 19e34b5dd72858c79679fa96fc155dd0cddf1a43 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 12 Oct 2024 04:23:48 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-COOKIE-8163060 --- package-lock.json | 18 +++++++++--------- package.json | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3cc3160..9626344 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "new project", + "name": "relock-npm-lock-v2-ZjdH7D", "lockfileVersion": 3, "requires": true, "packages": { @@ -12,7 +12,7 @@ "cookie-session": "^2.1.0", "csurf": "^1.10.0", "dompurify": "^3.1.6", - "express": "^4.21.0", + "express": "^4.21.1", "helmet": "^7.1.0", "mongoose": "^8.6.2", "path-to-regexp": "^8.1.0", @@ -224,9 +224,9 @@ } }, "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" @@ -480,9 +480,9 @@ } }, "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", @@ -490,7 +490,7 @@ "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/package.json b/package.json index c849306..141f6c8 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "cookie-session": "^2.1.0", "csurf": "^1.10.0", "dompurify": "^3.1.6", - "express": "^4.21.0", + "express": "^4.21.1", "helmet": "^7.1.0", "mongoose": "^8.6.2", "path-to-regexp": "^8.1.0",