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

[Snyk] Upgrade: react-dom, asn1-ber, electron-debug, history, react-animated-css, react-copy-to-clipboard, react-hot-loader, react-json-view, react-motion-loop, redux, redux-thunk, semantic-ui-css, source-map-support #4

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

Conversation

kalbroni7
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯‍♂ The following dependencies are linked and will therefore be updated together.

ℹ️ 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.

Name Versions Released on

react-dom
from 16.4.1 to 16.14.0 | 35 versions ahead of your current version | 4 years ago
on 2020-10-14
asn1-ber
from 1.0.9 to 1.2.2 | 8 versions ahead of your current version | 2 years ago
on 2022-06-07
electron-debug
from 1.4.0 to 1.5.0 | 1 version ahead of your current version | 7 years ago
on 2018-01-02
history
from 4.7.2 to 4.10.1 | 5 versions ahead of your current version | 5 years ago
on 2019-09-13
react-animated-css
from 1.0.4 to 1.2.1 | 3 versions ahead of your current version | 5 years ago
on 2019-05-17
react-copy-to-clipboard
from 5.0.1 to 5.1.0 | 4 versions ahead of your current version | 2 years ago
on 2022-04-13
react-hot-loader
from 4.3.3 to 4.13.1 | 60 versions ahead of your current version | 2 years ago
on 2022-11-13
react-json-view
from 1.19.1 to 1.21.3 | 10 versions ahead of your current version | 4 years ago
on 2021-03-09
react-motion-loop
from 2.0.0 to 2.0.2 | 2 versions ahead of your current version | 5 years ago
on 2019-11-15
redux
from 4.0.0 to 4.2.1 | 12 versions ahead of your current version | 2 years ago
on 2023-01-28
redux-thunk
from 2.3.0 to 2.4.2 | 3 versions ahead of your current version | 2 years ago
on 2022-11-04
semantic-ui-css
from 2.3.2 to 2.5.0 | 4 versions ahead of your current version | 2 years ago
on 2022-10-06
source-map-support
from 0.5.6 to 0.5.21 | 15 versions ahead of your current version | 3 years ago
on 2021-11-19

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Code Injection
SNYK-JS-LODASH-1040724
63 Proof of Concept
high severity Prototype Pollution
SNYK-JS-LODASH-450202
63 Proof of Concept
high severity Prototype Pollution
SNYK-JS-LODASH-567746
63 Proof of Concept
high severity Prototype Pollution
SNYK-JS-LODASH-608086
63 Proof of Concept
high severity Prototype Pollution
SNYK-JS-LODASH-6139239
63 Proof of Concept
high severity Prototype Pollution
SNYK-JS-LODASH-73638
63 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-LODASH-1018905
63 Proof of Concept
medium severity Cross-site Scripting (XSS)
npm:react-dom:20180802
63 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-LODASH-73639
63 Proof of Concept
Release notes
Package name: react-dom from react-dom GitHub release notes
Package name: asn1-ber
  • 1.2.2 - 2022-06-07
  • 1.2.1 - 2022-06-07
  • 1.2.0 - 2022-06-07
  • 1.1.4 - 2022-06-06
  • 1.1.3 - 2022-06-06
  • 1.1.2 - 2021-12-07
  • 1.1.1 - 2021-06-20
  • 1.1.0 - 2020-06-08
  • 1.0.9 - 2018-06-07

    Fix some Markdown formatting under the Changes section in README.md

from asn1-ber GitHub release notes
Package name: electron-debug from electron-debug GitHub release notes
Package name: history
  • 4.10.1 - 2019-09-13
    • Fixes some issues with using hash history on a page with a <base> tag (#577, #578)
  • 4.10.0 - 2019-09-11
    • Allows basename URL prefixes with special regex characters (#566, #544)
  • 4.9.0 - 2019-03-15

    The main change in this release is pre-bundled single-file builds for both development and production environments. This is not a breaking change, since we still support old-style require('history/createBrowserHistory') statements for now. However, these are deprecated in favor of importing/requireing from the main module.

    Please see the release notes for 4.98.0-beta.0 for more info.

  • 4.9.0-beta.2 - 2018-12-04

    Version 4.9.0-beta.2

  • 4.8.0-beta.0 - 2018-10-30

    In 4.8.0 we will ship a single bundle for each module format (CJS, ESM, and UMD) using Rollup.

    In this release we are deprecating support for

    import createHistory from "history/createMemoryHistory";
    // and
    var createHistory = require('history/createMemoryHistory');

    Instead, use:

    import { createMemoryHistory as createHistory } from "history";
    // and
    var createHistory = require("history").createMemoryHistory;

    together with a bundler that supports tree-shaking (Rollup or webpack 4 in production mode) to get your bundle sizes down.

    Fixes

  • 4.7.2 - 2017-08-23

    Version 4.7.2

from history GitHub release notes
Package name: react-animated-css
  • 1.2.1 - 2019-05-17
  • 1.2.0 - 2019-05-12
  • 1.0.5 - 2019-04-09
  • 1.0.4 - 2018-02-20
from react-animated-css GitHub release notes
Package name: react-copy-to-clipboard
  • 5.1.0 - 2022-04-13

    Minor:

    • Added React 18 peer dependency

    Chore:

    • Update example code to use React 18 / Strict mode
    • Switch to Yarn v3
    • Upgrade all the dev dependencies to the most recent versions
  • 5.0.4 - 2021-08-17
    • Added jinno reference to the README
  • 5.0.3 - 2021-01-12

    Fixed:

    • #150 Add React v17 peer dependency @ arnabsen
    • #4262bd0b Upgrade to the latest copy-to-clipboard
  • 5.0.2 - 2019-11-08

    Chore

    • #124 Upgrade dev dependencies and build
  • 5.0.1 - 2017-09-30

    5.0.1

from react-copy-to-clipboard GitHub release notes
Package name: react-hot-loader
  • 4.13.1 - 2022-11-13

    4.13.1

  • 4.13.0 - 2020-09-22

    Bug Fixes

    • tailUpdate might be blocked by a PureComponent (#1448) (e44103a)
    • provide "hot fallback" when module.hot is not truthy (#1451) (ec3447f)

    Features

  • 4.12.21 - 2020-04-30
  • 4.12.20 - 2020-03-14

    chore(release): 4.12.20

  • 4.12.19 - 2020-01-22

    Bug Fixes

  • 4.12.18 - 2019-11-16

    Bug Fixes

    • (regression) hook order change is causing React error, fixes #1393 (6707b4b)
    • production babel plugin might perform eager replacement, fixes #1388 (b94adb3)
  • 4.12.17 - 2019-11-12

    Bug Fixes

    • move @ types/react from to peer dependencies, fixes #1391 (5ab2cab)
  • 4.12.16 - 2019-11-06

    Bug Fixes

    • dont write to elementType if it is not defined, fixes #1357 (1072303)
    • explain why RHL could not be activated, fixes #1362 (9561d66)
    • more @ types/react to dependencies, fixes #1359 (af42c1a)
    • use logger.warn instead of console to report tail update, fixes #1386 (fbc890a)
  • 4.12.15 - 2019-10-08

    Bug Fixes

  • 4.12.14 - 2019-09-23

    Bug Fixes

    • autodetect underupdated state and trigger an automatic update, fixes #1342 (33c54f5)
    • resolve all components to their last versions, #1342 (62bc67e)
  • 4.12.13 - 2019-09-12

    Bug Fixes

    • error overlay should not be injected into the first instance, fixes #1337 (c019663)
    • return null for null types, fixes #1324 (08d7ed1)
    • run hot in batched mode, fixes #1332 (e801daf)
  • 4.12.12 - 2019-08-27
  • 4.12.11 - 2019-08-12
  • 4.12.10 - 2019-07-27
  • 4.12.9 - 2019-07-23
  • 4.12.8 - 2019-07-18
  • 4.12.7 - 2019-07-16
  • 4.12.6 - 2019-07-10
  • 4.12.5 - 2019-07-07
  • 4.12.4 - 2019-07-06
  • 4.12.3 - 2019-07-04
  • 4.12.2 - 2019-07-03
  • 4.12.1 - 2019-07-03
  • 4.12.0 - 2019-06-30
  • 4.11.2 - 2019-06-30
  • 4.11.1 - 2019-06-15
  • 4.11.0 - 2019-06-10
  • 4.10.0 - 2019-06-02
  • 4.9.0 - 2019-06-02
  • 4.8.8 - 2019-05-23
  • 4.8.7 - 2019-05-20
  • 4.8.6 - 2019-05-18
  • 4.8.5 - 2019-05-16
  • 4.8.4 - 2019-04-15
  • 4.8.3 - 2019-04-05
  • 4.8.2 - 2019-03-30
  • 4.8.0 - 2019-03-07
  • 4.7.2 - 2019-03-04
  • 4.7.1 - 2019-02-20
  • 4.7.0 - 2019-02-18
  • 4.6.5 - 2019-01-31
  • 4.6.4 - 2019-01-31
  • 4.6.3 - 2018-12-19
  • 4.6.2 - 2018-12-18
  • 4.6.1 - 2018-12-17
  • 4.6.0 - 2018-12-13
  • 4.5.3 - 2018-12-07
  • 4.5.2 - 2018-12-06
  • 4.5.1 - 2018-11-21
  • 4.5.0 - 2018-11-20
  • 4.4.0 - 2018-11-10
  • 4.4.0-1 - 2018-11-10
  • 4.3.12 - 2018-11-01
  • 4.3.11 - 2018-09-20
  • 4.3.10 - 2018-09-20
  • 4.3.8 - 2018-09-15
  • 4.3.7 - 2018-09-13
  • 4.3.6 - 2018-09-04
  • 4.3.5 - 2018-08-23
  • 4.3.4 - 2018-07-25
  • 4.3.3 - 2018-06-15
from react-hot-loader GitHub release notes
Package name: react-json-view
  • 1.21.3 - 2021-03-09
  • 1.21.2 - 2021-03-08
  • 1.21.1 - 2021-02-05
  • 1.21.0 - 2021-02-05
  • 1.20.5 - 2021-02-03
  • 1.20.4 - 2021-01-25
  • 1.20.3 - 2021-01-24
  • 1.20.2 - 2021-01-19
  • 1.20.1 - 2021-01-19
  • 1.20.0 - 2021-01-17
  • 1.19.1 - 2018-07-24
from react-json-view GitHub release notes
Package name: react-motion-loop
  • 2.0.2 - 2019-11-15

    Chore

    • Fix README (add proper GIF animated demo)
    • Add React.Strict to Example
  • 2.0.1 - 2019-11-15

    Chore

    • #26 Upgrade dev dependencies and build
  • 2.0.0 - 2017-05-17

    Breaking:

    • Support React >= 15.3
    • Support ReactMotion >= 0.5
    • Drop Bower support

    Added:

    • Default export ReactMotionLoop

    Misc:

    • Much better build
    • ES6 Classes
from react-motion-loop GitHub release notes
Package name: redux
  • 4.2.1 - 2023-01-28

    This bugfix release removes the isMinified internal check to fix a compat issue with Expo. That check has added in early 2016, soon after Redux 3.0 was released, at a time when it was still less common to use bundlers with proper production build settings. Today that check is irrelevant, so we've removed it.

    What's Changed

    Full Changelog: v4.2.0...v4.2.1

  • 4.2.0 - 2022-04-18

    This release marks the original createStore API as @ deprecated to encourage users to migrate to Redux Toolkit, and adds a new legacy_createStore API as an alias without the deprecation warning.

    Goal

    Redux Toolkit (the @ reduxjs/toolkit package) is the right way for Redux users to write Redux code today:

    https://redux.js.org/introduction/why-rtk-is-redux-today

    Unfortunately, many tutorials are still showing legacy "hand-written" Redux patterns, which result in a much worse experience for users. New learners going through a bootcamp or an outdated Udemy course just follow the examples they're being shown, don't know that RTK is the better and recommended approach, and don't even think to look at our docs.

    Given that, the goal is to provide them with a visual indicator in their editor, like createStore . When users hover over the createStore import or function call, the doc tooltip recommends using configureStore from RTK instead, and points them to that docs page. We hope that new learners will see the strikethrough, read the tooltip, read the docs page, learn about RTK, and begin using it.

    To be extremely clear:

    WE ARE NOT GOING TO ACTUALLY REMOVE THE createStore API, AND ALL YOUR EXISTING CODE WILL STILL CONTINUE TO WORK AS-IS!

    We are just marking createStore as "deprecated":

    "the discouragement of use of some feature or practice, typically because it has been superseded or is no longer considered efficient or safe, without completely removing it or prohibiting its use"

    For additional details, see the extensive discussion in #4325 .

    Rationale

    • RTK provides a vastly improved Redux usage experience, with APIs that simplify standard usage patterns and eliminate common bugs like accidental mutations
    • We've had suggestions to merge all of RTK into the redux core package, or fully deprecate the entire redux package and rename it to @ reduxjs/core. Unfortunately, those bring up too many complexities:
      • We already had a package rename from redux-starter-kit to @ reduxjs/toolkit, and all of our docs and tutorials have pointed to it for the last three years. I don't want to put users through another whiplash package transition for no real benefit
      • Merging or rearranging our packages would effectively require merging all of the Redux repos into a single monorepo. That would require hundreds of hours of effort from us maintainers, including needing to somehow merge all of our docs sites together. We don't have the time to do that.
    • I don't want to add runtime warnings that would be really annoying

    So, this is the minimum possible approach we can take to reach out to users who otherwise would never know that they are following outdated patterns, while avoiding breaking running user code or having to completely rewrite our package and repo structure.

    Results

    When a user imports createStore in their editor, they will see a visual strikethrough. Hovering over it will show a doc tooltip that encourages them to use configureStore from RTK, and points to an explanatory docs page:

    image

    Again, no broken code, and no runtime warnings.

    If users do not want to see that strikethrough, they have three options:

    • Follow our suggestion to switch over to Redux Toolkit and configureStore
    • Do nothing. It's just a visual strikethrough, and it doesn't affect how your code behaves. Ignore it.
    • Switch to using the legacy_createStore API that is now exported, which is the exact same function but with no @ deprecation tag. The simplest option is to do an aliased import rename:

    image

    What's Changed

    • Mark createStore as deprecated, and add legacy_createStore alias by @ markerikson in #4336

    Full Changelog: v4.1.2...v4.2.0

  • 4.2.0-alpha.0 - 2021-10-30

    4.2.0-alpha.0

  • 4.1.2 - 2021-10-28

    This release fixes a small specific TS types issue where state types that had a nested unknown field inside would cause compilation failures when used as the preloadedState argument.

    What's Changed

    Full Changelog: v4.1.1...v4.1.2

  • 4.1.1 - 2021-08-03

    Just a small fix for Safari users in development mode.

    Changes

    • Move miniKindOf out of if scope to fix ES5 compatibility issue (#4090 by @ embeddedt)
  • 4.1.0 - 2021-04-24

    This release shrinks our bundle size via error message extraction, updates several error messages for clarity, and optimizes our list of runtime dependencies.

    Overall, version 4.1 shrinks from 2.6K min+gz to 1.6K min+gz thanks to these changes.

    Be sure to check out the Redux Toolkit 1.6 alpha containing our new "RTK Query" data fetching APIs! It also includes Redux 4.1 as a dependency.

    Changelog

    Error Message Extraction and Improvements

    We now extract all of our error messages from production builds in order to save on bundle size, using a technique inspired from React's error code extraction. The error messages will still show as normal in development, but in production they will reference a specific numeric error code and provide a link to a Redux docs page that has the full error message.

    An example of this is: https://redux.js.org/errors?code=5 , which shows the "can't subscribe while reducers are executing" error.

    The error code extraction saves about 800 bytes out of a production build.

    Thanks to @ andrewmcgivery for doing all the hard work on implementing the error extraction!

    We've also updated many of our error messages to provide additional details at runtime about what happened, especially runtime type checks such as "actions must be plain objects". They now provide a more specific type for the unexpected value, such as indicating promise or function:

    Changes
  • 4.1.0-alpha.0 - 2021-04-04

    This pre-release for 4.1.0 shrinks our bundle size via tooling updates, and updates several error messages for clarity. This is all the changes we plan to have for 4.1, so if feedback looks good, we'll release 4.1.0 shortly.

    Changelog Summary

    The 4.1.0 release will have a more complete changelog, but summarizing:

    • Shrinks our bundle sizes by extracting error messages from production builds and replacing them with error codes (similar to React). Thanks to @ andrewmcgivery for implementing this!
    • Inlines the symbol-observable polyfill
    • Drops the legacy loose-envify dependency
    • Externalizes the @ babel/runtime helpers
    • Fixed a TS typedef to work better with TS 4.3

    We've also updated the error messages to clarify what's happening, provide more details when runtime type checks fail, and link to relevant documentation.

    Changes

    • Merge pull request #4058 from reduxjs/feature/4x-remove-legacy-deps 9a1d065
    • Inline the symbol-observable polyfill 0d7d94d
    • Remove symbol-observable and loose-envify deps b882d9a
    • Merge pull request #4057 from reduxjs/feature/4x-error-messages f3680b5
    • Port error message updates from master 46f5c94
    • Port error extraction setup from master 05d5505
    • Merge pull request #4056 from reduxjs/feature/4x-updat...

Snyk has created this PR to upgrade:
  - react-dom from 16.4.1 to 16.14.0.
    See this package in npm: https://www.npmjs.com/package/react-dom
  - asn1-ber from 1.0.9 to 1.2.2.
    See this package in npm: https://www.npmjs.com/package/asn1-ber
  - electron-debug from 1.4.0 to 1.5.0.
    See this package in npm: https://www.npmjs.com/package/electron-debug
  - history from 4.7.2 to 4.10.1.
    See this package in npm: https://www.npmjs.com/package/history
  - react-animated-css from 1.0.4 to 1.2.1.
    See this package in npm: https://www.npmjs.com/package/react-animated-css
  - react-copy-to-clipboard from 5.0.1 to 5.1.0.
    See this package in npm: https://www.npmjs.com/package/react-copy-to-clipboard
  - react-hot-loader from 4.3.3 to 4.13.1.
    See this package in npm: https://www.npmjs.com/package/react-hot-loader
  - react-json-view from 1.19.1 to 1.21.3.
    See this package in npm: https://www.npmjs.com/package/react-json-view
  - react-motion-loop from 2.0.0 to 2.0.2.
    See this package in npm: https://www.npmjs.com/package/react-motion-loop
  - redux from 4.0.0 to 4.2.1.
    See this package in npm: https://www.npmjs.com/package/redux
  - redux-thunk from 2.3.0 to 2.4.2.
    See this package in npm: https://www.npmjs.com/package/redux-thunk
  - semantic-ui-css from 2.3.2 to 2.5.0.
    See this package in npm: https://www.npmjs.com/package/semantic-ui-css
  - source-map-support from 0.5.6 to 0.5.21.
    See this package in npm: https://www.npmjs.com/package/source-map-support

See this project in Snyk:
https://app.snyk.io/org/kalbroni7/project/d209705e-d341-4c93-816f-31026f4fad81?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/runtime@7.25.6 None 0 248 kB nicolo-ribaudo
npm/aria-query@3.0.0 None 0 123 kB jessebeach
npm/asn1-ber@1.2.2 None 0 62.4 kB markabrahams
npm/ast-types-flow@0.0.7 None 0 125 kB kyldvs
npm/axobject-query@2.2.0 None 0 98.8 kB jessebeach
npm/base-x@3.0.10 None 0 9.36 kB junderw
npm/bigi@1.4.2 None 0 44.4 kB jprichardson
npm/binaryen@37.0.0 None 0 2.45 MB dcode
npm/bs58@4.0.1 None 0 4.57 kB dcousens
npm/bytebuffer@5.0.1 None 0 982 kB dcode
npm/camel-case@3.0.0 None 0 2.99 kB blakeembrey
npm/copy-to-clipboard@3.3.3 None 0 15.1 kB sudodoki
npm/cross-fetch@3.1.8 network 0 75.1 kB lquixada
npm/ecurve@1.0.6 None 0 18.7 kB dcousens
npm/electron-debug@1.5.0 None 0 7.93 kB sindresorhus
npm/emoji-regex@6.5.1 None 0 35.4 kB mathias
npm/eosjs-api@7.0.4 network 0 205 kB jamesc
npm/eosjs-ecc@4.0.4 None 0 1.24 MB jamesc
npm/eosjs@16.0.9 None 0 2.19 MB jamesc
npm/eslint-plugin-jsx-a11y@6.1.0 None 0 730 kB evcohen
npm/exact-math@1.0.0 None 0 9.92 kB devrafalko
npm/fbemitter@3.0.0 environment 0 21.8 kB yangshun
npm/fbjs-css-vars@1.0.2 None 0 3.69 kB zpao
npm/fcbuffer@2.2.2 None 0 73.9 kB jamesc
npm/flux@4.0.4 environment 0 260 kB yangshun
npm/history@4.10.1 environment 0 122 kB mjackson
npm/ieee-float@0.6.0 None 0 44.6 kB andrasq
npm/lodash@4.17.21 None 0 1.41 MB bnjmnt4n
npm/lower-case@1.1.4 None 0 4.78 kB blakeembrey
npm/no-case@2.3.2 None 0 30.8 kB blakeembrey

🚮 Removed packages: npm/@babel/runtime@7.0.0-beta.54, npm/asn1-ber@1.0.9, npm/copy-to-clipboard@3.0.8, npm/electron-debug@1.4.0, npm/fbemitter@2.1.1, npm/flux@3.1.3, npm/history@4.7.2, npm/lodash@4.17.10, npm/normalize-selector@0.2.0, npm/normalize-url@1.9.1, npm/npm-install-package@2.1.0, npm/npm-logical-tree@1.2.1, npm/npm-path@2.0.4, npm/npm-run-path@2.0.2, npm/npm-which@3.0.1, npm/npmlog@4.1.2, npm/nth-check@1.0.1, npm/nugget@2.0.1, npm/num2fraction@1.2.2, npm/number-is-nan@1.0.1, npm/nwmatcher@1.4.4, npm/nwsapi@2.0.6, npm/oauth-sign@0.8.2, npm/object-assign@4.1.1, npm/object-copy@0.1.0, npm/object-inspect@1.6.0, npm/object-is@1.0.1, npm/object-keys@0.4.0, npm/object-visit@1.0.1

View full report↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment