diff --git a/package-lock.json b/package-lock.json index af60239..2b77b76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "date-fns": "^2.29.3", "joi": "^17.7.0", "js-file-download": "^0.4.12", - "jsonwebtoken": "^8.5.1", + "jsonwebtoken": "^9.0.0", "megalodon": "^5.0.1", "mongoose": "^6.7.5", "newrelic": "^11.19.0", @@ -44,7 +44,7 @@ "devDependencies": { "@types/bcrypt": "^5.0.0", "@types/cookie": "^0.6.0", - "@types/jsonwebtoken": "^8.5.9", + "@types/jsonwebtoken": "^9.0.0", "@types/nodemailer": "^6.4.7", "@types/numeral": "^2.0.2", "@types/uuid": "^9.0.0", @@ -2997,9 +2997,9 @@ "license": "MIT" }, "node_modules/@types/jsonwebtoken": { - "version": "8.5.9", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.9.tgz", - "integrity": "sha512-272FMnFGzAVMGtu9tkr29hRL6bZj4Zs1KZNeHLnKqAvp06tAIcarTMwOh8/8bz4FmKRcMxZhZNeUAQsNLoiPhg==", + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-9.0.6.tgz", + "integrity": "sha512-/5hndP5dCjloafCXns6SZyESp3Ldq7YjH3zwzwczYnjxIT0Fqzk5ROSYVGfFyczIue7IUEj8hkvLbPoLQ18vQw==", "dev": true, "license": "MIT", "dependencies": { @@ -7294,9 +7294,9 @@ } }, "node_modules/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.2", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", + "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", "license": "MIT", "dependencies": { "jws": "^3.2.2", @@ -7308,20 +7308,11 @@ "lodash.isstring": "^4.0.1", "lodash.once": "^4.0.0", "ms": "^2.1.1", - "semver": "^5.6.0" + "semver": "^7.5.4" }, "engines": { - "node": ">=4", - "npm": ">=1.4.28" - } - }, - "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "license": "ISC", - "bin": { - "semver": "bin/semver" + "node": ">=12", + "npm": ">=6" } }, "node_modules/jsx-ast-utils": { diff --git a/package.json b/package.json index 70408be..ec19bae 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "date-fns": "^2.29.3", "joi": "^17.7.0", "js-file-download": "^0.4.12", - "jsonwebtoken": "^8.5.1", + "jsonwebtoken": "^9.0.0", "megalodon": "^5.0.1", "mongoose": "^6.7.5", "newrelic": "^11.19.0", @@ -54,7 +54,7 @@ "devDependencies": { "@types/bcrypt": "^5.0.0", "@types/cookie": "^0.6.0", - "@types/jsonwebtoken": "^8.5.9", + "@types/jsonwebtoken": "^9.0.0", "@types/nodemailer": "^6.4.7", "@types/numeral": "^2.0.2", "@types/uuid": "^9.0.0",