Packages

@jridgewell/gen-mapping

0.3.13 · 12 Aug 2025MIT296.8M / weekRepositoryHomepagenpmAtom feed

Your version

0.3.0

30 Apr 2022Where it was published

0.3.13 is the newest release of 0.3.x.

In short

1 breaking1 new

  • Breaking

    Segments are no longer sorted by sourcesIndex/sourceLine/sourceColumn/namesIndex when inserting

Release note

The section about @jridgewell/gen-mapping of a note shared by several packages.

Breaking Changes

  • Breaking

    Segments are no longer sorted by sourcesIndex/sourceLine/sourceColumn/namesIndex when inserting

    Segments are still ordered by genColumn, since this affects the binary search algorithm when tracing. For the other fields, it's not clear that we should sort them. Instead, they're sorted in the order they were added to the map. This allows the maybeAdd* APIs to work.

New Features

  • Add maybeAdd* APIs

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.