diff --git a/package-lock.json b/package-lock.json index c858760..ace65d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -486,14 +486,39 @@ } }, "@loopback/authentication-jwt": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@loopback/authentication-jwt/-/authentication-jwt-0.9.0.tgz", - "integrity": "sha512-WhUQJrQmNbwEjXQHOdDXC2SRpnJHmwT7sY0OHuIhG9/rIb+f6wW4G+SZ7XSp2Ta73PXvTREn1e3YP/B61JE98Q==", + "version": "0.12.7", + "resolved": "https://registry.npmjs.org/@loopback/authentication-jwt/-/authentication-jwt-0.12.7.tgz", + "integrity": "sha512-EpPXMNkuhENyyaTzZx9PHh143Utngcz1ZDCvv62AEisVrekZbjd2OlPGvzBhgjxHWUYXHiiwCJnzq9r5DCoy2w==", "requires": { - "@loopback/security": "^0.5.0", + "@loopback/security": "^0.8.7", "@types/bcryptjs": "2.4.2", "bcryptjs": "^2.4.3", - "jsonwebtoken": "^8.5.1" + "debug": "^4.3.4", + "jsonwebtoken": "^9.0.0" + }, + "dependencies": { + "@loopback/security": { + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/@loopback/security/-/security-0.8.10.tgz", + "integrity": "sha512-0bnAugbSLNLCUKYC8IJzqvFI20nZeeqZU+SIk9EZU72YM3LtBG9W4at1hCZ/Sk9kfVN6VtJVzq02SwG0nCwp7Q==", + "requires": { + "debug": "^4.3.4", + "tslib": "^2.5.0" + } + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "tslib": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", + "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==" + } } }, "@loopback/boot": { @@ -1543,7 +1568,7 @@ "bcryptjs": { "version": "2.4.3", "resolved": "https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.4.3.tgz", - "integrity": "sha1-mrVie5PmBiH/fNrF2pczAn3x0Ms=" + "integrity": "sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==" }, "binary-extensions": { "version": "2.2.0", @@ -4072,20 +4097,24 @@ } }, "jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "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": { + "semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "requires": { + "lru-cache": "^6.0.0" + } + } } }, "jsprim": { @@ -4197,41 +4226,6 @@ "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", "dev": true }, - "lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" - }, - "lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" - }, - "lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" - }, - "lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" - }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" - }, "lodash.truncate": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", diff --git a/package.json b/package.json index 55dc552..851a7d7 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ ], "dependencies": { "@loopback/authentication": "^7.3.0", - "@loopback/authentication-jwt": "^0.9.0", + "@loopback/authentication-jwt": "^0.12.7", "@loopback/boot": "^3.4.0", "@loopback/context": "^3.16.0", "@loopback/core": "^2.16.0", @@ -73,7 +73,7 @@ "db-migrate-pg": "^1.2.2", "dotenv": "^9.0.2", "dotenv-extended": "^2.9.0", - "jsonwebtoken": "^8.5.1", + "jsonwebtoken": "^9.0.0", "lodash": "^4.17.21", "loopback-connector-kv-redis": "^4.0.0", "loopback-connector-postgresql": "^5.4.0",