[Snyk] Upgrade zustand from 4.3.9 to 4.4.1 #15
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 was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade zustand from 4.3.9 to 4.4.1.
ℹ️ 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.
Release notes
Package name: zustand
Fixes some issues reported with the deprecated feature in v4.4.0.
What's Changed
New Contributors
Full Changelog: v4.4.0...v4.4.1
This adds new
zustand/traditional
entry point and deprecates equalityFn fromzustand
.Migration Guide
If you don't use custom
equalityFn
, nothing is required.For those who use custom equalityFn such as
shallow
:import { create } from 'zustand'
const useFooStore = create((set) => ...)
// now
import { createWithEqualityFn } from 'zustand/traditional'
const useFooStore = createWithEqualityFn((set) => ..., Object.is)
// Object.is the default equalityFn which can be changed to shallow or anything else
What's Changed
New Contributors
Full Changelog: v4.3.9...v4.4.0
This includes a small improvement for production build mostly for Vite users. Docs have been improved too!
What's Changed
New Contributors
Full Changelog: v4.3.8...v4.3.9
Commit messages
Package name: zustand
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs