SIGN IN SIGN UP
immerjs / immer UNCLAIMED

Create the next immutable state by mutating the current one

0 0 57 JavaScript

fix: Make `applyPatches` to accept `readonly Patch[]` (#1094)

* Demonstrate possible regression

* Make `Patch[]` arrays `readonly` on the outer bounds

* Limit the change to `applyPatches`

---------

Co-authored-by: Minh Nguyen <2852660+NMinhNguyen@users.noreply.github.com>
M
Mateusz Burzyński committed
4da2e0d5af3c155ba26af1364a7095366adff6ba
Parent: 073d634
Committed by GitHub <noreply@github.com> on 4/27/2024, 8:05:41 PM