Skip to content

Commit 7bf5df2

Browse files
committed
update jsonwebtoken to resolve vulnerability
1 parent 95f6e1a commit 7bf5df2

File tree

3 files changed

+14
-89
lines changed

3 files changed

+14
-89
lines changed

.cz-config.js

Lines changed: 0 additions & 69 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"access": "public"
1616
},
1717
"scripts": {
18-
"commit": "./node_modules/cz-customizable/standalone.js",
1918
"test": "jest --coverage",
2019
"test:watch": "jest --watch",
2120
"lint": "eslint --ext .ts --ext .tsx ./src",
@@ -35,7 +34,7 @@
3534
},
3635
"dependencies": {
3736
"cookie": "^0.4.1",
38-
"jsonwebtoken": "^8.5.1",
37+
"jsonwebtoken": "^9.0.0",
3938
"safe-compare": "^1.1.4"
4039
},
4140
"devDependencies": {
@@ -75,7 +74,6 @@
7574
"babel-eslint": "10.1.0",
7675
"babel-loader": "8.2.2",
7776
"babel-preset-react-app": "10.0.0",
78-
"cz-customizable": "git+https://github.com/storyofams/cz-customizable.git#6.3.1",
7977
"eslint": "7.18.0",
8078
"eslint-config-prettier": "7.1.0",
8179
"eslint-import-resolver-alias": "1.1.2",
@@ -122,17 +120,6 @@
122120
"@storyofams/eslint-config-ams/web"
123121
]
124122
},
125-
"config": {
126-
"commitizen": {
127-
"path": "node_modules/cz-customizable"
128-
}
129-
},
130-
"husky": {
131-
"hooks": {
132-
"pre-commit": "lint-staged",
133-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
134-
}
135-
},
136123
"lint-staged": {
137124
"**/*.+(js|jsx|ts|tsx)": [
138125
"yarn lint --fix"
@@ -142,4 +129,4 @@
142129
"type": "git",
143130
"url": "https://github.com/instantcommerce/next-password-protect.git"
144131
}
145-
}
132+
}

yarn.lock

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7630,10 +7630,10 @@ jsonparse@^1.2.0, jsonparse@^1.3.1:
76307630
resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
76317631
integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=
76327632

7633-
jsonwebtoken@^8.5.1:
7634-
version "8.5.1"
7635-
resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz#00e71e0b8df54c2121a1f26137df2280673bcc0d"
7636-
integrity sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==
7633+
jsonwebtoken@^9.0.0:
7634+
version "9.0.2"
7635+
resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz#65ff91f4abef1784697d40952bb1998c504caaf3"
7636+
integrity sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==
76377637
dependencies:
76387638
jws "^3.2.2"
76397639
lodash.includes "^4.3.0"
@@ -7644,7 +7644,7 @@ jsonwebtoken@^8.5.1:
76447644
lodash.isstring "^4.0.1"
76457645
lodash.once "^4.0.0"
76467646
ms "^2.1.1"
7647-
semver "^5.6.0"
7647+
semver "^7.5.4"
76487648

76497649
jsprim@^1.2.2:
76507650
version "1.4.1"
@@ -10773,6 +10773,13 @@ semver@^6.0.0, semver@^6.3.0:
1077310773
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
1077410774
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
1077510775

10776+
semver@^7.5.4:
10777+
version "7.5.4"
10778+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
10779+
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
10780+
dependencies:
10781+
lru-cache "^6.0.0"
10782+
1077610783
serialize-javascript@^4.0.0:
1077710784
version "4.0.0"
1077810785
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa"

0 commit comments

Comments
 (0)