isaacs/node-lru-cache (lru-cache)
### [`v10.2.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#1020)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.1.0...v10.2.0)
- types: implement the `Map` interface
### [`v10.1.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#1010)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.0.3...v10.1.0)
- add `cache.info(key)` to get value as well as ttl and size
information.
### [`v10.0.3`](https://togithub.com/isaacs/node-lru-cache/compare/v10.0.2...v10.0.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.0.2...v10.0.3)
### [`v10.0.2`](https://togithub.com/isaacs/node-lru-cache/compare/v10.0.1...v10.0.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.0.1...v10.0.2)
### [`v10.0.1`](https://togithub.com/isaacs/node-lru-cache/compare/v10.0.0...v10.0.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.0.0...v10.0.1)
### [`v10.0.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#1000)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v9.1.2...v10.0.0)
- `cache.fetch()` return type is now `Promise`
instead of `Promise`. This is an irrelevant change
practically speaking, but can require changes for TypeScript
users.
### [`v9.1.2`](https://togithub.com/isaacs/node-lru-cache/compare/v9.1.1...v9.1.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v9.1.1...v9.1.2)
### [`v9.1.1`](https://togithub.com/isaacs/node-lru-cache/compare/v9.1.0...v9.1.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v9.1.0...v9.1.1)
### [`v9.1.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#910)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v9.0.3...v9.1.0)
- `cache.set(key, undefined)` is now an alias for
`cache.delete(key)`
### [`v9.0.3`](https://togithub.com/isaacs/node-lru-cache/compare/v9.0.2...v9.0.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v9.0.2...v9.0.3)
### [`v9.0.2`](https://togithub.com/isaacs/node-lru-cache/compare/v9.0.1...v9.0.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v9.0.1...v9.0.2)
### [`v9.0.1`](https://togithub.com/isaacs/node-lru-cache/compare/v9.0.0...v9.0.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v9.0.0...v9.0.1)
### [`v9.0.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#900)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.5...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`](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.4...v8.0.5)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.4...v8.0.5)
### [`v8.0.4`](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.3...v8.0.4)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.3...v8.0.4)
### [`v8.0.3`](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.2...v8.0.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.2...v8.0.3)
### [`v8.0.2`](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.1...v8.0.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.1...v8.0.2)
### [`v8.0.1`](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.0...v8.0.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v8.0.0...v8.0.1)
### [`v8.0.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#800)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.18.3...v8.0.0)
- 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`](https://togithub.com/isaacs/node-lru-cache/compare/v7.18.2...v7.18.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.18.2...v7.18.3)
### [`v7.18.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.18.1...v7.18.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.18.1...v7.18.2)
### [`v7.18.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.18.0...v7.18.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.18.0...v7.18.1)
### [`v7.18.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7180)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.17.2...v7.18.0)
- Add support for internal state investigation through the use of
a `status` option to `has()`, `set()`, `get()`, and `fetch()`.
### [`v7.17.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.17.1...v7.17.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.17.1...v7.17.2)
### [`v7.17.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.17.0...v7.17.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.17.0...v7.17.1)
### [`v7.17.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7170)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.16.2...v7.17.0)
- Add `signal` option for `fetch` to pass a user-supplied
AbortSignal
- Add `ignoreFetchAbort` and `allowStaleOnFetchAbort` options
### [`v7.16.2`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7162)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.16.1...v7.16.2)
- Fail fetch() promises when they are aborted
### [`v7.16.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.16.0...v7.16.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.16.0...v7.16.1)
### [`v7.16.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7160)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.15.0...v7.16.0)
- Add `allowStaleOnFetchRejection` option
### [`v7.15.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7150)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.14.1...v7.15.0)
- Provide both ESM and CommonJS exports
### [`v7.14.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.14.0...v7.14.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.14.0...v7.14.1)
### [`v7.14.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7140)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.13.2...v7.14.0)
- Add `maxEntrySize` option to prevent caching items above a
given calculated size.
### [`v7.13.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.13.1...v7.13.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.13.1...v7.13.2)
### [`v7.13.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.13.0...v7.13.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.13.0...v7.13.1)
### [`v7.13.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7130)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.12.1...v7.13.0)
- 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`](https://togithub.com/isaacs/node-lru-cache/compare/v7.12.0...v7.12.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.12.0...v7.12.1)
### [`v7.12.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7120)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.11.0...v7.12.0)
- 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`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7110)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.10.3...v7.11.0)
- Add 'noDeleteOnStaleGet' option, to suppress behavior where a
`get()` of a stale item would remove it from the cache.
### [`v7.10.3`](https://togithub.com/isaacs/node-lru-cache/compare/v7.10.2...v7.10.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.10.2...v7.10.3)
### [`v7.10.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.10.1...v7.10.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.10.1...v7.10.2)
### [`v7.10.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.10.0...v7.10.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.10.0...v7.10.1)
### [`v7.10.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7100)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.9.1...v7.10.0)
- 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`](https://togithub.com/isaacs/node-lru-cache/compare/v7.9.0...v7.9.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.9.0...v7.9.1)
### [`v7.9.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#790)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.8.2...v7.9.0)
- 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`](https://togithub.com/isaacs/node-lru-cache/compare/v7.8.1...v7.8.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.8.1...v7.8.2)
### [`v7.8.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.8.0...v7.8.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.8.0...v7.8.1)
### [`v7.8.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#780)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.7.4...v7.8.0)
- add `updateAgeOnHas` option
- warnings sent to `console.error` if `process.emitWarning` unavailable
### [`v7.7.4`](https://togithub.com/isaacs/node-lru-cache/compare/v7.7.3...v7.7.4)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.7.3...v7.7.4)
### [`v7.7.3`](https://togithub.com/isaacs/node-lru-cache/compare/v7.7.2...v7.7.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.7.2...v7.7.3)
### [`v7.7.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.7.1...v7.7.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.7.1...v7.7.2)
### [`v7.7.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.7.0...v7.7.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.7.0...v7.7.1)
### [`v7.7.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#770)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.6.1...v7.7.0)
- fetch: provide options and abort signal
### [`v7.6.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.6.0...v7.6.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.6.0...v7.6.1)
### [`v7.6.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#760)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.5.2...v7.6.0)
- add cache.getRemainingTTL(key)
- Add async cache.fetch() method, fetchMethod option
- Allow unbounded storage if maxSize or ttl set
### [`v7.5.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.5.1...v7.5.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.5.1...v7.5.2)
### [`v7.5.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.5.0...v7.5.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.5.0...v7.5.1)
### [`v7.5.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#750)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.5...v7.5.0)
- defend against mutation while iterating
- Add rentries, rkeys, rvalues
- remove bundler and unnecessary package.json fields
### [`v7.4.5`](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.4...v7.4.5)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.4...v7.4.5)
### [`v7.4.4`](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.3...v7.4.4)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.3...v7.4.4)
### [`v7.4.3`](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.2...v7.4.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.2...v7.4.3)
### [`v7.4.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.1...v7.4.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.1...v7.4.2)
### [`v7.4.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.0...v7.4.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.4.0...v7.4.1)
### [`v7.4.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#740)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.3.3...v7.4.0)
- Add browser optimized webpack bundle, exposed as `'lru-cache/browser'`
- Track size of compiled bundle in CI ([@SuperOleg39](https://togithub.com/SuperOleg39))
- Add `noUpdateTTL` option for `set()`
### [`v7.3.3`](https://togithub.com/isaacs/node-lru-cache/compare/v7.3.2...v7.3.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.3.2...v7.3.3)
### [`v7.3.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.3.1...v7.3.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.3.1...v7.3.2)
### [`v7.3.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.3.0...v7.3.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.3.0...v7.3.1)
### [`v7.3.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#730)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.2.3...v7.3.0)
- Add `disposeAfter()`
- `set()` returns the cache object
- `delete()` returns boolean indicating whether anything was deleted
### [`v7.2.3`](https://togithub.com/isaacs/node-lru-cache/compare/v7.2.2...v7.2.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.2.2...v7.2.3)
### [`v7.2.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.2.1...v7.2.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.2.1...v7.2.2)
### [`v7.2.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.2.0...v7.2.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.2.0...v7.2.1)
### [`v7.2.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#720)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.1.3...v7.2.0)
- Add reason to dispose() calls.
### [`v7.1.3`](https://togithub.com/isaacs/node-lru-cache/compare/v7.1.2...v7.1.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.1.2...v7.1.3)
### [`v7.1.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.1.1...v7.1.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.1.1...v7.1.2)
### [`v7.1.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.1.0...v7.1.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.1.0...v7.1.1)
### [`v7.1.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#710)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.0.4...v7.1.0)
- Add `ttlResolution` option
- Add `ttlAutopurge` option
### [`v7.0.4`](https://togithub.com/isaacs/node-lru-cache/compare/v7.0.3...v7.0.4)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.0.3...v7.0.4)
### [`v7.0.3`](https://togithub.com/isaacs/node-lru-cache/compare/v7.0.2...v7.0.3)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.0.2...v7.0.3)
### [`v7.0.2`](https://togithub.com/isaacs/node-lru-cache/compare/v7.0.1...v7.0.2)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.0.1...v7.0.2)
### [`v7.0.1`](https://togithub.com/isaacs/node-lru-cache/compare/v7.0.0...v7.0.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v7.0.0...v7.0.1)
### [`v7.0.0`](https://togithub.com/isaacs/node-lru-cache/compare/v6.0.0...v7.0.0)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v6.0.0...v7.0.0)
### [`v6.0.0`](https://togithub.com/isaacs/node-lru-cache/compare/v5.1.1...v6.0.0)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v5.1.1...v6.0.0)
### [`v5.1.1`](https://togithub.com/isaacs/node-lru-cache/compare/v5.1.0...v5.1.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v5.1.0...v5.1.1)
### [`v5.1.0`](https://togithub.com/isaacs/node-lru-cache/compare/v5.0.1...v5.1.0)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v5.0.1...v5.1.0)
### [`v5.0.1`](https://togithub.com/isaacs/node-lru-cache/compare/v5.0.0...v5.0.1)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v5.0.0...v5.0.1)
### [`v5.0.0`](https://togithub.com/isaacs/node-lru-cache/compare/v4.1.5...v5.0.0)
[Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v4.1.5...v5.0.0)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR contains the following updates:
^4.0.0
->^10.0.0
Release Notes
isaacs/node-lru-cache (lru-cache)
### [`v10.2.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#1020) [Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.1.0...v10.2.0) - types: implement the `MapConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.