Packages

source-map-js

1.2.4 · 19 Nov 2026BSD-3-Clause312.6M / weekRepositorynpmAtom feed

Upgrading source-map-js From 0.6.2 to 1.2.4

10 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 0.6.2yours
  2. 1.0.0major
  3. 6 releases
  4. 1.2.2security
  5. 1 release
  6. 1.2.4target

Before you upgrade

Tick each one off as you go
  • Breaking1.2.4

Security

  • Fix denial of service from malicious indexed source maps (CVE-2026-93749)

    1.2.2

Release by release

  1. 1.2.4

    Migration needed19 Nov 20262 new · 8 fixes
    • Breaking

      Return types that would need a breaking change, such as the nulls from originalPositionFor (#30), are documented in comments and left for the next major (#118).

    • New

      Support allGeneratedPositionsFor

    • New

      Add computeColumnSpans

    • Fixed

      Fix originalPositionFor returning nulls at the first column of a section

  2. 1.2.3

    18 Nov 20261 fix
    • Fixed

      Fix CSP violation reported in browsers that don't permit unsafe-eval

  3. 1.2.2

    Security fix30 Sep 20261 fix
    • Security

      Fix denial of service from malicious indexed source maps (CVE-2026-93749)

    • Fixed

      Fix crash when executing in browser with CSP script-src that don't permit unsafe-eval

  4. 1.2.1

    8 Sep 20242 fixes
    • Fixed

      Fix TS2306 “not a module” errors in type definitions

    • Fixed

      Ensure null source is respected

  5. 1.2.0

    19 Mar 20241 new
    • New

      Add generator options to fromSourceMap

  6. 1.1.0

    17 Mar 20241 new · 1 fix
    • New

      Add ignoreInvalidMapping option

    • Fixed

      Do not throw an error since broken prev map is popular issue #20

  7. 1.0.3nothing new or fixed in the note

  8. 1.0.2

    18 Jan 20221 new
    • New

      Add types for path imports

6 other lines we could not sort, mostly version bumps
  • Set engines.node to >=6.0.0

    1.2.4
  • Improve ts declarations to be null-safe

    1.2.1
  • Use sourceContents when non-null, even if it's an empty string

    1.0.3
  • Remove cleanComments optimization

    1.0.1
  • Reduce memory usage of eachMapping w/ loop

    1.0.0
  • Reduce npm package size

    1.0.0

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.