Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency flux to v4 #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mend-for-github-com[bot]
Copy link

@mend-for-github-com mend-for-github-com bot commented Feb 29, 2024

This PR contains the following updates:

Package Type Update Change
flux (source) dependencies major 2.1.1 -> 4.0.1

By merging this PR, the issue #2 will be automatically resolved and closed:

Severity CVSS Score CVE Reachability
Medium Medium 6.1 CVE-2022-0235
Low Low 2.6 CVE-2020-15168

Release Notes

facebook/flux (flux)

v4.0.1

Compare Source

  • Upgrade fbemitter dependency to 3.x

v4.0.0

Compare Source

  • Upgrade fbjs dependency to ^3.x
  • Upgrade for Babel 7 compatibility (#​495) (thanks to @​koba04)
  • Added React 17 as a peer dependency

v3.1.3

Compare Source

  • Added support for React 16

v3.1.2

Compare Source

  • No meaningful changes.

v3.1.1

Compare Source

  • No meaningful changes.

v3.1.0

Compare Source

  • Dispatcher: Methods register and unregister can once again be called in
    the middle of a dispatch.

v3.0.0

Compare Source

  • FluxMapStore: Removed. It added very little value over FluxReduceStore.
  • FluxContainer: Subscriptions are setup in constructor rather than
    componentDidMount
  • FluxContainer: Can create containers using stateless functional components
  • FluxContainer: Uses functional version of setState
  • FluxMixin: Subscriptions are setup in componentWillMount rather than
    componentDidMount
  • Dispatcher: Methods register and unregister can not be called in the
    middle of a dispatch
  • React added as peer dependency to flux/utils
  • Package dist/FluxUtils.js alongside dist/Flux.js

Note: This is marked as a breaking change due to the large number of small
changes in FluxContainer. Depending on how coupled code is to the timing of
componentWillMount, componentDidMount, or setting state synchronously it is
possible that there may be some breakages. Generally it should not be an issue.


  • If you want to rebase/retry this PR, check this box

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by Mend label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security fix Security fix generated by Mend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants