unstale

npm / immutable

immutable

What changed in immutable 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

1 breaking4 security4 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

immutable 59 changes

Breaking changes 1

  • On a lazy Seq of unknown size, has(index) checks whether the index exists instead of searching for a value equal to the index.

    5.1.7release notes

Security 4

Fixes and other changes 4

  • List now preserves undefined values when grown past 32 elements.

    5.1.9release notes

  • Repeat.lastIndexOf now returns size - 1 instead of size for the last index.

    5.1.7release notes

  • The type for reduce is improved when no initial value is given.

    5.1.7release notes

  • The reverseFactory iterator now reads reversedSequence.size instead of this, fixing reversed-sequence iteration behavior.

    5.1.6release notes