dependabot[bot] opened a new pull request, #30092:
URL: https://github.com/apache/superset/pull/30092

   Bumps [reselect](https://github.com/reduxjs/reselect) from 4.1.8 to 5.1.1.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/reduxjs/reselect/releases";>reselect's 
releases</a>.</em></p>
   <blockquote>
   <h2>v5.1.1</h2>
   <p>This <strong>patch release</strong> fixes behavior of 
<code>resultEqualityCheck</code> in <code>weakMapMemoize</code>, fixes the case 
of <code>lruMemoize</code> being given a <code>maxSize</code> less than 1, and 
tweaks the internal implementation of <code>lruMemoize</code>.  (We've also 
updated our general build tooling.)</p>
   <h2>Changelog</h2>
   <h3>Bug fixes</h3>
   <p>Previously, providing the <code>resultEqualityCheck</code> option to 
<code>weakMapMemoize</code> 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.</p>
   <p>Previously, passing a <code>maxSize</code> &lt; 1 to 
<code>lruMemoize</code> would result in it creating a larger cache. That's now 
fixed.</p>
   <p><code>lruMemoize</code> now uses a symbol for its <code>NOT_FOUND</code> 
value instead of a string.</p>
   <h2>What's Changed</h2>
   <ul>
   <li>Ensure <code>lruMemoize</code> correctly memoizes when 
<code>maxSize</code> is set to a number less than 1 by <a 
href="https://github.com/aryaemami59";><code>@​aryaemami59</code></a> in <a 
href="https://redirect.github.com/reduxjs/reselect/pull/698";>reduxjs/reselect#698</a></li>
   <li>Fix <code>resultEqualityCheck</code> behavior in 
<code>weakMapMemoize</code> by <a 
href="https://github.com/aryaemami59";><code>@​aryaemami59</code></a> in <a 
href="https://redirect.github.com/reduxjs/reselect/pull/699";>reduxjs/reselect#699</a></li>
   <li>Update TypeScript to 5.4 by <a 
href="https://github.com/aryaemami59";><code>@​aryaemami59</code></a> in <a 
href="https://redirect.github.com/reduxjs/reselect/pull/708";>reduxjs/reselect#708</a></li>
   <li>Upgrade to Yarn 4 by <a 
href="https://github.com/aryaemami59";><code>@​aryaemami59</code></a> in <a 
href="https://redirect.github.com/reduxjs/reselect/pull/705";>reduxjs/reselect#705</a></li>
   <li>Fix: use unique value for NOT_FOUND by <a 
href="https://github.com/romgrk";><code>@​romgrk</code></a> in <a 
href="https://redirect.github.com/reduxjs/reselect/pull/709";>reduxjs/reselect#709</a></li>
   </ul>
   <p><strong>Full Changelog</strong>: <a 
href="https://github.com/reduxjs/reselect/compare/v5.1.0...v5.1.1";>https://github.com/reduxjs/reselect/compare/v5.1.0...v5.1.1</a></p>
   <h2>v5.1.0</h2>
   <p>This <strong>minor release</strong>:</p>
   <ul>
   <li>Adds a new <code>createSelector.withTypes&lt;RootState&gt;()</code> and 
<code>createStructuredSelector.withTypes&lt;RootState&gt;()</code> API</li>
   <li>Deprecates the <code>TypedStructuredSelectorCreator</code> type 
introduced in 5.0</li>
   <li>Aims to reduce false positives in <code>identityFunctionCheck</code> by 
only running if the output selector is passed one argument</li>
   <li>Fixes a bug with <code>weakMapMemoize</code>'s 
<code>resultEqualityCheck</code> when used with a primitive result.</li>
   </ul>
   <h2><code>withTypes</code></h2>
   <p>Most commonly, selectors will accept the root state of a Redux store as 
their first argument. <code>withTypes</code> allows you to specify what that 
first argument will be ahead of creating the selector, meaning it doesn't have 
to be specified.</p>
   <pre lang="ts"><code>// previously
   export const selectPostById = createSelector(
     [
       (state: RootState) =&gt; state.posts.entities,
       (state: RootState, id: number) =&gt; id,
     ],
     (entities, id) =&gt; entities[id],
   );
   // now
   export const createAppSelector = createSelector.withTypes&lt;RootState&gt;();
   <p>export const selectPostById = createAppSelector(
   [(state) =&gt; state.posts.entities, (state, id: number) =&gt; id],
   (entities, id) =&gt; entities[id],
   );
   &lt;/tr&gt;&lt;/table&gt;
   </code></pre></p>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/2d17a06720c15aab52f682c42de909df5041d9a5";><code>2d17a06</code></a>
 Release 5.1.1</li>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/649a63fff214e7a2cd26dad00302ca2df8a5cc7a";><code>649a63f</code></a>
 Merge pull request <a 
href="https://redirect.github.com/reduxjs/reselect/issues/709";>#709</a> from 
romgrk/fix-not-found</li>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/3692d5c47b1b2c4b52bbe901a40feb5dde85b7f1";><code>3692d5c</code></a>
 Update src/utils.ts</li>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/1223a1b0997a6b248ccbac3ba4e2a544a7a676d8";><code>1223a1b</code></a>
 Merge pull request <a 
href="https://redirect.github.com/reduxjs/reselect/issues/720";>#720</a> from 
aryaemami59/scoped-jsx</li>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/13b04213605ca0657dcbcd44833ba03c415d59bc";><code>13b0421</code></a>
 Replace usage of deprecated <code>JSX</code> global namespace with 
<code>React.JSX</code></li>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/8ba87ff3a7f29137e0b39014ab9de0fab5e77c70";><code>8ba87ff</code></a>
 test: add collision test</li>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/877d093e537e7d2d1ce163e804df9927c41216c1";><code>877d093</code></a>
 fix: use unique value for not_found</li>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/9639566a754c81b66e2e9fecd0e19f9ae10dff95";><code>9639566</code></a>
 Merge pull request <a 
href="https://redirect.github.com/reduxjs/reselect/issues/705";>#705</a> from 
aryaemami59/upgrade-to-yarn-4</li>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/68c3c84db007dfd750a4a68d2f2ab787f6480b62";><code>68c3c84</code></a>
 Merge branch 'master' of <a 
href="https://github.com/reduxjs/reselect";>https://github.com/reduxjs/reselect</a>
 into upgrade-to-...</li>
   <li><a 
href="https://github.com/reduxjs/reselect/commit/fa91cf6182688e7959a553fa334e73cbfdb34a97";><code>fa91cf6</code></a>
 Merge pull request <a 
href="https://redirect.github.com/reduxjs/reselect/issues/708";>#708</a> from 
aryaemami59/update-ts-to-5.4</li>
   <li>Additional commits viewable in <a 
href="https://github.com/reduxjs/reselect/compare/v4.1.8...v5.1.1";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=reselect&package-manager=npm_and_yarn&previous-version=4.1.8&new-version=5.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to