Open
Conversation
Snyk has created this PR to upgrade react-redux from 8.0.2 to 8.0.5. See this package in npm: https://www.npmjs.com/package/react-redux See this project in Snyk: https://app.snyk.io/org/ankushmalhotragithub/project/44098999-7ac1-477c-89d5-99255aa83f44?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Snyk has created this PR to upgrade react-redux from 8.0.2 to 8.0.5.
ℹ️ 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: react-redux
-
8.0.5 - 2022-11-04
- wrap
- Fix wrapped component prop types when passing nullish mapDispatchToProps by @ marconi1992 in #1928
-
8.0.4 - 2022-09-23
- Don't require allowSyntheticDefaultImports: true by @ apepper in #1924
- Fixed type issue with
- connect: pass ownProps to areStatesEqual by @ jspurlin in #1951
- Omit built-in context prop if user component props include context by @ markerikson in #1958
-
8.0.3 - 2022-09-23
-
8.0.2 - 2022-05-22
- Show warning instead of throwing error that pure option has been removed by @ ApacheEx in #1922
from react-redux GitHub release notesThis release fixes a few minor TS issues.
What's Changed
Provider: pass state (S) generic through toProviderPropsby @ OliverJAsh in #1960equalityFntype inNoInferby @ phryneas in #1965Full Changelog: v8.0.4...v8.0.5
This patch release fixes some minor TS types issues, and updates the rarely-used
areStatesEqualoption forconnectto now pass throughownPropsfor additional use in determining which pieces of state to compare if desired.Changelog
TS Fixes
We've fixed an import of
Reactthat caused issues with theallowSyntheticDefaultImportsTS compiler flag in user projects.connectalready accepted a custom context instance asprops.context, and had runtime checks in case users were passing through a real value with app data asprops.contextinstead. However, the TS types did not handle that case, and this would fail to compile. If your own component expectsprops.contextwith actual data,connect's types now use that type instead.The
ConnectedProps<T>type had a mismatch with React's built-inReact.ComponentProps<Component>type, and that should now work correctly.Other Changes
The
areStatesEqualoption toconnectnow receivesownPropsas well, in case you need to make a more specific comparison with certain sections of state.The new signature is:
What's Changed
ComponentPropsfrom older@ types/reactby @ Andarist in #1956Full Changelog: v8.0.2...v8.0.4
This release was accidentally published without an intended fix - please use v8.0.4 instead
This patch release tweaks the behavior of
connectto print a one-time warning when the obsoletepureoption is passed in, rather than throwing an error. This fixes crashes caused by libraries such asreact-beautiful-dndcontinuing to pass in that option (unnecessarily) to React-Redux v8.What's Changed
Full Changelog: v8.0.1...v8.0.2
Commit messages
Package name: react-redux
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