From 6c13001d2c222d45125e5f7c89c8f05dbb4f83c3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 Dec 2023 14:02:35 +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-INFLIGHT-6095116 - 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/npm:hoek:20180212 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c3bdc5a..849e02c 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@types/es6-promise": "0.0.32", "babel-cli": "^6.22.2", "babel-preset-es2015": "^6.22.0", - "bcrypt": "^1.0.2", + "bcrypt": "^5.0.1", "body-parser": "^1.15.2", "debug": "^2.6.0", "express": "^4.14.0", @@ -87,7 +87,7 @@ "lodash": "^4.17.2", "morgan": "^1.7.0", "passport": "^0.3.2", - "passport-jwt": "^2.2.1", + "passport-jwt": "^4.0.0", "pg": "^6.1.2", "sequelize": "^3.27.0", "ts-node": "^1.7.3"