From ca1738f6f9c718caae066e0d3da1607bde1b3066 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 27 Nov 2023 21:09:01 +0000 Subject: [PATCH] fix: package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908 - https://snyk.io/vuln/SNYK-JS-DICER-2311764 - https://snyk.io/vuln/SNYK-JS-MINIMIST-2429795 - https://snyk.io/vuln/SNYK-JS-MINIMIST-559764 - https://snyk.io/vuln/SNYK-JS-REQUEST-3361831 - https://snyk.io/vuln/SNYK-JS-TAR-1536528 - https://snyk.io/vuln/SNYK-JS-TAR-1536531 - https://snyk.io/vuln/SNYK-JS-TAR-1536758 - https://snyk.io/vuln/SNYK-JS-TAR-1579147 - https://snyk.io/vuln/SNYK-JS-TAR-1579152 - https://snyk.io/vuln/SNYK-JS-TAR-1579155 - https://snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873 - https://snyk.io/vuln/SNYK-JS-UNDERSCORE-1080984 --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5a64e51..37bd6cf 100644 --- a/package.json +++ b/package.json @@ -14,12 +14,12 @@ "license": "ISC", "homepage": "https://bitbucket.org/wbproducts/schoolerp_api#readme", "dependencies": { - "bcrypt": "^1.0.3", + "bcrypt": "^5.0.1", "body-parser": "^1.18.2", "cors": "^2.8.4", - "email-templates": "^3.3.4", + "email-templates": "^8.0.0", "express": "^4.16.2", - "express-fileupload": "^0.4.0", + "express-fileupload": "^1.4.0", "fs": "0.0.1-security", "get-request-ip": "^1.0.1", "jsonwebtoken": "^8.1.1", @@ -27,7 +27,7 @@ "moment": "^2.21.0", "mongoose": "^5.0.6", "morgan": "^1.9.0", - "node-base64-image": "^1.0.5", + "node-base64-image": "^2.0.0", "nodemailer": "^4.4.2", "path": "^0.12.7", "readline-sync": "^1.4.9",