Skip to content

Commit 814511d

Browse files
committed
fix: update jws to 4.0.0 to resolve SlowBuffer deprecation
Dependency chain issue: - jsonwebtoken → jws 3.2.2 → jwa 1.4.1 → buffer-equal-constant-time - buffer-equal-constant-time uses SlowBuffer (removed in Node.js 25) - jwa 1.4.2+ replaced buffer-equal-constant-time with crypto.timingSafeEqual - jws 4.0.0 includes jwa 2.0.0 which has the fix
1 parent bc28861 commit 814511d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"url": "https://github.com/auth0/node-jsonwebtoken/issues"
3737
},
3838
"dependencies": {
39-
"jws": "^3.2.2",
39+
"jws": "^4.0.0",
4040
"lodash.includes": "^4.3.0",
4141
"lodash.isboolean": "^3.0.3",
4242
"lodash.isinteger": "^4.0.4",

0 commit comments

Comments
 (0)