chore(front): update dependency lru-cache to v10 (develop)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
lru-cache | dependencies | major | 7.14.1 -> 10.2.0 |
Release Notes
isaacs/node-lru-cache (lru-cache)
v10.2.0
- types: implement the
Map<K, V>
interface
v10.1.0
- add
cache.info(key)
to get value as well as ttl and size information.
v10.0.3
v10.0.2
v10.0.1
v10.0.0
-
cache.fetch()
return type is nowPromise<V | undefined>
instead ofPromise<V | void>
. This is an irrelevant change practically speaking, but can require changes for TypeScript users.
v9.1.2
v9.1.1
v9.1.0
-
cache.set(key, undefined)
is now an alias forcache.delete(key)
v9.0.3
v9.0.2
v9.0.1
v9.0.0
- 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
v8.0.4
v8.0.3
v8.0.2
v8.0.1
v8.0.0
- The
fetchContext
option was renamed tocontext
, 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
orundefined
. - Minified export available at
'lru-cache/min'
, for both CJS and MJS builds.
v7.18.3
v7.18.2
v7.18.1
v7.18.0
- Add support for internal state investigation through the use of
a
status
option tohas()
,set()
,get()
, andfetch()
.
v7.17.2
v7.17.1
v7.17.0
- Add
signal
option forfetch
to pass a user-supplied AbortSignal - Add
ignoreFetchAbort
andallowStaleOnFetchAbort
options
v7.16.2
- Fail fetch() promises when they are aborted
v7.16.1
v7.16.0
- Add
allowStaleOnFetchRejection
option
v7.15.0
- Provide both ESM and CommonJS exports
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.