flaviuse / mern-authentication

MERN stack authentication boilerplate: password reset, email verification, server sessions, redux, typescript, hooks and docker for dev and prod.
https://mern-auth-client.herokuapp.com/login
MIT License
439 stars 95 forks source link

[Snyk] Upgrade react-redux from 7.2.5 to 7.2.6 #121

Closed snyk-bot closed 2 years ago

snyk-bot commented 2 years ago

Snyk has created this PR to upgrade react-redux from 7.2.5 to 7.2.6.

merge advice :information_source: 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.


The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Information Exposure
SNYK-JS-FOLLOWREDIRECTS-2332181
372/1000
Why? Proof of Concept exploit, CVSS 5.3
Proof of Concept
Information Exposure
SNYK-JS-FOLLOWREDIRECTS-2396346
372/1000
Why? Proof of Concept exploit, CVSS 5.3
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Release notes
Package name: react-redux
  • 7.2.6 - 2021-10-25

    Just a quick fix for a Yarn install warning. Sorry about the noise!

    Changes

    • Remove workspaces from our package.json to silence a Yarn warning (@ timdorr)
  • 7.2.5 - 2021-09-04

    This release shrinks the size of our internal Subscription class, and updates useSelector to avoid an unnecessary selector call on mount.

    Changes

    Subscription Size Refactor

    Our internal Subscription implementation has been written as a class ever since it was added in v5. By rewriting it as a closure factory, we were able to shave a few bytes off the final bundle size.

    useSelector Mount Optimization

    A user noticed that useSelector had never been given an early "bail out if the root state is the same" check to match how connect works. This resulted in a usually-unnecessary second call to the provided selector on mount. We've added that check.

    Entry Point Consolidation

    We've consolidated the list of exported public APIs into a single file, and both the index.js and alternate-renderers.js entry points now re-export everything from that file. No meaningful change here, just shuffling lines of code around for consistency.

    Other Updates

    React-Redux v8 and React 18 Development

    With the announcement of React 18, we've been working with the React team to plan our migration path to keep React-Redux fully compatible with React's upcoming features.

    We've already migrated the React-Redux main development branch to TypeScript, and are prototyping compatibility implementation updates. We'd appreciate any assistance from the community in testing out these changes so that we can ensure React-Redux works great for everyone when React 18 is ready!

    Internal Tooling Updates

    Our master branch now uses Yarn v2 for package management, is built with TypeScript, and we've made CI updates to test against multiple TS versions.

    The 7.x branch has also been updated to use Yarn v2 for consistency.

    These only affect contributors to the React-Redux package itself.

    Changelog

    v7.2.4...v7.2.5

from react-redux GitHub release notes
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