This repository was archived by the owner on Mar 18, 2024. It is now read-only.
Update dependency lru-cache to v10 #869
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.0.0->^10.2.0Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
isaacs/node-lru-cache (lru-cache)
v10.2.0Compare Source
Map<K, V>interfacev10.1.0Compare Source
cache.info(key)to get value as well as ttl and sizeinformation.
v10.0.3Compare Source
v10.0.2Compare Source
v10.0.1Compare Source
v10.0.0Compare Source
cache.fetch()return type is nowPromise<V | undefined>instead of
Promise<V | void>. This is an irrelevant changepractically speaking, but can require changes for TypeScript
users.
v9.1.2Compare Source
v9.1.1Compare Source
v9.1.0Compare Source
cache.set(key, undefined)is now an alias forcache.delete(key)v9.0.3Compare Source
v9.0.2Compare Source
v9.0.1Compare Source
v9.0.0Compare Source
used, then a warning is printed, as it is not safe for use
outside of LRUCache.
v8.0.5Compare Source
v8.0.4Compare Source
v8.0.3Compare Source
v8.0.2Compare Source
v8.0.1Compare Source
v8.0.0Compare Source
fetchContextoption was renamed tocontext, and may nolonger be set on the cache instance itself.
around a lot.
reason, Node version 16.14.0 or higher is now required.
properties.
nullorundefined.'lru-cache/min', for both CJSand MJS builds.
v7.18.3Compare Source
v7.18.2Compare Source
v7.18.1Compare Source
v7.18.0Compare Source
a
statusoption tohas(),set(),get(), andfetch().v7.17.2Compare Source
v7.17.1Compare Source
v7.17.0Compare Source
signaloption forfetchto pass a user-suppliedAbortSignal
ignoreFetchAbortandallowStaleOnFetchAbortoptionsv7.16.2Compare Source
v7.16.1Compare Source
v7.16.0Compare Source
allowStaleOnFetchRejectionoptionv7.15.0Compare Source
v7.14.1Compare Source
v7.14.0Compare Source
maxEntrySizeoption to prevent caching items above agiven calculated size.
v7.13.2Compare Source
v7.13.1Compare Source
v7.13.0Compare Source
forceRefreshoption to trigger a call to thefetchMethodeven if the item is found in cache, and notolder than its
ttl.v7.12.1Compare Source
v7.12.0Compare Source
fetchContextoption to provide additional information tothe
fetchMethodmaxSizewould cause bizarre behavior.v7.11.0Compare Source
get()of a stale item would remove it from the cache.v7.10.3Compare Source
v7.10.2Compare Source
v7.10.1Compare Source
v7.10.0Compare Source
noDeleteOnFetchRejectionoption, to suppress behaviorwhere a failed
fetchwill delete a previous stale value.out of date types coming from DefinitelyTyped.
v7.9.1Compare Source
v7.9.0Compare Source
signal.addEventListener('abort')andsignal.onabort.unhandledRejectionwhen thefetchMethodthrows an error orreturns a rejected Promise.
v7.8.2Compare Source
v7.8.1Compare Source
v7.8.0Compare Source
updateAgeOnHasoptionconsole.errorifprocess.emitWarningunavailablev7.7.4Compare Source
v7.7.3Compare Source
v7.7.2Compare Source
v7.7.1Compare Source
v7.7.0Compare Source
v7.6.1Compare Source
v7.6.0Compare Source
v7.5.2Compare Source
v7.5.1Compare Source
v7.5.0Compare Source
v7.4.5Compare Source
v7.4.4Compare Source
v7.4.3Compare Source
v7.4.2Compare Source
v7.4.1Compare Source
v7.4.0Compare Source
'lru-cache/browser'noUpdateTTLoption forset()v7.3.3Compare Source
v7.3.2Compare Source
v7.3.1Compare Source
v7.3.0Compare Source
disposeAfter()set()returns the cache objectdelete()returns boolean indicating whether anything was deletedv7.2.3Compare Source
v7.2.2Compare Source
v7.2.1Compare Source
v7.2.0Compare Source
v7.1.3Compare Source
v7.1.2Compare Source
v7.1.1Compare Source
v7.1.0Compare Source
ttlResolutionoptionttlAutopurgeoptionv7.0.4Compare Source
v7.0.3Compare Source
v7.0.2Compare Source
v7.0.1Compare Source
v7.0.0Compare Source
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, 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.
This PR has been generated by Mend Renovate. View repository job log here.