Packages

superjson

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

Upgrading superjson From 1.7.4 to 2.2.7

27 releases in betweennotes for 26

Reading releases, release notes and advisories…

Other targets from 1.7.4Newest 1.x1.13.3Clears its advisory1.8.1
  1. 1.7.4yours
  2. 2 releases
  3. 1.8.1security
  4. 15 releases
  5. 2.0.0major
  6. 7 releases
  7. 2.2.7target
2+
changes to make
1
advisory fixed
10+
new
21+
fixes

Counted from 26 of 27 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.7.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

13 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

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