Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency lru-cache to v10 #9267

Closed
wants to merge 2 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 21, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lru-cache ^5.1.1 -> ^10.0.1 age adoption passing confidence

Release Notes

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

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.

v7.18.3

Compare Source

v7.18.2

Compare Source

v7.18.1

Compare Source

v7.18.0

Compare Source

  • Add support for internal state investigation through the use of
    a status option to has(), set(), get(), and fetch().

v7.17.2

Compare Source

v7.17.1

Compare Source

v7.17.0

Compare Source

  • Add signal option for fetch to pass a user-supplied
    AbortSignal
  • Add ignoreFetchAbort and allowStaleOnFetchAbort options

v7.16.2

Compare Source

  • Fail fetch() promises when they are aborted

v7.16.1

Compare Source

v7.16.0

Compare Source

  • Add allowStaleOnFetchRejection option

v7.15.0

Compare Source

  • Provide both ESM and CommonJS exports

v7.14.1

Compare Source

v7.14.0

Compare Source

  • Add maxEntrySize option to prevent caching items above a
    given calculated size.

v7.13.2

Compare Source

v7.13.1

Compare Source

v7.13.0

Compare Source

  • Add forceRefresh option to trigger a call to the
    fetchMethod even if the item is found in cache, and not
    older than its ttl.

v7.12.1

Compare Source

v7.12.0

Compare Source

  • Add fetchContext option to provide additional information to
    the fetchMethod
  • 7.12.1: Fix bug where adding an item with size greater than
    maxSize would cause bizarre behavior.

v7.11.0

Compare Source

  • Add 'noDeleteOnStaleGet' option, to suppress behavior where a
    get() of a stale item would remove it from the cache.

v7.10.3

Compare Source

v7.10.2

Compare Source

v7.10.1

Compare Source

v7.10.0

Compare Source

  • Add noDeleteOnFetchRejection option, to suppress behavior
    where a failed fetch will delete a previous stale value.
  • Ship types along with the package, rather than relying on
    out of date types coming from DefinitelyTyped.

v7.9.1

Compare Source

v7.9.0

Compare Source

  • Better AbortController polyfill, supporting
    signal.addEventListener('abort') and signal.onabort.
  • (7.9.1) Drop item from cache instead of crashing with an
    unhandledRejection when the fetchMethod throws an error or
    returns a rejected Promise.

v7.8.2

Compare Source

v7.8.1

Compare Source

v7.8.0

Compare Source

  • add updateAgeOnHas option
  • warnings sent to console.error if process.emitWarning unavailable

v7.7.4

Compare Source

v7.7.3

Compare Source

v7.7.2

Compare Source

v7.7.1

Compare Source

v7.7.0

Compare Source

  • fetch: provide options and abort signal

v7.6.1

Compare Source

v7.6.0

Compare Source

  • add cache.getRemainingTTL(key)
  • Add async cache.fetch() method, fetchMethod option
  • Allow unbounded storage if maxSize or ttl set

v7.5.2

Compare Source

v7.5.1

Compare Source

v7.5.0

Compare Source

  • defend against mutation while iterating
  • Add rentries, rkeys, rvalues
  • remove bundler and unnecessary package.json fields

v7.4.5

Compare Source

v7.4.4

Compare Source

v7.4.3

Compare Source

v7.4.2

Compare Source

v7.4.1

Compare Source

v7.4.0

Compare Source

  • Add browser optimized webpack bundle, exposed as 'lru-cache/browser'
  • Track size of compiled bundle in CI (@​SuperOleg39)
  • Add noUpdateTTL option for set()

v7.3.3

Compare Source

v7.3.2

Compare Source

v7.3.1

Compare Source

v7.3.0

Compare Source

  • Add disposeAfter()
  • set() returns the cache object
  • delete() returns boolean indicating whether anything was deleted

v7.2.3

Compare Source

v7.2.2

Compare Source

v7.2.1

Compare Source

v7.2.0

Compare Source

  • Add reason to dispose() calls.

v7.1.3

Compare Source

v7.1.2

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

  • Add ttlResolution option
  • Add ttlAutopurge option

v7.0.4

Compare Source

v7.0.3

Compare Source

v7.0.2

Compare Source

v7.0.1

Compare Source

v7.0.0

Compare Source

v6.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (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 renovate bot added the dependencies Pull requests that update a dependency file label Sep 21, 2023
@netlify
Copy link

netlify bot commented Sep 21, 2023

Deploy Preview for vue-sfc-playground failed.

Name Link
🔨 Latest commit dcca710
🔍 Latest deploy log https://app.netlify.com/sites/vue-sfc-playground/deploys/650c302a67cd1c00087982e3

@github-actions
Copy link

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 85.9 kB 32.6 kB 29.5 kB
vue.global.prod.js 132 kB 49.3 kB 44.4 kB

Usages

Name Size Gzip Brotli
createApp 47.9 kB 18.8 kB 17.2 kB
createSSRApp 50.6 kB 19.9 kB 18.2 kB
defineCustomElement 50.3 kB 19.6 kB 17.9 kB
overall 61.2 kB 23.7 kB 21.6 kB

@renovate
Copy link
Contributor Author

renovate bot commented Sep 21, 2023

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.

@sxzz sxzz added the ready to merge The PR is ready to be merged. label Sep 24, 2023
@yyx990803 yyx990803 closed this Oct 20, 2023
@yyx990803 yyx990803 deleted the renovate/lru-cache-10.x branch October 20, 2023 02:30
yyx990803 added a commit that referenced this pull request Oct 20, 2023
@yyx990803
Copy link
Member

@sxzz My bad, I thought this was automated and didn't see the code related changes you did, should've merged this earlier.

Manually landed in f5a253f

yyx990803 added a commit that referenced this pull request Oct 21, 2023
lumozx pushed a commit to lumozx/core that referenced this pull request Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ready to merge The PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants