Skip to content

Commit

Permalink
fix(deps): update dependency reselect to v5.1.1 (#644)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [reselect](https://togithub.com/reduxjs/reselect) | dependencies |
patch | [`5.1.0` ->
`5.1.1`](https://renovatebot.com/diffs/npm/reselect/5.1.0/5.1.1) |

---

### Release Notes

<details>
<summary>reduxjs/reselect (reselect)</summary>

###
[`v5.1.1`](https://togithub.com/reduxjs/reselect/releases/tag/v5.1.1)

[Compare
Source](https://togithub.com/reduxjs/reselect/compare/v5.1.0...v5.1.1)

This **patch release** fixes behavior of `resultEqualityCheck` in
`weakMapMemoize`, fixes the case of `lruMemoize` being given a `maxSize`
less than 1, and tweaks the internal implementation of `lruMemoize`.
(We've also updated our general build tooling.)

##### Changelog

##### Bug fixes

Previously, providing the `resultEqualityCheck` option to
`weakMapMemoize` resulted in it being called with empty objects as part
of the initialization / dev check process. That could be an issue if
your comparison function expected different values. We've updated the
logic to avoid that, as well as improving a couple other perf aspects.

Previously, passing a `maxSize` < 1 to `lruMemoize` would result in it
creating a larger cache. That's now fixed.

`lruMemoize` now uses a symbol for its `NOT_FOUND` value instead of a
string.

##### What's Changed

- Ensure `lruMemoize` correctly memoizes when `maxSize` is set to a
number less than 1 by
[@&#8203;aryaemami59](https://togithub.com/aryaemami59) in
[https://github.com/reduxjs/reselect/pull/698](https://togithub.com/reduxjs/reselect/pull/698)
- Fix `resultEqualityCheck` behavior in `weakMapMemoize` by
[@&#8203;aryaemami59](https://togithub.com/aryaemami59) in
[https://github.com/reduxjs/reselect/pull/699](https://togithub.com/reduxjs/reselect/pull/699)
- Update TypeScript to 5.4 by
[@&#8203;aryaemami59](https://togithub.com/aryaemami59) in
[https://github.com/reduxjs/reselect/pull/708](https://togithub.com/reduxjs/reselect/pull/708)
- Upgrade to Yarn 4 by
[@&#8203;aryaemami59](https://togithub.com/aryaemami59) in
[https://github.com/reduxjs/reselect/pull/705](https://togithub.com/reduxjs/reselect/pull/705)
- Fix: use unique value for NOT_FOUND by
[@&#8203;romgrk](https://togithub.com/romgrk) in
[https://github.com/reduxjs/reselect/pull/709](https://togithub.com/reduxjs/reselect/pull/709)

**Full Changelog**:
reduxjs/reselect@v5.1.0...v5.1.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: descope[bot] <descope[bot]@users.noreply.github.com>
  • Loading branch information
descope[bot] and descope[bot] authored Jun 23, 2024
1 parent 22aa188 commit e7f6699
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 34 deletions.
2 changes: 1 addition & 1 deletion packages/access-key-management-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"immer": "^10.0.3",
"redux": "5.0.1",
"redux-thunk": "3.1.0",
"reselect": "5.1.0",
"reselect": "5.1.1",
"tslib": "2.6.2"
},
"overrides": {
Expand Down
2 changes: 1 addition & 1 deletion packages/audit-management-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@descope/sdk-mixins": "workspace:*",
"@descope/sdk-component-drivers": "workspace:*",
"tslib": "2.6.2",
"reselect": "5.1.0",
"reselect": "5.1.1",
"@reduxjs/toolkit": "^2.0.1",
"redux": "5.0.1",
"redux-thunk": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/role-management-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@descope/sdk-mixins": "workspace:*",
"@descope/sdk-component-drivers": "workspace:*",
"tslib": "2.6.2",
"reselect": "5.1.0",
"reselect": "5.1.1",
"@reduxjs/toolkit": "^2.0.1",
"redux": "5.0.1",
"redux-thunk": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/user-management-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"@descope/sdk-component-drivers": "workspace:*",
"tslib": "2.6.2",
"libphonenumber-js": "1.10.59",
"reselect": "5.1.0",
"reselect": "5.1.1",
"@reduxjs/toolkit": "^2.0.1",
"redux": "5.0.1",
"redux-thunk": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/user-profile-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"@descope/sdk-mixins": "workspace:*",
"@descope/sdk-component-drivers": "workspace:*",
"tslib": "2.6.2",
"reselect": "5.1.0",
"reselect": "5.1.1",
"@reduxjs/toolkit": "^2.0.1",
"redux": "5.0.1",
"redux-thunk": "3.1.0",
Expand Down
76 changes: 47 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7f6699

Please sign in to comment.