SIGN IN SIGN UP
immerjs / immer UNCLAIMED

Create the next immutable state by mutating the current one

0 0 57 JavaScript

fix: Fix broken array patching and ensure all values in draft Maps/Sets are finalized (#1201)

* Remove hardcoded key_ field name check

* Only build for `test:build` command

* Rewrite Vitest prod build config to ensure prod build is used

* Add tests for prod patch paths

* Ensure plain values in draft maps/sets get finalized

* Work around an error with prod tests

Somehow was seeing an error with `each` "not existing" on startup when running the prod build tests

* Fix test run
M
Mark Erikson committed
b208d58698e5a72c64d55bb467b9e7c9fd00c92a
Parent: d626513
Committed by GitHub <noreply@github.com> on 12/28/2025, 4:45:04 PM