Socket
Socket
Sign inDemoInstall

@digitalbazaar/lru-memoize

Package Overview
Dependencies
1
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

3.0.2

Diff

Changelog

Source

3.0.2 - 2023-08-27

Fixed

  • Only remove promise entries from cache after settling if the entry has not changed.
dlongley
published 3.0.1 •

Changelog

Source

3.0.1 - 2023-08-27

Fixed

  • Ensure same promise is returned from memoize that is cached.
davidlehn
published 3.0.0 •

Changelog

Source

3.0.0 - 2022-06-02

Changed

  • BREAKING: Convert to module (ESM).
  • BREAKING: Require Node.js >=14.
  • Update dependencies.
  • Lint module.
dlongley
published 2.2.0 •

Changelog

Source

2.2.0 - 2022-02-27

Added

  • Allow cache options to be passed to memoize. Only cache options that are supported by the underlying LRU instance will be used.
msporny
published 2.1.0 •

Changelog

Source

2.1.0 - 2021-06-30

Added

  • Add dispose on settle feature.
mattcollier
published 2.0.0 •

Changelog

Source

2.0.0 - 2021-03-02

Changed

  • BREAKING: Rename LruMemoize class to LruCache.
  • BREAKING: Use named export for LruCache.
mattcollier
published 1.1.0 •

Changelog

Source

1.1.0 - 2020-11-24

  • Implement delete API.
mattcollier
published 1.0.0 •

Changelog

Source

1.0.0 - 2020-11-23

  • See git history for details.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc