You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2025/02/01 08:03:44 UTC

[PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

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

   Bumps [memoize-one](https://github.com/alexreardon/memoize-one) from 5.2.1 to 6.0.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/alexreardon/memoize-one/releases">memoize-one's releases</a>.</em></p>
   <blockquote>
   <h2>6.0.0</h2>
   <h2>At a glance</h2>
   <p>🧹 New <code>.clear()</code> function to remove the current memoization cache
   🏋️‍♀️ Stronger types
   🥰 Improved documentation</p>
   <p>This release is a <code>major</code>, but there are no behaviour or API changes. The <code>major</code> is to reflect that some of the <code>TypeScript</code> types have been tightened which might cause <em>some</em> peoples <code>TypeScript</code> builds to break.</p>
   <blockquote>
   <p>PSA: <code>memoize-one</code> will soon™️ be dropping ie11 support
   <a href="https://redirect.github.com/alexreardon/memoize-one/issues/125">More details</a></p>
   </blockquote>
   <h2>New: Cache releasing with <code>.clear()</code> 🧹</h2>
   <p>A <code>.clear()</code> property is now added to memoized functions to allow you to clear it's memoization cache</p>
   <p>This is helpful if you want to:</p>
   <ul>
   <li>Release memory</li>
   <li>Allow the underlying function to be called again without having to change arguments</li>
   </ul>
   <pre lang="ts"><code>import memoizeOne from 'memoize-one';
   <p>function add(a: number, b: number): number {<br />
   return a + b;<br />
   }</p>
   <p>const memoizedAdd = memoizeOne(add);</p>
   <p>// first call - not memoized<br />
   const first = memoizedAdd(1, 2);</p>
   <p>// second call - cache hit (underlying function not called)<br />
   const second = memoizedAdd(1, 2);</p>
   <p>// 👋 clearing memoization cache<br />
   memoizedAdd.clear();</p>
   <p>// third call - not memoized (cache was cleared)<br />
   const third = memoizedAdd(1, 2);<br />
   </code></pre></p>
   <h2>Improved: memoized function <code>type</code></h2>
   <blockquote>
   <p>There are no API changes to <code>memoize-one</code>, this is merely a typing improvement</p>
   </blockquote>
   <p>Our previous <code>type</code> for a memoized function was simple:</p>
   <p><strong>Previous</strong></p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/d5acc5343970ee4b615d4d1d5da85c2436752a79"><code>d5acc53</code></a> v6.0.0</li>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/deec8be0581c9f87bbb24873f585e29d6e25e283"><code>deec8be</code></a> Merge pull request <a href="https://redirect.github.com/alexreardon/memoize-one/issues/124">#124</a> from alexreardon/refresh</li>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/e5a4d8b1506137bde01300b19ad293dbf5c3d2f5"><code>e5a4d8b</code></a> adding tests for casting the type of a memoized function</li>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/d8246db0693499dce99c2f782055c8fd821a0c46"><code>d8246db</code></a> updating copy in readme</li>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/994ef04ca2be4ea154142c004bfcb8e4209836d2"><code>994ef04</code></a> updating perf benchmark as lodash only uses the first argument as the key</li>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/cd46d477f69eea0c11e194570ad8f41d7440c6e5"><code>cd46d47</code></a> removing temp type:module</li>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/18b689fcf07ddcbe300f30a04eb6aeda6a1a7041"><code>18b689f</code></a> updating results</li>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/4c5409becc19cf1adbc80ae3d5781c4ea135964a"><code>4c5409b</code></a> formatting results</li>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/ce0c6bf8fd1704f00639d470e6f21894db49cffd"><code>ce0c6bf</code></a> outputting results to markdown tables</li>
   <li><a href="https://github.com/alexreardon/memoize-one/commit/3e75de068a58fdc6633a16ce578c719d8f4db9d9"><code>3e75de0</code></a> moving to node 16</li>
   <li>Additional commits viewable in <a href="https://github.com/alexreardon/memoize-one/compare/v5.2.1...v6.0.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=memoize-one&package-manager=npm_and_yarn&previous-version=5.2.1&new-version=6.0.0)](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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "korbit-ai[bot] (via GitHub)" <gi...@apache.org>.
korbit-ai[bot] commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-2628842015

   By default, I don't review pull requests opened by bots. If you would like me to review this pull request anyway, you can request a review via the `/korbit-review` command in a comment.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-3034072310

   @dependabot recreate


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-3412926389

   this has been opened for awhile, going to close this out


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-3029846661

   @dependabot rebase


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-3160861721

   @dependabot recreate


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-3029883759

   Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting `@dependabot rebase`.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "hainenber (via GitHub)" <gi...@apache.org>.
hainenber commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-3121215962

   @dependabot rebase


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-3412926483

   OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts on it.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-3121216024

   Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!
   
   If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request `@dependabot recreate`.
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on PR #32098:
URL: https://github.com/apache/superset/pull/32098#issuecomment-3357352087

   @dependabot recreate


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe closed pull request #32098: chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend
URL: https://github.com/apache/superset/pull/32098


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org