superjson
2.2.7 · 21 Nov 2026MIT20.1M / weekRepositoryHomepagenpmAtom feed
Upgrading superjson From 1.4.1 to 2.2.7
37 releases in betweennotes for 36
Reading releases, release notes and advisories…
Counted from 36 of 37 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
Security
Fixes 1 advisory affecting 1.4.1
- Prototype Pollution leading to Remote Code Execution in superjsoncritical · GHSA-5888-ffcr-r425
- 1.8.1
Fix a critical security vulnerability.
Release by release
2.2.7no release note
- Fixed
Preserve NaN and Infinity values in typed arrays
- Fixed
Don't synthesize a cause on Errors that never had one
- Fixed
Support BigInt64Array and BigUint64Array serialization
- Fixed
- Fixed
Cjs declaration
- Fixed
- New
Add in-place deserialize
- New
Add support for Error.prototype.cause
- Fixed
Upgrade to copy-anything 4
- Fixed
Input escape mapping
- Fixed
Support cjs
- New
- New
Add unknown class name to deserialization error
- Fixed
Don't DOS on nth key
- New
- Fixed
Target es2020
- Fixed
2.2.0nothing new or fixed in the note
- New
Add "main" to package.json
- New
26 other lines we could not sort, mostly version bumps
- 2.2.6
Revert CJS Support
- 2.2.6
Simplify setup
- 2.2.6
Disable sourcemap generation to eliminate missing source file warnings
- 2.2.3
Export SuperJSONValue
- 2.2.0
Export SuperJSONResult type
- 2.1.0
Strip constructor, prototype, and proto properties in the serialize step
- 2.0.0
Update logo and README.md
- 2.0.0
Tweak Banner Image
- 1.10.1
More performant check of isPlainObject
- 1.9.1
Export registerCustom etc
34 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.