Update dependency immer to v8 [SECURITY] #135
Merged
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:
6.0.1
->8.0.1
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.
Release Notes
immerjs/immer
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 Idea: always freeze +freeze
export immerjs/immer#687 (comment) 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
Configuration
📅 Schedule: "" (UTC).
🚦 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 WhiteSource Renovate. View repository job log here.