fix(deps): update dependency immer to v9 [security] - abandoned #2575
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:
^5.0.0
->^9.0.0
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
GitHub 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.19
Compare Source
Bug Fixes
v9.0.18
Compare Source
Bug Fixes
v9.0.17
Compare Source
Bug Fixes
v9.0.16
Compare Source
Bug Fixes
v9.0.15
Compare Source
Bug Fixes
v9.0.14
Compare Source
Bug Fixes
v9.0.13
Compare Source
Bug Fixes
v9.0.12
Compare Source
Bug Fixes
v9.0.11
Compare Source
Bug Fixes
delete
on arrays. Fixes #879 (d91a659)v9.0.10
Compare Source
Bug Fixes
v9.0.9
Compare Source
Bug Fixes
v9.0.8
Compare Source
Bug Fixes
v9.0.7
Compare Source
Bug Fixes
v9.0.6
Compare Source
Bug Fixes
path: [["__proto__"], "x"]
could still pollute the prototype (fa671e5)v9.0.5
Compare Source
Bug Fixes
v9.0.4
Compare Source
Bug Fixes
v9.0.3
Compare Source
Bug Fixes
Object
to short-circuit taxingFunction.toString
invocations (#805) (07575f3)v9.0.2
Compare Source
Bug Fixes
v9.0.1
Compare Source
Bug Fixes
immerable
field being lost during patch value cloning (#771) (e0b7c01)v9.0.0
Compare Source
feature
BREAKING CHANGES
nothing
from a recipe if the target state doesn't acceptundefined
.v8.0.4
Compare Source
Bug Fixes
v8.0.3
Compare Source
Bug Fixes
v8.0.2
Compare Source
Bug Fixes
v8.0.1
Compare Source
Bug Fixes
v8.0.0
Compare 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.15
Compare Source
Bug Fixes
v7.0.14
Compare Source
Bug Fixes
v7.0.13
Compare Source
Bug Fixes
v7.0.12
Compare Source
Bug Fixes
v7.0.11
Compare Source
Bug Fixes
v7.0.10
Compare Source
Bug Fixes
v7.0.9
Compare Source
Bug Fixes
v7.0.8
Compare Source
Bug Fixes
v7.0.7
Compare Source
Bug Fixes
v7.0.6
Compare Source
Bug Fixes
v7.0.5
Compare Source
Bug Fixes
v7.0.4
Compare Source
Bug Fixes
v7.0.3
Compare Source
Bug Fixes
getOwnPropertyDescriptors
is not available in Internet Explorer and Hermes. Fixes #626 (c7a47e2)v7.0.2
Compare Source
Bug Fixes
v7.0.1
Compare Source
Bug Fixes
current
for pre-TS 3.7 types (7d6b57b)v7.0.0
Compare 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.9
Compare Source
Bug Fixes
v6.0.8
Compare Source
Bug Fixes
v6.0.7
Compare Source
Bug Fixes
v6.0.6
Compare Source
Bug Fixes
v6.0.5
Compare Source
Bug Fixes
v6.0.4
Compare Source
Bug Fixes
v6.0.3
Compare Source
Bug Fixes
v6.0.2
Compare Source
Bug Fixes
v6.0.1
Compare Source
Bug Fixes
index.d.ts
toimmer.d.ts
(ed6ba6d)v6.0.0
Compare Source
BREAKING CHANGES
Configuration
📅 Schedule: Branch creation - "" in timezone America/Los_Angeles, 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.