Packages

source-map-js

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

Your version

1.2.3

18 Nov 2026Where it was published

1.2.4 is the newest release of 1.x.

In short

1 fixed

Release note

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

    Reported by @Viktor-Ivliev in #81. The library no longer uses new Function at all. As a side effect, sorting mappings is ~40% faster on Node 22, 24 and 26: consuming source maps is up to 40% faster, and SourceMapConsumer.fromSourceMap 20–40% faster.

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.