build(deps): bump the minor-and-patch group in /app with 3 updates
Bumps the minor-and-patch group in /app with 3 updates: immer, @playwright/test and globals.
Updates immer from 11.2.13 to 11.2.14
Release notes
Sourced from immer's releases.
v11.2.14
This bugfix release makes Immer significantly faster when updating large frozen arrays and storing new data, fixes
useStrictIterationbeing ignored during finalization, and changescurrent()to share untouched parts of the original state.Changelog
Performance Improvements
We've expanded the project's benchmark suite to cover more realistic scenarios: frozen initial state (which is what you have in a real Redux store), chained updates, 10k-item arrays, and storing large API responses as RTK Query does. Running it showed several places where Immer was doing far more work than it needed to.
Freezing: Immer used to deep-freeze the entire result after every
producecall. On a large state, that meant walking every object in the tree, even ones that had not changed and were already frozen. Immer now freezes each modified draft's copy as it finalizes, and walks only the values that are actually new. Toggling one item in a frozen 10k-item array dropped from about 1ms to 11µs.Copying frozen arrays: Copying a frozen array with
slice()turned out to be much slower in V8 than copying with spread syntax.shallowCopynow uses spread for frozen arrays.Proxy traps: The
gettrap now returns primitives before running theisDraftablechecks. Thesettrap skips the prototype walk for own properties. Array drafts call the object traps directly instead of going through anargumentsrewrite. Updates that go through the proxy array, likefind()followed by an assignment, are 10-45% faster.
enableArrayMethodsreordering: Aftersplice,shift,unshift,sort, orreverse, the array methods plugin built aSetof every base item. That made each of those calls O(n), even when nothing read the array afterward. The plugin now builds thatSetonly when it's needed. Removing one item from a 10k-item array is now about 30-40x faster.Walking new data: When you assign new objects into a draft, finalize walks them to find nested drafts and freeze the data. That walk now skips primitives early and uses index loops instead of
forEachclosures. It also usesObject.keysinstead ofReflect.ownKeys, which is what the default loose iteration mode always intended (see the fix below). Storing a newly fetched 1k-item API response is about 2x faster.Combined, comparing 11.2.13 to 11.2.14 with auto-freeze on:
Scenario 11.2.13 11.2.14 Speedup 10k array: toggle one item 1.04ms 11.4µs 91x 10k array: 10 chained toggles 9.92ms 111µs 89x 10k array: add an item 33x 10k array: update via find2.7x 100 items: update 8.9x RTKQ-style action sequence 4.8x Store new 1k-item API response 2.0x 10k array: remove item ( enableArrayMethods)143x 10k array: 10 chained removes ( enableArrayMethods)209x With auto-freeze off, most scenarios are 1.1-1.5x faster. We didn't see any scenario get clearly slower. Our measurements vary by up to ~20% between runs, so treat the smaller numbers as approximate.
useStrictIterationFixImmer 10.2 added
setUseStrictIteration(). In strict mode, Immer looks for drafts nested under symbol and non-enumerable keys when it walks newly assigned objects. Immer 11.0 made loose iteration the default. Turns out the same release also rewrote the finalize walk, and the rewrite dropped the setting. (Oops!) Since 11.0, that walk always used strict iteration, whatever you configured. The setting only affectedcurrent().The walk now follows the setting again. With the default loose mode, you get the faster
Object.keysiteration that was intended all along. If you put drafts inside new objects under symbol or non-enumerable keys, callsetUseStrictIteration(true)to keep them finalized.
current()Structural Sharing
current()used to deep-copy every part of the draft tree that wasn't frozen, including parts you never touched. With auto-freeze off and a large state, onecurrent()call could take tens of milliseconds.current()now returns untouched parts of the original state as is. Thecurrentdocs already described this behavior.If you mutate the result of
current(), you may now be mutating objects that are also part of your original state, when that state isn't frozen. Treat the result as read-only, or copy the parts you plan to change.Other Changes
... (truncated)
Commits
b80ac34fix: Release perf improvements and strict iteration fix from #1390-#1395 (#1396)ac0ce7bMerge pull request #1395 from immerjs/perf/faster-new-data-walk257a0eeMerge pull request #1394 from immerjs/perf/array-proxy-trapsc066058Merge pull request #1393 from immerjs/perf/spread-frozen-arraysdf2fca2Merge pull request #1392 from immerjs/perf/freeze-copies-at-finalizec3f48aeMerge pull request #1391 from immerjs/fix/strict-iteration-finalize30b3835Merge pull request #1390 from immerjs/chore/bench-updatesef0b682Replace any with specific types in the finalize freeze helpers0ece464Replace any with specific types in the freeze walk and scope Setsa830df4Allocate the per-produce handled and patch-tracking Sets only when needed- Additional commits viewable in compare view
Updates @playwright/test from 1.65.1 to 1.65.2
Release notes
Sourced from @playwright/test's releases.
v1.65.2
Bug Fixes
- #44468 chore(deps): bump dependencies with advisories
Commits
be480cbchore: mark v1.65.288e87a9cherry-pick(#44468): chore(deps): bump dependencies with advisories- See full diff in compare view
Updates globals from 17.14.0 to 17.15.0
Release notes
Sourced from globals's releases.
v17.15.0
- Update globals (2026-12-01) (#356) 5fd6e39
https://github.com/sindresorhus/globals/compare/v17.14.0...v17.15.0
Commits
a6fa94e17.15.05fd6e39Update globals (2026-12-01) (#356)- See full diff in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Summary by cubic
Bumps immer to 11.2.14, @playwright/test to 1.65.2, and globals to 17.15.0 in the app package.
immer11.2.14 is a bugfix release with notable performance gains for large frozen arrays and new data walks. Note two behavior changes:setUseStrictIteration()is respected again during finalization, andcurrent()now returns untouched parts of the original state as-is. Treatcurrent()results as read-only when the state isn't frozen.@playwright/test1.65.2 bumps dependencies flagged with security advisories.globals17.15.0 refreshes the global variable list as of 2026-12-01.