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 @reduxjs/toolkit from 2.0.1 to 2.2.3 #58

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

Conversation

syedabdullahali
Copy link
Collaborator

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade @reduxjs/toolkit from 2.0.1 to 2.2.3.

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


  • The recommended version is 5 versions ahead of your current version.

  • The recommended version was released on 2 months ago.

Release notes
Package name: @reduxjs/toolkit
  • 2.2.3 - 2024-03-31

    This bugfix release fixes the types for functions that accept a React Context instance to match the changes in React Redux v9.

    What's Changed

    • Update React Redux dependency to v9, and update docs to use .withTypes by @ aryaemami59 in #4308

    Full Changelog: v2.2.2...v2.2.3

  • 2.2.2 - 2024-03-21

    This patch release fixes an incorrect build setting for the legacy-esm artifacts, and fixes an issue with RTKQ query hooks didn't always remove the cache entries if arguments were changed rapidly.

    Changes

    legacy-esm Artifact Transpilation

    The legacy-esm build artifacts are intended for use by Webpack 4. Those were supposed to be transpiled to target "es2017", but were in fact still set to target "esnext" - an oversight during the 2.0 development cycle. This release fixes that setting, so those artifacts are now correctly transpiled.

    Other Fixes

    RTKQ query hooks now handle additional actions around argument changes that should result in cache entries being removed.

    Additionally, 2.2.1 contained a fix to an incorrectly named type: TypedUseMutationTrigger is now TypedMutationTrigger.

    What's Changed

    Full Changelog: v2.2.0...v2.2.2

  • 2.2.1 - 2024-02-14

    Release 2.2.1

  • 2.2.0 - 2024-02-12

    This minor release:

    • Adds a second parameter to entityAdapter.getInitialState(additionalProps, entities) to allow prefilling state
      • Equivalent to entityAdapter.setAll(entityAdapter.getInitialState(additionalProps), entities)
      • First parameter can be undefined if no additional properties are desired
    • Allows initialising combineSlices with no static reducers
      • Previously const combinedReducer = combineSlices().withLazyLoadedSlices<LazyLoadedSlices>() would have thrown an error
      • Now returns a "no-op" reducer that just returns an empty object until first reducer injected
    • Allows a new 'throw' value for overrideExisting in injectEndpoints, which throws an error if a definition is injected with a name which is already used
    • Exports more type helpers for RTKQ hook and trigger types
    • Exports types related to overriding result types in enhanceEndpoints
    • Fixes state inference for injected slices when undeclared (i.e. not in LazyLoadedSlices)
    • Adds a action.meta.arg.isPrefetch value to query thunk actions when prefetched

    What's Changed

    New Contributors

    Full Changelog: v2.1.0...v2.2.0

  • 2.1.0 - 2024-01-24

    This minor release:

    • adds withTypes methods to listenerMiddleware and createDraftSafeSelector
    • adds a skipPollingIfUnfocused option to RTK Query
    • adds the ability to customise the createSelector instance used by RTK Query
    • reworks slice selector logic to avoid depending on this value
    • fixes the order and inference of create.asyncThunk type parameters
    • fixes requirements for meta fields returned from queryFns
    • marks promises that will never reject as safe, in preparation for typescript-eslint/typescript-eslint#7008

    What's Changed

    New Contributors

    Full Changelog: v2.0.1...v2.1.0

  • 2.0.1 - 2023-12-04

    Release 2.0.1

from @reduxjs/toolkit GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Snyk has automatically assigned this pull request, set who gets assigned.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @reduxjs/toolkit from 2.0.1 to 2.2.3.

See this package in npm:
@reduxjs/toolkit

See this project in Snyk:
https://app.snyk.io/org/syedabdullahali/project/6c71fd92-0409-4cb0-89c3-46ce15945a02?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

codesandbox bot commented May 28, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

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.

3 participants