SIGN IN SIGN UP
immerjs / immer UNCLAIMED

Create the next immutable state by mutating the current one

0 0 57 JavaScript

fix: non-enumerable (immutable) methods on Map/Set (#1069)

when an immer object includes a Map/Set, the mutating methods are replaced with ones that prevent mutation outside of the procude function.  
to prevent cluttering the console when inspecting the Map/Set, these methods are set to non-enumerable. this behavior also matches that of the original methods that are replaced.
G
gimelg committed
aa24400ea1f53b20927ac3619ea4fcd98c3a2172
Parent: b4f71a6
Committed by GitHub <noreply@github.com> on 9/1/2025, 6:08:39 PM