Packages

superjson

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

Upgrading superjson From 1.13.2 to 2.2.7

10 releases in betweennotes for 9

Reading releases, release notes and advisories…

Other targets from 1.13.2Newest 1.x1.13.3
  1. 1.13.2yours
  2. 1 release
  3. 2.0.0major
  4. 7 releases
  5. 2.2.7target
2+
changes to make
0
advisories fixed
4+
new
10+
fixes

Counted from 9 of 10 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

  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

8 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

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.