Packages

superjson

2.2.7 · 21 Nov 2026MIT20.1M / weekRepositoryHomepagenpmAtom feed

Upgrading superjson From 0.0.4 to 2.2.7

49 releases in betweennotes for 45

Reading releases, release notes and advisories…

Other targets from 0.0.4Newest 0.x0.0.6Clears its advisory1.8.1
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 0.0.4yours
  2. 2 releases
  3. 1.0.0major
  4. 21 releases
  5. 1.8.1security
  6. 15 releases
  7. 2.0.0major
  8. 7 releases
  9. 2.2.7target
2+
changes to make
1
advisory fixed
23+
new
40+
fixes

Counted from 45 of 49 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 0.0.4

  • Fix a critical security vulnerability.

    1.8.1

Release by release

  1. 2.2.7no release note

  2. 2.2.6

    27 Nov 20253 fixes
    • 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

  3. 2.2.5

    28 Oct 20251 fix
    • Fixed

      Cjs declaration

  4. 2.2.3

    22 Oct 20252 new · 3 fixes
    • 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

  5. 2.2.2

    5 Dec 20241 new · 1 fix
    • New

      Add unknown class name to deserialization error

    • Fixed

      Don't DOS on nth key

  6. 2.2.1

    9 Nov 20231 fix
    • Fixed

      Target es2020

  7. 2.2.0nothing new or fixed in the note

  8. 2.1.0

    23 Oct 20231 new
    • New

      Add "main" to package.json

36 other lines we could not sort, mostly version bumps
  • Revert CJS Support

    2.2.6
  • Simplify setup

    2.2.6
  • Disable sourcemap generation to eliminate missing source file warnings

    2.2.6
  • Export SuperJSONValue

    2.2.3
  • Export SuperJSONResult type

    2.2.0
  • Strip constructor, prototype, and proto properties in the serialize step

    2.1.0
  • Update logo and README.md

    2.0.0
  • Tweak Banner Image

    2.0.0
  • More performant check of isPlainObject

    1.10.1
  • Export registerCustom etc

    1.9.1

40 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.