Skip to content

Commit

Permalink
fix(deps): update dependency @reduxjs/toolkit to ^1.9.5 (#3804)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@reduxjs/toolkit](https://redux-toolkit.js.org)
([source](https://togithub.com/reduxjs/redux-toolkit)) | [`^1.9.2` ->
`^1.9.5`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/1.9.3/1.9.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@reduxjs%2ftoolkit/1.9.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@reduxjs%2ftoolkit/1.9.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@reduxjs%2ftoolkit/1.9.5/compatibility-slim/1.9.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@reduxjs%2ftoolkit/1.9.5/confidence-slim/1.9.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>reduxjs/redux-toolkit</summary>

###
[`v1.9.5`](https://togithub.com/reduxjs/redux-toolkit/releases/tag/v1.9.5)

[Compare
Source](https://togithub.com/reduxjs/redux-toolkit/compare/v1.9.4...v1.9.5)

This bugfix release includes notable improvements to TS type inference
when using the `enhancers` option in `configureStore`, and updates the
listener middleware to only check predicates if the dispatched value is
truly an action object.

#### What's Changed

- update to latest remark-typescript-tools by
[@&#8203;EskiMojo14](https://togithub.com/EskiMojo14) in
[reduxjs/redux-toolkit#3311
- add isAction helper function, and ensure listener middleware only runs
for actions by [@&#8203;EskiMojo14](https://togithub.com/EskiMojo14) in
[reduxjs/redux-toolkit#3372
- Allow inference of enhancer state extensions, and fix inference when
using callback form by
[@&#8203;EskiMojo14](https://togithub.com/EskiMojo14) in
[reduxjs/redux-toolkit#3207

**Full Changelog**:
reduxjs/redux-toolkit@v1.9.4...v1.9.5

###
[`v1.9.4`](https://togithub.com/reduxjs/redux-toolkit/releases/tag/v1.9.4)

[Compare
Source](https://togithub.com/reduxjs/redux-toolkit/compare/v1.9.3...v1.9.4)

This bugfix release includes tweaks to RTKQ options handling, tweaks for
perf updates, dependency updates, and updates to our CI tooling.

Also, please check out our ongoing RTK 2.0 alpha releases! They have
significant improvements to bundle size, ESM/CJS compatibility, TS
typings, and reducer update performance. We're looking for real-world
feedback on behavior, performance, and any issues you might run into.

#### Changelog

##### RTK Query Options Updates

Passing `transformResponse` as part of `enhanceEndpoints` can now
override the TS type of the original data.

`fetchBaseQuery` now properly checks for a global `responseHandler`
option.

##### Performance and Internals

RTK Query now uses Immer's `original()` to do comparisons inside of
`copyWithStructuralSharing`, which should significantly speed up
performance when applying changes from re-fetched data.

RTKQ's internal `subscriptionUpdated` action is now marked as batchable.

We've updated dependencies to Immer 9.0.21, Reselect 4.1.8, and Redux
4.2.1.

##### CI Updates

We've added a suite of example apps built with different frameworks such
as CRA 4, CRA 5, Next, and Vite, as well as examples that check for
compatibility in Node with CJS and ESM modes and with various TS module
resolution modes.

#### What's Changed

- Test published artifacts in CI by
[@&#8203;markerikson](https://togithub.com/markerikson) in
[reduxjs/redux-toolkit#3213
- Use Git revision in version and add Node CI examples by
[@&#8203;markerikson](https://togithub.com/markerikson) in
[reduxjs/redux-toolkit#3258
- Add `arethetypeswrong` automated CLI check by
[@&#8203;markerikson](https://togithub.com/markerikson) in
[reduxjs/redux-toolkit#3294
- Add `attw` CLI option to treat problems as non-errors by
[@&#8203;markerikson](https://togithub.com/markerikson) in
[reduxjs/redux-toolkit#3316
- Use original instead of immer draft for perf by
[@&#8203;GeorchW](https://togithub.com/GeorchW) in
[reduxjs/redux-toolkit#3270
- enable enhanceEndpoints.transformResponse to override ResultType by
[@&#8203;dmitrigrabov](https://togithub.com/dmitrigrabov) in
[reduxjs/redux-toolkit#2953
- Fix global `responseHandler` being used in `fetchBaseQuery` by
[@&#8203;praxxis](https://togithub.com/praxxis) in
[reduxjs/redux-toolkit#3137
- reset internalState.currentSubscriptions on `resetApiState` by
[@&#8203;phryneas](https://togithub.com/phryneas) in
[reduxjs/redux-toolkit#3333
- Bump deps and mark `subscriptionUpdated` as autobatched by
[@&#8203;markerikson](https://togithub.com/markerikson) in
[reduxjs/redux-toolkit#3364

**Full Changelog**:
reduxjs/redux-toolkit@v1.9.3...v1.9.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed May 25, 2023
1 parent 61c52b2 commit 743cd02
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"@react-navigation/material-top-tabs": "^5.3.19",
"@react-navigation/native": "^6.0.13",
"@react-navigation/native-stack": "^6.9.1",
"@reduxjs/toolkit": "^1.9.2",
"@reduxjs/toolkit": "^1.9.5",
"@segment/analytics-react-native": "^2.13.4",
"@segment/analytics-react-native-legacy": "npm:@segment/analytics-react-native@1.5.2",
"@segment/analytics-react-native-plugin-adjust": "^0.6.1",
Expand Down
32 changes: 16 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2836,15 +2836,15 @@
resolved "https://registry.yarnpkg.com/@redux-saga/types/-/types-1.2.1.tgz#9403f51c17cae37edf870c6bc0c81c1ece5ccef8"
integrity sha512-1dgmkh+3so0+LlBWRhGA33ua4MYr7tUOj+a9Si28vUi0IUFNbff1T3sgpeDJI/LaC75bBYnQ0A3wXjn0OrRNBA==

"@reduxjs/toolkit@^1.9.2":
version "1.9.3"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-1.9.3.tgz#27e1a33072b5a312e4f7fa19247fec160bbb2df9"
integrity sha512-GU2TNBQVofL09VGmuSioNPQIu6Ml0YLf4EJhgj0AvBadRlCGzUWet8372LjvO4fqKZF2vH1xU0htAa7BrK9pZg==
"@reduxjs/toolkit@^1.9.5":
version "1.9.5"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-1.9.5.tgz#d3987849c24189ca483baa7aa59386c8e52077c4"
integrity sha512-Rt97jHmfTeaxL4swLRNPD/zV4OxTes4la07Xc4hetpUW/vc75t5m1ANyxG6ymnEQ2FsLQsoMlYB2vV1sO3m8tQ==
dependencies:
immer "^9.0.16"
redux "^4.2.0"
immer "^9.0.21"
redux "^4.2.1"
redux-thunk "^2.4.2"
reselect "^4.1.7"
reselect "^4.1.8"

"@segment/analytics-react-native-legacy@npm:@segment/analytics-react-native@1.5.2":
version "1.5.2"
Expand Down Expand Up @@ -9013,10 +9013,10 @@ immediate@~3.0.5:
resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b"
integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=

immer@^9.0.16:
version "9.0.17"
resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.17.tgz#7cfe8fbb8b461096444e9da7a5ec4a67c6c4adf4"
integrity sha512-+hBruaLSQvkPfxRiTLK/mi4vLH+/VQS6z2KJahdoxlleFOI8ARqzOF17uy12eFDlqWmPoygwc5evgwcp+dlHhg==
immer@^9.0.21:
version "9.0.21"
resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.21.tgz#1e025ea31a40f24fb064f1fef23e931496330176"
integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==

immutable@^4.0.0:
version "4.1.0"
Expand Down Expand Up @@ -14061,7 +14061,7 @@ redux-thunk@^2.4.2:
resolved "https://registry.yarnpkg.com/redux-thunk/-/redux-thunk-2.4.2.tgz#b9d05d11994b99f7a91ea223e8b04cf0afa5ef3b"
integrity sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==

redux@^4.0.0, redux@^4.0.4, redux@^4.2.0, redux@^4.2.1:
redux@^4.0.0, redux@^4.0.4, redux@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/redux/-/redux-4.2.1.tgz#c08f4306826c49b5e9dc901dee0452ea8fce6197"
integrity sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==
Expand Down Expand Up @@ -14248,10 +14248,10 @@ requires-port@^1.0.0:
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=

reselect@^4.0.0, reselect@^4.1.7:
version "4.1.7"
resolved "https://registry.yarnpkg.com/reselect/-/reselect-4.1.7.tgz#56480d9ff3d3188970ee2b76527bd94a95567a42"
integrity sha512-Zu1xbUt3/OPwsXL46hvOOoQrap2azE7ZQbokq61BQfiXvhewsKDwhMeZjTX9sX0nvw1t/U5Audyn1I9P/m9z0A==
reselect@^4.0.0, reselect@^4.1.7, reselect@^4.1.8:
version "4.1.8"
resolved "https://registry.yarnpkg.com/reselect/-/reselect-4.1.8.tgz#3f5dc671ea168dccdeb3e141236f69f02eaec524"
integrity sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ==

resolve-cwd@^3.0.0:
version "3.0.0"
Expand Down

0 comments on commit 743cd02

Please sign in to comment.