mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

Bump lru-cache to ^10.2.2

Open renovate[bot] opened this issue 1 year ago • 3 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lru-cache ^7.18.3 -> ^10.2.2 age adoption passing confidence

Release Notes

isaacs/node-lru-cache (lru-cache)

v10.2.2

Compare Source

v10.2.1

Compare Source

v10.2.0

Compare Source

  • types: implement the Map<K, V> interface

v10.1.0

Compare Source

  • add cache.info(key) to get value as well as ttl and size information.

v10.0.3

Compare Source

v10.0.2

Compare Source

v10.0.1

Compare Source

v10.0.0

Compare Source

  • cache.fetch() return type is now Promise<V | undefined> instead of Promise<V | void>. This is an irrelevant change practically speaking, but can require changes for TypeScript users.

v9.1.2

Compare Source

v9.1.1

Compare Source

v9.1.0

Compare Source

  • cache.set(key, undefined) is now an alias for cache.delete(key)

v9.0.3

Compare Source

v9.0.2

Compare Source

v9.0.1

Compare Source

v9.0.0

Compare Source

  • Use named export only, no default export.
  • Bring back minimal polyfill. If this polyfill ends up being used, then a warning is printed, as it is not safe for use outside of LRUCache.

v8.0.5

Compare Source

v8.0.4

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

  • The fetchContext option was renamed to context, and may no longer be set on the cache instance itself.
  • Rewritten in TypeScript, so pretty much all the types moved around a lot.
  • The AbortController/AbortSignal polyfill is removed. For this reason, Node version 16.14.0 or higher is now required.
  • Internal properties were moved to actual private class properties.
  • Keys and values must not be null or undefined.
  • Minified export available at 'lru-cache/min', for both CJS and MJS builds.

Configuration

📅 Schedule: Branch creation - "on sunday before 6:00am" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Jan 28 '24 02:01 renovate[bot]

Deploy preview: https://deploy-preview-11843--material-ui-x.netlify.app/

Generated by :no_entry_sign: dangerJS against 97c451de08e373c787742e9b60356d6d902ad9de

mui-bot avatar Jan 28 '24 02:01 mui-bot

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Apr 24 '24 15:04 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar May 08 '24 10:05 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar May 29 '24 11:05 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar May 29 '24 13:05 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Jun 05 '24 16:06 github-actions[bot]

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

renovate[bot] avatar Jun 14 '24 08:06 renovate[bot]

WDYT @mui/code-infra, does having es5 as the TS target make sense at this point? 🤔 🤷 https://app.circleci.com/pipelines/github/mui/mui-x/60171/workflows/97392b3b-a07f-456f-a2ac-6d5bcbfdc867/jobs/343575 Screenshot 2024-06-14 at 13 56 00 It's blocking this PR. 🤔

LukasTy avatar Jun 14 '24 11:06 LukasTy

does having es5 as the TS target make sense at this point?

Isn't this only relevant if we're compiling to js with tsc? We use babel + preset-env, I suppose this setting doesn't change anything. I guess you could try diffing the compiled output with different values to verify.

Janpot avatar Jun 14 '24 12:06 Janpot

Isn't this only relevant if we're compiling to js with tsc? We use babel + preset-env, I suppose this setting doesn't change anything. I guess you could try diffing the compiled output with different values to verify.

Indeed, our typing compilation is done with a different process than tsc. 🤔 I've done some preliminary testing and it seems that there are no build package changes. The only observable change is a shorter build time as we need less transpilation. 👍

@Janpot Would you suggest making the change in the monorepo for every downstream package to take effect? Or only mui-x? 🤔

LukasTy avatar Jun 14 '24 13:06 LukasTy

@Janpot Would you suggest making the change in the monorepo for every downstream package to take effect?

Yes, I think hat makes sense. 👍

Janpot avatar Jun 14 '24 13:06 Janpot

Waiting for @mui/monorepo to be bumped in order to avoid the need for explicit target: https://github.com/mui/mui-x/pull/11843/commits/7b611188a1cb8fe850e9c987d4d860b89229939a

LukasTy avatar Jun 19 '24 13:06 LukasTy

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Jul 04 '24 08:07 github-actions[bot]