Skip to content

Conversation

@dev-mend-for-github-com
Copy link

@dev-mend-for-github-com dev-mend-for-github-com bot commented Feb 20, 2025

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 below vulnerabilities will be automatically resolved:

Severity CVSS Score Vulnerability Reachability
Medium Medium 6.1 CVE-2022-0235

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

@dev-mend-for-github-com dev-mend-for-github-com bot added the security fix Security fix generated by Mend label Feb 20, 2025
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.

1 participant