From 08f987bc86c43b1daf8e90f739fbbda1370c4e4e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 12 Sep 2024 09:28:54 +0000 Subject: [PATCH] fix: chapter7/package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BODYPARSER-7926860 - https://snyk.io/vuln/SNYK-JS-EXPRESS-7926867 - https://snyk.io/vuln/SNYK-JS-SEND-7926862 - https://snyk.io/vuln/SNYK-JS-SERVESTATIC-7926865 --- chapter7/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter7/package.json b/chapter7/package.json index 6dab8c4..e2e4530 100644 --- a/chapter7/package.json +++ b/chapter7/package.json @@ -9,12 +9,12 @@ }, "dependencies": { "async": "~1.5.0", - "body-parser": "~1.18.2", + "body-parser": "~1.20.3", "connect-redis": "~3.0.2", "cookie-parser": "~1.3.5", "debug": "~2.6.9", "ejs": "~2.5.5", - "express": "~4.16.0", + "express": "~4.21.0", "express-session": "~1.15.6", "mongoose": "^5.8.9", "morgan": "~1.9.1",