unstale

npm / range-parser

range-parser

What changed in range-parser 1 to 2, from its official release notes, upgrade guides and advisories. Also covers @types/range-parser. Sources checked 2026-11-30.

4 breaking1 new APIs and options1 performance2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

range-parser 26 changes

Breaking changes 4

  • The package now outputs ESM, which changes how developers load it.

    2.0.0release notes

  • The minimum supported Node.js version is now 22.

    2.0.0release notes

  • parse now always returns an object with a code property.

    2.0.0release notes

  • Reversed ranges are now invalid.

    2.0.0release notes

New APIs and options 1

Performance 1

range-parser 12 changes

Fixes and other changes 2