Repository navigation
fix: Bump immutable from 5.1.5 to 5.1.9 - #3457
Conversation
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe project updates its ChangesImmutable dependency update
Priority: ⬆️ High Estimated code review effort: 1 (Trivial) | ~4 minutes Merge Risk: ⚪ Minimal · up to The dependency declaration and lockfile agree on version 5.1.9, with no identified merge-blocking issue. Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 inconclusive)
✅ Passed checks (6 passed)
Full details: Engage In Review FeedbackExplanation The supplied review result reports zero actionable findings for the current review. The reviewed range contains only the ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
# [9.3.0-alpha.7](9.3.0-alpha.6...9.3.0-alpha.7) (2026-09-24) ### Bug Fixes * Bump immutable from 5.1.5 to 5.1.9 ([#3457](#3457)) ([5097c04](5097c04))
|
🎉 This change has been released in version 9.3.0-alpha.7 |
Pull Request
Issue
Closes #3425
Fixes the high-severity Dependabot alerts for
immutable(vulnerable>= 5.0.0-beta.1, < 5.1.8, patched in5.1.8):List32-bit trie overflow causing an unrecoverable DoSImmutable.Map/Setimmutableis a direct production dependency of the dashboard.Approach
Bumps
immutablefrom 5.1.5 to 5.1.9, pinned exactly inpackage.json. The lock file has a singlenode_modules/immutableentry, which the dev dependencysass(^5.1.5) also resolves to.Changes
reverse()iteration reading the wrongsize(fix(reverseFactory): read reversedSequence.size in __iterator instead of this immutable-js/immutable-js#2196)Repeat.lastIndexOfnow returnssize - 1instead ofsize(fix(Repeat): lastIndexOf returned size instead of size - 1 immutable-js/immutable-js#2227);has(index)on a lazySeqof unknown size now checks index existence instead of searching for a value equal to the index (fix(IndexedCollection):has(index)on a lazySeqof unknown size now checks index existence instead of searching for a value equal to the index immutable-js/immutable-js#2203)Listnow throws aRangeErrorwhen bounds exceed 2^30 values instead of overflowing the 32-bit trie (GHSA-v56q-mh7h-f735).Mapbuilds a seeded secondary index for large hash-collision buckets (16 or more colliding keys) for faster lookups (GHSA-xvcm-6775-5m9r)Listpreservesundefinedvalues when grown past 32 elements (fix(List): preserve undefined values when grown past 32 elements immutable-js/immutable-js#2235)Breaking Changes
None
Code Changes Required
None. The upgrade is a drop-in replacement. The dashboard uses
Map,ListandfromJSwith standard operations, and registersimmutable-devtools, which only readsRecordinternals. It does not useRepeat,Seqorreverse()on Immutable collections. The newListsize limit and theMapcollision index only affect pathological inputs.Tasks
None. This PR changes the manifest and lock file only. Existing tests already exercise
immutable:Config.tableData.test.jsuses a realMap,BrowserCell.test.jsloads a component that usesList/Map, and the e2e tests boot the full dashboard bundle.Summary by CodeRabbit
immutablepackage from version 5.1.5 to 5.1.9.