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: , , , zustand, , , , antd, react-router-dom, reactflow, styled-components #1

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

Conversation

thaiduy0282
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
@ant-design/icons
from 5.3.7 to 5.4.0 | 2 versions ahead of your current version | 2 months ago
on 2024-07-21
@emotion/react
from 11.11.4 to 11.13.3 | 3 versions ahead of your current version | 23 days ago
on 2024-08-21
zustand
from 4.5.2 to 4.5.5 | 3 versions ahead of your current version | a month ago
on 2024-08-15
@reactflow/node-resizer
from 2.2.13 to 2.2.14 | 1 version ahead of your current version | 3 months ago
on 2024-06-20
@reduxjs/toolkit
from 2.2.4 to 2.2.7 | 3 versions ahead of your current version | 2 months ago
on 2024-07-27
@tanstack/react-query
from 5.40.0 to 5.52.1 | 27 versions ahead of your current version | 22 days ago
on 2024-08-22
antd
from 5.17.3 to 5.20.2 | 13 versions ahead of your current version | 25 days ago
on 2024-08-19
react-router-dom
from 6.23.1 to 6.26.1 | 13 versions ahead of your current version | a month ago
on 2024-08-15
reactflow
from 11.11.3 to 11.11.4 | 1 version ahead of your current version | 3 months ago
on 2024-06-20
styled-components
from 6.1.11 to 6.1.12 | 1 version ahead of your current version | 2 months ago
on 2024-07-17

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: @ant-design/icons
  • 5.4.0 - 2024-07-21
  • 5.4.0-alpha.0 - 2024-07-21
  • 5.3.7 - 2024-05-04
from @ant-design/icons 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: zustand from zustand GitHub release notes
Package name: @reactflow/node-resizer
  • 2.2.14 - 2024-06-20
  • 2.2.13 - 2024-04-30
from @reactflow/node-resizer 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
  • 2.2.4 - 2024-05-09
from @reduxjs/toolkit GitHub release notes
Package name: @tanstack/react-query
  • 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

    Version 5.51.17 - 8/1/24, 1:21 PM

    Changes

    Fix

    • core: query should reset to default state even when created from hydration (#7837) (bbb2244) by Dominik Dorfmeister

    Chore

    • deps: lock file maintenance (c7245c9) by renovate[bot]

    Packages

    • @ tanstack/query-core@5.51.17
    • @ tanstack/query-broadcast-client-experimental@5.51.17
    • @ tanstack/query-persist-client-core@5.51.17
    • @ tanstack/query-sync-storage-persister@5.51.17
    • @ tanstack/react-query@5.51.17
    • @ tanstack/react-query-devtools@5.51.17
    • @ tanstack/react-query-persist-client@5.51.17
    • @ tanstack/react-query-next-experimental@5.51.17
    • @ tanstack/solid-query@5.51.17
    • @ tanstack/solid-query-devtools@5.51.17
    • @ tanstack/solid-query-persist-client@5.51.17
    • @ tanstack/svelte-query@5.51.17
    • @ tanstack/svelte-query-devtools@5.51.17
    • @ tanstack/svelte-query-persist-client@5.51.17
    • @ tanstack/vue-query@5.51.17
    • @ tanstack/vue-query-devtools@5.51.17
    • @ tanstack/angular-query-experimental@5.51.17
    • @ tanstack/query-async-storage-persister@5.51.17
    • @ tanstack/angular-query-devtools-experimental@5.51.17
  • 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
  • 5.40.0 - 2024-05-27
from @tanstack/react-query GitHub release notes
Package name: antd
  • 5.20.2 - 2024-08-19
    • 💄 Fix the suffix style problem of InputNumber without control. #50450 @ coding-ice
    • 🆕 Form rule.message supports skipping variable substitution through \\${}. #50412 @ zombieJ
    • 🐞 Fixed the issue where the rounded corners of the trigger element are missing when the FloatButton component has shape="square" and in menu mode when the menu pops up. #50408 @ li-jia-nan
    • 🐞 Fixed the problem that Upload.Dragger does not work when dragging and dropping upload folders. #50394 @ huiliangShen
    • 🐞 Fixed the issue where the arrow icon disappears after hovering when Select specifies getPopcontainer={node=node.parentNode}. #50382 @ afc163
    • 🐞 Fixed the arrow misalignment error when Popover sets the arrow.pointAtCenter property. #50260 @ Wxh16144
    • 📖 Transfer adds Russian and Ukrainian localization copy. #50429 @ alexlag
    • TypeScript
      • 🤖 Roll back the Table partial generic constraint object to any to reduce break changes caused by #50351. #50372 @ crazyair

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
  - @ant-design/icons from 5.3.7 to 5.4.0.
    See this package in npm: https://www.npmjs.com/package/@ant-design/icons
  - @emotion/react from 11.11.4 to 11.13.3.
    See this package in npm: https://www.npmjs.com/package/@emotion/react
  - zustand from 4.5.2 to 4.5.5.
    See this package in npm: https://www.npmjs.com/package/zustand
  - @reactflow/node-resizer from 2.2.13 to 2.2.14.
    See this package in npm: https://www.npmjs.com/package/@reactflow/node-resizer
  - @reduxjs/toolkit from 2.2.4 to 2.2.7.
    See this package in npm: https://www.npmjs.com/package/@reduxjs/toolkit
  - @tanstack/react-query from 5.40.0 to 5.52.1.
    See this package in npm: https://www.npmjs.com/package/@tanstack/react-query
  - antd from 5.17.3 to 5.20.2.
    See this package in npm: https://www.npmjs.com/package/antd
  - react-router-dom from 6.23.1 to 6.26.1.
    See this package in npm: https://www.npmjs.com/package/react-router-dom
  - reactflow from 11.11.3 to 11.11.4.
    See this package in npm: https://www.npmjs.com/package/reactflow
  - styled-components from 6.1.11 to 6.1.12.
    See this package in npm: https://www.npmjs.com/package/styled-components

See this project in Snyk:
https://app.snyk.io/org/thaiduy768/project/1b1181fc-205c-4f7c-8eb8-663cfdb5ea21?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