superjson
2.2.7 · 21 Nov 2026MIT20.1M / weekRepositoryHomepagenpmAtom feed
Upgrading superjson From 1.13.3 to 2.2.7
9 releases in betweennotes for 8
Reading releases, release notes and advisories…
- 2+
- changes to make
- 0
- advisories fixed
- 4+
- new
- 9+
- fixes
Counted from 8 of 9 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
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
8 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
5 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.