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

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.3 | 28 versions ahead of your current version | 21 days ago
on 2024-08-29
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.3 - 2024-08-29

    Version 5.52.3 - 8/29/24, 11:03 PM

    Changes

    Fix

    • angular-query: fix type of isSuccess, isError, isPending, isIdle on mutation result (#7923) (eee80af) by divdavem

    Chore

    • deps: update @ algolia/client-search to v5 (major) (#7979) (189e0c5) by renovate[bot]
    • deps: update material-ui monorepo to v6 (major) (#7978) (f240106) by renovate[bot]
    • deps: update dependency jscodeshift to v17 (#7977) (7f55169) by renovate[bot]
    • deps: update dependency eslint-plugin-jsdoc to v50 (#7976) (b227998) by renovate[bot]
    • deps: update dependency jsdom to v25 (#7975) (21bddeb) by renovate[bot]
    • simplify clean commands (#7973) (907a38b) by Lachlan Collins
    • better type vs value import separation (#7972) (86d8438) by Lachlan Collins
    • devtools: consistent casing of devtools types (#7971) (756164a) by Lachlan Collins

    Docs

    • Add known limitation about cancellation with suspense hooks (#7958) (804357b) by Romain Trotard

    Packages

    • @ tanstack/eslint-plugin-query@5.52.3
    • @ tanstack/query-async-storage-persister@5.52.3
    • @ tanstack/query-broadcast-client-experimental@5.52.3
    • @ tanstack/query-core@5.52.3
    • @ tanstack/query-devtools@5.52.3
    • @ tanstack/query-persist-client-core@5.52.3
    • @ tanstack/query-sync-storage-persister@5.52.3
    • @ tanstack/react-query@5.52.3
    • @ tanstack/react-query-devtools@5.52.3
    • @ tanstack/react-query-persist-client@5.52.3
    • @ tanstack/react-query-next-experimental@5.52.3
    • @ tanstack/solid-query@5.52.3
    • @ tanstack/solid-query-devtools@5.52.3
    • @ tanstack/solid-query-persist-client@5.52.3
    • @ tanstack/svelte-query@5.52.3
    • @ tanstack/svelte-query-devtools@5.52.3
    • @ tanstack/svelte-query-persist-client@5.52.3
    • @ tanstack/vue-query@5.52.3
    • @ tanstack/vue-query-devtools@5.52.3
    • @ tanstack/angular-query-devtools-experimental@5.52.3
    • @ tanstack/angular-query-experimental@5.52.3
  • 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-q...

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