jose
6.2.18 · 18 Nov 2026MIT242.1M / weekRepositorynpmAtom feed
Upgrading jose From 0.1.0 to 2.0.7
53 releases in betweennotes for 49
Counted from 49 of 53 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
Security
Fixes 1 advisory affecting 0.1.0
- jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintextmoderate · GHSA-hhhv-q57g-882q
- 2.0.7
Add a maxOutputLength option to zlib inflate (02a6579), fixes CVE-2024-28176
- 2.0.5
Defer AES CBC w/ HMAC decryption after tag verification passes (812e03f), fixes CVE-2021-29443
- 1.28.1
Defer AES CBC w/ HMAC decryption after tag verification passes (08e1bc5), fixes CVE-2021-29443
Release by release
- Security
Add a maxOutputLength option to zlib inflate (02a6579), fixes CVE-2024-28176
- Security
- Fixed
Limit default PBES2 alg's computational expense
- Fixed
- Security
Defer AES CBC w/ HMAC decryption after tag verification passes (812e03f), fixes CVE-2021-29443
- Security
- New
Improve base64url encoding when available in Node.js
- New
- Fixed
Allow stubbing of the JWT.decode function
- Fixed
- Fixed
esm: include esm files in the published package
- Fixed
- Fixed
Allow plugins such as jose-chacha to work in newer node runtime
- Fixed
- Breaking
The
JWE.decryptoptionalgorithmswas removed and replaced with contentEncryptionAlgorithms (handlesencallowlist) and keyManagementAlgorithms (handlesalgallowlist) - Breaking
The
JWT.verifyprofile option was removed, use e.g.JWT.IdToken.verifyinstead. - Breaking
Removed the
maxAuthAgeJWT.verifyoption, this option is now only present at the specific JWT profile APIs where theauth_timeproperty applies. - Breaking
Removed the
nonceJWT.verifyoption, this option is now only present at the specific JWT profile APIs where thenonceproperty applies.
- Breaking
1 other line we could not sort, mostly version bumps
- 1.10.0
Rename package
3 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.