@digitalbazaar/lru-memoize
Advanced tools
Changelog
4.0.0 - 2025-05-22
lru-cache@11
. This replaces lru-cache@6
which has a
number of breaking changes that impact any use of this library that
previously accessed the underlying cache interface. The main interface
of this module has only changed in that the options it accepts when
creating the cache need to now conform to v11 of lru-cache
instead of
v6. The v6 maxAge
option, if given, will result in an error being thrown.delete()
method now returns true
if the passed key was
removed from the cache and false
if not, matching the v11 delete()
interface. Previously, undefined
was returned in both cases.Changelog
3.0.2 - 2023-08-27
Changelog
3.0.1 - 2023-08-27
memoize
that is cached.Changelog
3.0.0 - 2022-06-02
Changelog
2.2.0 - 2022-02-27
options
to be passed to memoize
. Only cache options
that are supported by the underlying LRU instance will be used.Changelog
2.1.0 - 2021-06-30
Changelog
2.0.0 - 2021-03-02
LruMemoize
class to LruCache
.LruCache
.