diff --git a/api-server/package.json b/api-server/package.json index a234fbda1b02b9..29623105f0d674 100644 --- a/api-server/package.json +++ b/api-server/package.json @@ -49,7 +49,7 @@ "express-validator": "6.14.1", "helmet": "3.23.3", "helmet-csp": "2.10.0", - "jsonwebtoken": "8.5.1", + "jsonwebtoken": "9.0.0", "lodash": "4.17.21", "loopback": "3.28.0", "loopback-boot": "2.28.0", diff --git a/package-lock.json b/package-lock.json index 15df0b8541218f..732263fe53411a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -134,7 +134,7 @@ "express-validator": "6.14.1", "helmet": "3.23.3", "helmet-csp": "2.10.0", - "jsonwebtoken": "8.5.1", + "jsonwebtoken": "9.0.0", "lodash": "4.17.21", "loopback": "3.28.0", "loopback-boot": "2.28.0", @@ -33278,23 +33278,29 @@ } }, "node_modules/jsonwebtoken": { - "version": "8.5.1", - "license": "MIT", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.0.tgz", + "integrity": "sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw==", "dependencies": { "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", + "lodash": "^4.17.21", "ms": "^2.1.1", - "semver": "^5.6.0" + "semver": "^7.3.8" }, "engines": { - "node": ">=4", - "npm": ">=1.4.28" + "node": ">=12", + "npm": ">=6" + } + }, + "node_modules/jsonwebtoken/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" } }, "node_modules/jsonwebtoken/node_modules/ms": { @@ -33302,12 +33308,24 @@ "license": "MIT" }, "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.1", - "license": "ISC", + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dependencies": { + "lru-cache": "^6.0.0" + }, "bin": { - "semver": "bin/semver" + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, + "node_modules/jsonwebtoken/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, "node_modules/jsprim": { "version": "2.0.2", "dev": true, @@ -34326,31 +34344,15 @@ "version": "4.4.2", "license": "MIT" }, - "node_modules/lodash.includes": { - "version": "4.3.0", - "license": "MIT" - }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "license": "MIT" - }, "node_modules/lodash.isequal": { "version": "4.5.0", "license": "MIT" }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "license": "MIT" - }, "node_modules/lodash.ismatch": { "version": "4.4.0", "dev": true, "license": "MIT" }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "license": "MIT" - }, "node_modules/lodash.isplainobject": { "version": "4.0.6", "license": "MIT" @@ -34386,6 +34388,7 @@ }, "node_modules/lodash.once": { "version": "4.1.1", + "dev": true, "license": "MIT" }, "node_modules/lodash.snakecase": { @@ -55951,7 +55954,7 @@ "express-validator": "6.14.1", "helmet": "3.23.3", "helmet-csp": "2.10.0", - "jsonwebtoken": "8.5.1", + "jsonwebtoken": "9.0.0", "lodash": "4.17.21", "loopback": "3.28.0", "loopback-boot": "2.28.0", @@ -77218,25 +77221,39 @@ } }, "jsonwebtoken": { - "version": "8.5.1", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.0.tgz", + "integrity": "sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw==", "requires": { "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", + "lodash": "^4.17.21", "ms": "^2.1.1", - "semver": "^5.6.0" + "semver": "^7.3.8" }, "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, "ms": { "version": "2.1.3" }, "semver": { - "version": "5.7.1" + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, @@ -77978,25 +77995,13 @@ "lodash.get": { "version": "4.4.2" }, - "lodash.includes": { - "version": "4.3.0" - }, - "lodash.isboolean": { - "version": "3.0.3" - }, "lodash.isequal": { "version": "4.5.0" }, - "lodash.isinteger": { - "version": "4.0.4" - }, "lodash.ismatch": { "version": "4.4.0", "dev": true }, - "lodash.isnumber": { - "version": "3.0.3" - }, "lodash.isplainobject": { "version": "4.0.6" }, @@ -78023,7 +78028,8 @@ "version": "4.6.2" }, "lodash.once": { - "version": "4.1.1" + "version": "4.1.1", + "dev": true }, "lodash.snakecase": { "version": "4.1.1",