Snyk has created this PR to upgrade immer from 10.0.3 to 10.1.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released on 5 months ago.
performance: Make non-strict mode faster for classes. Addresses #1071 (53e3203). Immer 10.x solved slow iteration for plain JS objects. This update applies the same handling to class instances. In cases this makes class instance handling 3 times faster. Note that this slightly modifies the behavior of Immer with classes in obscure corner cases, in ways that match current documentation, but do not match previous behavior. If you run into issues with this release icmw. class instances, use setUseStrictShallowCopy("class_only") to revert to the old behavior. For more details see https://immerjs.github.io/immer/complex-objects#semantics-in-detail
Snyk has created this PR to upgrade immer from 10.0.3 to 10.1.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released on 5 months ago.
Release notes
Package name: immer
10.1.1 (2024-04-27)
Bug Fixes
applyPatches
to acceptreadonly Patch[]
(#1094) (4da2e0d)10.1.0 (2024-04-27)
Features
setUseStrictShallowCopy("class_only")
to revert to the old behavior. For more details see https://immerjs.github.io/immer/complex-objects#semantics-in-detail10.0.4 (2024-03-09)
Bug Fixes
10.0.3 (2023-10-02)
Bug Fixes
.mjs
file for react-native, which isn't supported by default. Fixes #1058 #1065 (#1075) (f6736a4)Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: