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 #41

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 | a month 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.2 | 27 versions ahead of your current version | 24 days ago
on 2024-08-26
axios
from 1.7.2 to 1.7.5 | 3 versions ahead of your current version | a month 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

    • Updated dependencies [d8ff8a5, a9f6912]:
      • @ emotion/serialize@1.3.0
      • @ emotion/use-insertion-effect-with-fallbacks@1.1.0
      • @ emotion/utils@1.4.0
  • 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

    • #3232 0ce3ed0 Thanks @ ENvironmentSet! - Distribute css prop attachment over props that are union types

    • Updated dependencies []:

      • @ emotion/serialize@1.3.1
  • 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

    • Updated dependencies [d8ff8a5, a9f6912]:
      • @ emotion/serialize@1.3.0
      • @ emotion/use-insertion-effect-with-fallbacks@1.1.0
      • @ emotion/utils@1.4.0
  • 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
  • 5.16.7 - 2024-08-09

    Aug 9, 2024

    A big thanks to the 3 contributors who made this release possible.

    @ mui/material@5.16.7

    • ​[material-ui][mui-system] Add support for version runtime checks (#43233) @ DiegoAndai

    Docs

    Core

    All contributors of this release in alphabetical order: @ DiegoAndai, @ oliviertassinari, @ zanivan

  • 5.16.6 - 2024-07-30
  • 5.16.5 - 2024-07-25
  • 5.16.4 - 2024-07-16
  • 5.16.3 - 2024-07-16
  • 5.16.2 - 2024-07-16
  • 5.16.1 - 2024-07-11
  • 5.16.0 - 2024-07-05
  • 5.15.21 - 2024-06-28
  • 5.15.20 - 2024-06-12
  • 5.15.19 - 2024-05-29
  • 5.15.18 - 2024-05-16
  • 5.15.17 - 2024-05-08
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
  • 5.52.2 - 2024-08-26

    Version 5.52.2 - 8/26/24, 5:54 PM

    Changes

    Fix

    • types: error booleans shouldn"t permanently be typed as false (#7956) (b93941d) by Dominik Dorfmeister

    Chore

    Examples

    • svelte-query: fix svelte auto-refetching styling (#7951) (519759d) by Lachlan Collins

    Packages

    • @ tanstack/query-core@5.52.2
    • @ tanstack/react-query@5.52.2
    • @ tanstack/solid-query@5.52.2
    • @ tanstack/angular-query-experimental@5.52.2
    • @ tanstack/query-broadcast-client-experimental@5.52.2
    • @ tanstack/query-persist-client-core@5.52.2
    • @ tanstack/query-sync-storage-persister@5.52.2
    • @ tanstack/react-query-devtools@5.52.2
    • @ tanstack/react-query-persist-client@5.52.2
    • @ tanstack/react-query-next-experimental@5.52.2
    • @ tanstack/solid-query-devtools@5.52.2
    • @ tanstack/solid-query-persist-client@5.52.2
    • @ tanstack/svelte-query@5.52.2
    • @ tanstack/svelte-query-devtools@5.52.2
    • @ tanstack/svelte-query-persist-client@5.52.2
    • @ tanstack/vue-query@5.52.2
    • @ tanstack/vue-query-devtools@5.52.2
    • @ tanstack/angular-query-devtools-experimental@5.52.2
    • @ tanstack/query-async-storage-persister@5.52.2
  • 5.52.1 - 2024-08-22

    Version 5.52.1 - 8/22/24, 4:37 PM

    Changes

    Fix

    Docs

    • make copyable example useful by default (#7928) (639363c) by Lanre Adelowo

    Packages

    • @ tanstack/react-query@5.52.1
    • @ tanstack/react-query-devtools@5.52.1
    • @ tanstack/react-query-persist-client@5.52.1
    • @ tanstack/react-query-next-experimental@5.52.1
  • 5.52.0 - 2024-08-20

    Version 5.52.0 - 8/20/24, 6:54 PM

    Changes

    Feat

    • eslint-plugin-query: add rule that disallows putting the result of query hooks directly in a React hook dependency array (#7911) (f65ebe7) by Manuel Schiller

    Refactor

    Docs

    Packages

    • @ tanstack/eslint-plugin-query@5.52.0
    • @ tanstack/query-core@5.52.0
    • @ tanstack/query-broadcast-client-experimental@5.52.0
    • @ tanstack/query-persist-client-core@5.52.0
    • @ tanstack/query-sync-storage-persister@5.52.0
    • @ tanstack/react-query@5.52.0
    • @ tanstack/react-query-devtools@5.52.0
    • @ tanstack/react-query-persist-client@5.52.0
    • @ tanstack/react-query-next-experimental@5.52.0
    • @ tanstack/solid-query@5.52.0
    • @ tanstack/solid-query-devtools@5.52.0
    • @ tanstack/solid-query-persist-client@5.52.0
    • @ tanstack/svelte-query@5.52.0
    • @ tanstack/svelte-query-devtools@5.52.0
    • @ tanstack/svelte-query-persist-client@5.52.0
    • @ tanstack/vue-query@5.52.0
    • @ tanstack/vue-query-devtools@5.52.0
    • @ tanstack/angular-query-experimental@5.52.0
    • @ tanstack/query-async-storage-persister@5.52.0
    • @ tanstack/angular-query-devtools-experimental@5.52.0
  • 5.51.24 - 2024-08-19

    Version 5.51.24 - 8/19/24, 11:03 AM

    Changes

    Refactor

    • query-core: shorten listeners code (#7913) (6500c98) by Jonghyeon Ko

    Ci

    • *: official @ vitest/eslint-plugin (#7896) (ab1a353) by Jonghyeon Ko
    • apply automated fixes (04c977b) by autofix-ci[bot]
    • rename integration projects for consistency (#7875) (73fbf00) by Lachlan Collins

    Docs

    Doc

    • Issue template: Point to latest examples (#7878) (59a6d3d) by Ian VanSchooten

    Packages

    • @ tanstack/query-core@5.51.24
    • @ tanstack/query-sync-storage-persister@5.51.24
    • @ tanstack/react-query@5.51.24
    • @ tanstack/solid-query@5.51.24
    • @ tanstack/vue-query@5.51.24
    • @ tanstack/angular-query-experimental@5.51.24
    • @ tanstack/query-broadcast-client-experimental@5.51.24
    • @ tanstack/query-persist-client-core@5.51.24
    • @ tanstack/react-query-devtools@5.51.24
    • @ tanstack/react-query-persist-client@5.51.24
    • @ tanstack/react-query-next-experimental@5.51.24
    • @ tanstack/solid-query-devtools@5.51.24
    • @ tanstack/solid-query-persist-client@5.51.24
    • @ tanstack/svelte-query@5.51.24
    • @ tanstack/svelte-query-devtools@5.51.24
    • @ tanstack/svelte-query-persist-client@5.51.24
    • @ tanstack/vue-query-devtools@5.51.24
    • @ tanstack/angular-query-devtools-experimental@5.51.24
    • @ tanstack/query-async-storage-persister@5.51.24
  • 5.51.23 - 2024-08-08

    Version 5.51.23 - 8/8/24, 8:02 AM

    Changes

    Fix

    • react-query: ensure we have a gcTime of at least 1 second when using suspense (#7860) (c744f99) by Dominik Dorfmeister

    Docs

    Packages

    • @ tanstack/react-query@5.51.23
    • @ tanstack/react-query-devtools@5.51.23
    • @ tanstack/react-query-persist-client@5.51.23
    • @ tanstack/react-query-next-experimental@5.51.23
  • 5.51.21 - 2024-08-02

    Version 5.51.21 - 8/2/24, 6:43 PM

    Changes

    Fix

    • query-core: make CancelledError extend Error (#7843) (35c086f) by Dominik Dorfmeister

    Packages

    • @ tanstack/query-core@5.51.21
    • @ tanstack/react-query@5.51.21
    • @ tanstack/query-broadcast-client-experimental@5.51.21
    • @ tanstack/query-persist-client-core@5.51.21
    • @ tanstack/query-sync-storage-persister@5.51.21
    • @ tanstack/react-query-devtools@5.51.21
    • @ tanstack/react-query-persist-client@5.51.21
    • @ tanstack/react-query-next-experimental@5.51.21
    • @ tanstack/solid-query@5.51.21
    • @ tanstack/solid-query-devtools@5.51.21
    • @ tanstack/solid-query-persist-client@5.51.21
    • @ tanstack/svelte-query@5.51.21
    • @ tanstack/svelte-query-devtools@5.51.21
    • @ tanstack/svelte-query-persist-client@5.51.21
    • @ tanstack/vue-query@5.51.21
    • @ tanstack/vue-query-devtools@5.51.21
    • @ tanstack/angular-query-experimental@5.51.21
    • @ tanstack/query-async-storage-persister@5.51.21
    • @ tanstack/angular-query-devtools-experimental@5.51.21
  • 5.51.18 - 2024-08-01

    Version 5.51.18 - 8/1/24, 1:38 PM

    Changes

    Fix

    • query-options: allow returning undefined in initialData function (#7351) (fdb8ce1) by Shahar Har-Shuv

    Packages

    • @ tanstack/react-query@5.51.18
    • @ tanstack/angular-query-experimental@5.51.18
    • @ tanstack/react-query-devtools@5.51.18
    • @ tanstack/react-query-persist-client@5.51.18
    • @ tanstack/react-query-next-experimental@5.51.18
    • @ tanstack/angular-query-devtools-experimental@5.51.18
  • 5.51.17 - 2024-08-01
  • 5.51.16 - 2024-07-31
  • 5.51.15 - 2024-07-26
  • 5.51.14 - 2024-07-26
  • 5.51.11 - 2024-07-20
  • 5.51.9 - 2024-07-18
  • 5.51.8 - 2024-07-18
  • 5.51.5 - 2024-07-17
  • 5.51.4 - 2024-07-17
  • 5.51.3 - 2024-07-16
  • 5.51.1 - 2024-07-11
  • 5.50.1 - 2024-07-05
  • 5.49.2 - 2024-06-30
  • 5.49.1 - 2024-06-30
  • 5.49.0 - 2024-06-29
  • 5.48.0 - 2024-06-25
  • 5.47.0 - 2024-06-25
  • 5.45.1 - 2024-06-16
  • 5.45.0 - 2024-06-12
  • 5.44.0 - 2024-06-11
  • 5.40.1 - 2024-06-04
from @tanstack/react-query GitHub release notes
Package name: axios
  • 1.7.5 - 2024-08-23

    Release notes:

    Bug Fixes

    • adapter: fix undefined reference to hasBrowserEnv (#6572) (7004707)
    • core: add the missed implementation of AxiosError#status property; (#6573) (6700a8a)
    • core: fix ReferenceError: navigator is not defined for custom environments; (#6567) (fed1a4b)
    • fetch: fix credentials handling in Cloudflare workers (

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.2.
    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