immer
immer copied to clipboard
Create the next immutable state by mutating the current one
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.2 to 4.0.8. Release notes Sourced from micromatch's releases. 4.0.8 Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We consider the issues low-priority, so even if you...
## Summary I've put together some updated benchmarks for various versions of Immer and other immutable update libs vs a hand-written reducer, especially since the current docs at https://immerjs.github.io/immer/performance show...
## 🚀 Feature Proposal It would be great to have `isModified` helper, much like `isDraft` or `current` functions. ## Motivation More efficient updates of derived data in draft. Immer currently...
## Findings Map keys are not enumerable properties of the Map object, so the `propertyIsEnumerable` check does not apply to them. This fails the check in `finalizeProperty` of `src/core/finalize.ts`. ##...
## 🐛 Bug Report When I assign "undefined" to the prop "foo" of draft, and the prototype of base has the prop "foo" which is "undefined", the final return value...
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.3.1 to 1.3.2. Changelog Sourced from node-forge's changelog. 1.3.2 - 2025-11-25 Security HIGH: ASN.1 Validator Desynchronization An Interpretation Conflict (CWE-436) vulnerability in node-forge versions 1.3.1 and below...
Stacked on top of #1164 (perf tweaks) and #1183 (finalization callbacks). This PR: - adds a set of interception overrides for both mutating and non-mutating array methods that operate directly...
## 🚀 Feature Proposal Add an optional notfy_ function to the ProxyState that defaults to null. So that the state in createProxyProxy looks like this: ```ts const state: ProxyState =...
This PR: - Adds new options for the `StrictMode` shallow copying option: - `"with_symbols"` is an alias for the current `strict: false` behavior - `"full"` is an alias for the...