fix(deps): update dependency immer to v9 [security] - abandoned #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.1.1->^9.0.0GitHub Vulnerability Alerts
CVE-2020-28477
Overview
Affected versions of immer are vulnerable to Prototype Pollution.
Proof of exploit
Remediation
Version 8.0.1 contains a fix for this vulnerability, updating is recommended.
CVE-2021-23436
This affects the package immer before 9.0.6. A type confusion vulnerability can lead to a bypass of CVE-2020-28477 when the user-provided keys used in the path parameter are arrays. In particular, this bypass is possible because the condition (p === "proto" || p === "constructor") in applyPatches_ returns false if p is ['proto'] (or ['constructor']). The === operator (strict equality operator) returns false if the operands have different type.
CVE-2021-3757
immer is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Release Notes
immerjs/immer
v9.0.6Compare Source
Bug Fixes
path: [["__proto__"], "x"]could still pollute the prototype (fa671e5)v9.0.5Compare Source
Bug Fixes
v9.0.4Compare Source
Bug Fixes
v9.0.3Compare Source
Bug Fixes
Objectto short-circuit taxingFunction.toStringinvocations (#805) (07575f3)v9.0.2Compare Source
Bug Fixes
v9.0.1Compare Source
Bug Fixes
immerablefield being lost during patch value cloning (#771) (e0b7c01)v9.0.0Compare Source
feature
BREAKING CHANGES
nothingfrom a recipe if the target state doesn't acceptundefined.v8.0.4Compare Source
Bug Fixes
v8.0.3Compare Source
Bug Fixes
v8.0.2Compare Source
Bug Fixes
v8.0.1Compare Source
Bug Fixes
v8.0.0Compare Source
feature
BREAKING CHANGES
setAutoFreeze(process.env.NODE_ENV !== 'production')for the old behavior. See https://github.com/immerjs/immer/issues/687#issuecomment-728881754 for the rationale. Fixes #649, #681, #687v7.0.15Compare Source
Bug Fixes
v7.0.14Compare Source
Bug Fixes
v7.0.13Compare Source
Bug Fixes
v7.0.12Compare Source
Bug Fixes
v7.0.11Compare Source
Bug Fixes
v7.0.10Compare Source
Bug Fixes
v7.0.9Compare Source
Bug Fixes
v7.0.8Compare Source
Bug Fixes
v7.0.7Compare Source
Bug Fixes
v7.0.6Compare Source
Bug Fixes
v7.0.5Compare Source
Bug Fixes
v7.0.4Compare Source
Bug Fixes
v7.0.3Compare Source
Bug Fixes
getOwnPropertyDescriptorsis not available in Internet Explorer and Hermes. Fixes #626 (c7a47e2)v7.0.2Compare Source
Bug Fixes
v7.0.1Compare Source
Bug Fixes
currentfor pre-TS 3.7 types (7d6b57b)v7.0.0Compare Source
Introduced
current, which takes a snapshot of the current state of a draft and finalizes it (but without freezing). Current is a great utility to print the current state during debugging (no Proxies in the way), and the output of current can also be safely leaked outside the producer. Implements #441, #591[BREAKING CHANGE] getters and setters are now handled consistently: own getters and setters will always by copied into fields (like Object.assign does), inherited getters and setters will be left as-is. This should allow using Immer directly on objects that trap their fields, like done in Vue or MobX. Fixes #584, #439, #593, #558
[BREAKING CHANGE] produce no longer accepts non-draftable objects as first argument
[BREAKING CHANGE] original can only be called on drafts and will throw otherwise (fixes #605)
[BREAKING CHANGE] non-enumerable and symbolic fields will never be frozen
[BREAKING CHANGE] the patches for arrays are now computed differently to fix some scenarios in which they were incorrect. In some cases they will be more optimal now, in other cases less. Especially splicing / unshifting items into an existing array might result in a lot of patches. Fixes #468
Improved documentation in several areas, there is now a page for typical update patterns and a separate page on how to work with classes. And additional performance tips have been included. Fixes #457, #115, #462
Fixed #462: All branches of the produced state should be frozen
Fixed #588: Inconsistent behavior with nested produce
Fixed #577: Immer might not work with polyfilled symbols
Fixed #514, #609: Explicitly calling useProxies(false) shouldn’t check for the presence of Proxy.
v6.0.9Compare Source
Bug Fixes
v6.0.8Compare Source
Bug Fixes
v6.0.7Compare Source
Bug Fixes
v6.0.6Compare Source
Bug Fixes
v6.0.5Compare Source
Bug Fixes
v6.0.4Compare Source
Bug Fixes
v6.0.3Compare Source
Bug Fixes
v6.0.2Compare Source
Bug Fixes
v6.0.1Compare Source
Bug Fixes
index.d.tstoimmer.d.ts(ed6ba6d)v6.0.0Compare Source
BREAKING CHANGES
v5.3.6Compare Source
Bug Fixes
v5.3.5Compare Source
Bug Fixes
2d27f33(70b44a7)v5.3.4Compare Source
Bug Fixes
v5.3.3Compare Source
Bug Fixes
Setinside patches were not correctly cloned. Fixes #521 (9d8d995)v5.3.2Compare Source
v5.3.0Compare Source
Bug Fixes
Drafted(3711dec)Features
v5.2.1Compare Source
Bug Fixes
v5.2.0Compare Source
Features
v5.1.0Compare Source
Features
v5.0.2Compare Source
Bug Fixes
v5.0.1Compare Source
Bug Fixes
v5.0.0Compare Source
❤ immer? 👉 https://opencollective.com/immer
This release introduces first class support for Maps and Sets!
BREAKING CHANGE: Maps and Sets are treated differently now; they will no longer directly mutated when updated inside a draft
Some things to keep in mind:
add,set,deleteandclearautoFreezeis enabled, the maps and sets returned from a producer will be artificially frozen by making their mutative APIs unusableOpen questions
Draft's, is limited, see #448 for detailsCredits to @runnez, @aigoncharov and @aleclarson for making this happen!
v4.0.2Compare Source
Bug Fixes
v4.0.1Compare Source
Bug Fixes
v4.0.0Compare Source
Features
BREAKING CHANGES
v3.3.0Compare Source
Features
v3.2.1Compare Source
Bug Fixes
v3.2.0Compare Source
Features
v3.1.4Compare Source
Bug Fixes
v3.1.3Compare Source
Bug Fixes
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.