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: , , , , , , axios, react-router-dom #39

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

Conversation

danial117
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

@emotion/styled
from 11.11.5 to 11.13.0 | 2 versions ahead of your current version | 2 months ago
on 2024-07-20
@emotion/react
from 11.11.4 to 11.13.3 | 3 versions ahead of your current version | 24 days ago
on 2024-08-21
@mui/icons-material
from 5.15.17 to 5.16.7 | 12 versions ahead of your current version | a month ago
on 2024-08-09
@mui/material
from 5.15.17 to 5.16.7 | 12 versions ahead of your current version | a month ago
on 2024-08-09
@reduxjs/toolkit
from 2.2.5 to 2.2.7 | 2 versions ahead of your current version | 2 months ago
on 2024-07-27
@tanstack/react-query
from 5.40.1 to 5.52.1 | 26 versions ahead of your current version | 23 days ago
on 2024-08-22
axios
from 1.7.2 to 1.7.5 | 3 versions ahead of your current version | 22 days ago
on 2024-08-23
react-router-dom
from 6.23.0 to 6.26.1 | 16 versions ahead of your current version | a month ago
on 2024-08-15

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Server-side Request Forgery (SSRF)
SNYK-JS-AXIOS-7361793
761 Proof of Concept
Release notes
Package name: @emotion/styled
  • 11.13.0 - 2024-07-20

    Minor Changes

    • #3198 d8ff8a5 Thanks @ Andarist! - Migrated away from relying on process.env.NODE_ENV checks to differentiate between production and development builds.

      Development builds (and other environment-specific builds) can be used by using proper conditions (see here). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken.

      Default files should continue to work in all environments.

    • #3215 a9f6912 Thanks @ Andarist! - Added edge-light and workerd conditions to package.json manifest to better serve users using Vercel Edge and Cloudflare Workers.

    Patch Changes

  • 11.12.0 - 2024-07-19
  • 11.11.5 - 2024-03-29
from @emotion/styled GitHub release notes
Package name: @emotion/react
  • 11.13.3 - 2024-08-21

    Patch Changes

  • 11.13.0 - 2024-07-20

    Minor Changes

    • #3198 d8ff8a5 Thanks @ Andarist! - Migrated away from relying on process.env.NODE_ENV checks to differentiate between production and development builds.

      Development builds (and other environment-specific builds) can be used by using proper conditions (see here). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken.

      Default files should continue to work in all environments.

    • #3215 a9f6912 Thanks @ Andarist! - Added edge-light and workerd conditions to package.json manifest to better serve users using Vercel Edge and Cloudflare Workers.

    Patch Changes

  • 11.12.0 - 2024-07-19
  • 11.11.4 - 2024-02-27
from @emotion/react GitHub release notes
Package name: @mui/icons-material from @mui/icons-material GitHub release notes
Package name: @mui/material from @mui/material GitHub release notes
Package name: @reduxjs/toolkit
  • 2.2.7 - 2024-07-27

    This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.

    Changelog

    TS Type Portability

    We've had a slew of issues reported around "TS type portability" errors, such as:

    The error messages are typically along the lines of:

    Type error: The inferred type of 'configureStore' cannot be named without a reference to '@ reduxjs/toolkit/node_modules/redux'. This is likely not portable. A type annotation is necessary.

    @ aryaemami59 did some deep investigation and concluded these were due to a mixture of using interface instead of type in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.

    Arya put together a highly detailed writeup and set of fixes in #4467: Fix: TypeScript Type Portability Issues, and that appears to resolve all of those issues we've seen. Thank you!

    Other Changes

    Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.

    We've exported additional types like UpdateDefinitions and RetryOptions, per request.

    listenerMiddleware.withTypes() methods now allow passing in an ExtraArgument generic.

    What's Changed

    Full Changelog: v2.2.6...v2.2.7

  • 2.2.6 - 2024-06-29

    This bugfix release:

    • Brings internal useIsomorphicLayoutEffect usage in line with React Redux in React Native environments
    • Exports FetchBaseQueryArgs type
    • Fixes an issue in recent createEntityAdapter sorting perf improvements that could (in specific cases) cause Immer to throw an error

    What's Changed

    Full Changelog: v2.2.5...v2.2.6

  • 2.2.5 - 2024-05-16
from @reduxjs/toolkit GitHub release notes
Package name: @tanstack/react-query

Snyk has created this PR to upgrade:
  - @emotion/styled from 11.11.5 to 11.13.0.
    See this package in npm: https://www.npmjs.com/package/@emotion/styled
  - @emotion/react from 11.11.4 to 11.13.3.
    See this package in npm: https://www.npmjs.com/package/@emotion/react
  - @mui/icons-material from 5.15.17 to 5.16.7.
    See this package in npm: https://www.npmjs.com/package/@mui/icons-material
  - @mui/material from 5.15.17 to 5.16.7.
    See this package in npm: https://www.npmjs.com/package/@mui/material
  - @reduxjs/toolkit from 2.2.5 to 2.2.7.
    See this package in npm: https://www.npmjs.com/package/@reduxjs/toolkit
  - @tanstack/react-query from 5.40.1 to 5.52.1.
    See this package in npm: https://www.npmjs.com/package/@tanstack/react-query
  - axios from 1.7.2 to 1.7.5.
    See this package in npm: https://www.npmjs.com/package/axios
  - react-router-dom from 6.23.0 to 6.26.1.
    See this package in npm: https://www.npmjs.com/package/react-router-dom

See this project in Snyk:
https://app.snyk.io/org/danial117/project/50955c1a-729b-45f2-b1aa-7a95a2102e58?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants