Skip to content

build(deps): bump the minor-and-patch group in /app with 3 updates - #468

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/app/minor-and-patch-e5bf523b55
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/app/minor-and-patch-e5bf523b55

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

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 useStrictIteration being ignored during finalization, and changes current() 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 produce call. 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. shallowCopy now uses spread for frozen arrays.

Proxy traps: The get trap now returns primitives before running the isDraftable checks. The set trap skips the prototype walk for own properties. Array drafts call the object traps directly instead of going through an arguments rewrite. Updates that go through the proxy array, like find() followed by an assignment, are 10-45% faster.

enableArrayMethods reordering: After splice, shift, unshift, sort, or reverse, the array methods plugin built a Set of every base item. That made each of those calls O(n), even when nothing read the array afterward. The plugin now builds that Set only 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 forEach closures. It also uses Object.keys instead of Reflect.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 find 2.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.

useStrictIteration Fix

Immer 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 affected current().

The walk now follows the setting again. With the default loose mode, you get the faster Object.keys iteration that was intended all along. If you put drafts inside new objects under symbol or non-enumerable keys, call setUseStrictIteration(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, one current() call could take tens of milliseconds. current() now returns untouched parts of the original state as is. The current docs 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
  • b80ac34 fix: Release perf improvements and strict iteration fix from #1390-#1395 (#1396)
  • ac0ce7b Merge pull request #1395 from immerjs/perf/faster-new-data-walk
  • 257a0ee Merge pull request #1394 from immerjs/perf/array-proxy-traps
  • c066058 Merge pull request #1393 from immerjs/perf/spread-frozen-arrays
  • df2fca2 Merge pull request #1392 from immerjs/perf/freeze-copies-at-finalize
  • c3f48ae Merge pull request #1391 from immerjs/fix/strict-iteration-finalize
  • 30b3835 Merge pull request #1390 from immerjs/chore/bench-updates
  • ef0b682 Replace any with specific types in the finalize freeze helpers
  • 0ece464 Replace any with specific types in the freeze walk and scope Sets
  • a830df4 Allocate 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

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

sindresorhus/globals@v17.14.0...v17.15.0

Commits

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 <dependency name> major version will 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 version will 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.

  • immer 11.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, and current() now returns untouched parts of the original state as-is. Treat current() results as read-only when the state isn't frozen.
  • @playwright/test 1.65.2 bumps dependencies flagged with security advisories.
  • globals 17.15.0 refreshes the global variable list as of 2026-12-01.

Written for commit eaa12c7. Summary will update on new commits.

View guided diff Turn on auto-fix

Bumps the minor-and-patch group in /app with 3 updates: [immer](https://github.com/immerjs/immer), [@playwright/test](https://github.com/microsoft/playwright) and [globals](https://github.com/sindresorhus/globals).


Updates `immer` from 11.2.13 to 11.2.14
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](immerjs/immer@v11.2.13...v11.2.14)

Updates `@playwright/test` from 1.65.1 to 1.65.2
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.65.1...v1.65.2)

Updates `globals` from 17.14.0 to 17.15.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](sindresorhus/globals@v17.14.0...v17.15.0)

---
updated-dependencies:
- dependency-name: immer
  dependency-version: 11.2.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@playwright/test"
  dependency-version: 1.65.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: globals
  dependency-version: 17.15.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 5, 2026
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.

0 participants