Skip to content

build(deps): bump immutable from 5.1.5 to 5.1.9 - #23

Merged
artempartos merged 1 commit into
developfrom
dependabot/npm_and_yarn/immutable-5.1.9
Aug 5, 2026
Merged

artempartos merged 1 commit into
developfrom
dependabot/npm_and_yarn/immutable-5.1.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 5, 2026

Copy link
Copy Markdown
Contributor

Bumps immutable from 5.1.5 to 5.1.9.

Release notes

Sourced from immutable's releases.

v5.1.9

What's Changed

Full Changelog: immutable-js/immutable-js@v5.1.8...v5.1.9

v5.1.8

What's Changed

Full Changelog: immutable-js/immutable-js@v5.1.7...v5.1.8

v5.1.7

What's Changed

internal

New Contributors

Full Changelog: immutable-js/immutable-js@v5.1.6...v5.1.7

v5.1.6

What's Changed

... (truncated)

Changelog

Sourced from immutable's changelog.

5.1.9

  • fix(List): a List grown past 32 elements while all its values are undefined no longer reads those values back as null (affected get, iteration, toArray, equals and hashCode)

5.1.8

4.3.9

5.1.7

  • fix(Repeat): lastIndexOf returned size instead of size - 1 by @​chatman-media in immutable-js/immutable-js#2227. Fixes CVE CVE-2026-29063
  • fix(IndexedCollection): has(index) on a lazy Seq of unknown size now checks index existence instead of searching for a value equal to the index #2203
  • [TypeScript]: reduce/reduceRight without an initial value now infer the result type from the collection's values when the reducer returns a value (e.g. list.reduce((a, b) => a + b) infers number), matching Array#reduce. Previously an explicit type argument was required. #2205

5.1.6

  • fix(reverseFactory): read reversedSequence.size in __iterator instead of this #2196
Commits
  • 329f7a6 5.1.9
  • 21fabd9 changelog
  • 009164f Merge pull request #2235 from immutable-js/fix/avoid-null-when-setsize33
  • 5b65bfb fix(List): preserve undefined values when grown past 32 elements
  • 50bf39e Update CHANGELOG.md for versions 5.1.8 and 4.3.9
  • 6496539 5.1.8
  • 808a83a Merge commit from fork
  • e51d49f perf(Map): index large hash-collision buckets for faster lookups
  • 25c58b0 fix typescript in tests
  • a1a1ee4 Merge commit from fork
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 5, 2026
@artempartos

Copy link
Copy Markdown
Contributor

Safe to merge

Verified locally on this branch in the web container (fresh yarn install → immutable 5.1.9):

$ make fe_check_all
  [OK]   eslint
  [OK]   fe-test
  [OK]   typescript

frontend (vitest / v8): 78.16%

Lockfile-only.

What it clears

Two high advisories, both against the 5.1.5 we currently resolve:

advisory severity vulnerable range issue
GHSA-v56q-mh7h-f735 high >=5.0.0-beta.1 <5.1.8 List 32-bit trie overflow → unrecoverable DoS
GHSA-xvcm-6775-5m9r high >=5.0.0-beta.1 <5.1.8 hash-collision algorithmic complexity DoS in Map/Set

5.1.8 is the patched floor; going to 5.1.9 also picks up the regression fix that 5.1.8
introduced — fix(List): preserve undefined values when grown past 32 elements
(immutable-js#2235). Worth taking 5.1.9 rather than pinning to 5.1.8 for exactly that reason:
5.1.8's bounds guard is what broke undefined handling past 32 elements.

Also in range: fix(Repeat): lastIndexOf returned size instead of size - 1 (CVE-2026-29063)
and fix(IndexedCollection): has(index) on a lazy Seq of unknown size now checks index
existence instead of searching for a value equal to the index.

Exposure

Build-time only — we have no direct dependency on it:

$ yarn why immutable
├─ sass-embedded@npm:1.100.0
│  └─ immutable@npm:5.1.5 (via npm:^5.1.5)
└─ sass@npm:1.100.0

It is the Sass compiler's internal data structure library. Both advisories are DoS via
adversarial input volume — List grown past a 32-bit trie boundary, or many colliding hash
keys — and the only input Sass sees is our own .scss files. Not reachable from user input,
so this is hygiene rather than an urgent fix.

The has(index) change on lazy Seq is a behaviour change in principle, but it is internal
to Sass's own usage and the frontend suite is unaffected (green above, coverage unchanged).

@artempartos
artempartos merged commit 3ede8dc into develop Aug 5, 2026
6 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/immutable-5.1.9 branch August 5, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant