[Snyk] Upgrade @reduxjs/toolkit from 1.9.0 to 1.9.1#7
Open
Conversation
Snyk has created this PR to upgrade @reduxjs/toolkit from 1.9.0 to 1.9.1. See this package in npm: https://www.npmjs.com/package/@reduxjs/toolkit See this project in Snyk: https://app.snyk.io/org/ibr5500/project/3e6e9b65-5977-47e4-b4ef-9b2a6f4b3eb9?utm_source=github&utm_medium=referral&page=upgrade-pr
✅ Deploy Preview for disney-world ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @reduxjs/toolkit from 1.9.0 to 1.9.1.
ℹ️ 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.
Release notes
Package name: @reduxjs/toolkit
-
1.9.1 - 2022-11-30
- fix createAsyncThunk.withTypes by @ phryneas in #2885
- Update timer polyfills to work in more environments by @ markerikson in #2887
- Retry now checks whether potential retry counts are undefined, rather than boolean, in order to avoid filtering out 0's by @ OliverRadini in #2958
- Fix multiple small issues with 1.9 by @ markerikson in #2964
- fulfillWithValue should infer return value by @ phryneas in #2888
- Fix Identifier/MemberExpression values in createSliceBuilder codemod by @ kyletsang in #2881
- Additional 1.9.1 fixes by @ markerikson in #2965
-
1.9.0 - 2022-11-04
from @reduxjs/toolkit GitHub release notesThis bugfix release fixes assorted issues that were reported with RTK 1.9.0, and adds a few additional requested tweaks and improvements.
Changelog
Fixes
The
createAsyncThunk.withTypesfunction was fully broken (it type-checked correctly, but pointed to the wrong function due to a name shadowing issue). That now works correctly.The
maxRetriesoption for RTKQ was inadvertently filtering out0values, and those are now accepted.fulfillWithValuehad incorrect types that made it appear as if the data was nested an additional level deeper. The types are now correct.The
ActionCreatorWithoutPayloadtype was tweaked to force an error when an action creator is accidentally called with an argument, which happens in cases likeonClick={todoAdded}. This avoids accidentally passing values like React event objects as the payload.Timer handling for
batchActionsandautoBatchEnhancernow works in more JS runtime environments.Other Changes
The
TagDescriptiontype is now exported from RTKQ.API endpoints now have a
.namefield containing the endpoint name, such as"getPokemon".Calling
promise.abort()on acreateAsyncThunkpromise before an asyncconditionresolves will now be treated as if theconditionitself returnedfalse, bailing out and not dispatching anything.The
mergeoption now receives a third argument containing{arg, baseQueryMeta, fulfilledTimeStamp, requestId}, in case that info is useful in deciding how to merge.The
@ reduxjs/rtk-codemodspackage has been updated to fix cases where thecreateSliceBuildercodemod didn't preserve fields with function variable arguments, like[todoAdded]: adapter.addOne. That package has been updated to v0.0.3.What's Changed
Full Changelog: v1.9.0...v1.9.1
Read more
Commit messages
Package name: @reduxjs/toolkit
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs