Socket
Socket
Sign inDemoInstall

lru-cache

Package Overview
Dependencies
0
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
35
14Next

7.14.1

Diff

isaacs
published 7.14.0 •

Changelog

Source

7.14.0

  • Add maxEntrySize option to prevent caching items above a given calculated size.
isaacs
published 7.13.2 •

isaacs
published 7.13.1 •

isaacs
published 7.13.0 •

Changelog

Source

7.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.
isaacs
published 7.12.1 •

isaacs
published 7.12.0 •

Changelog

Source

7.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.
isaacs
published 7.11.0 •

Changelog

Source

7.11.0

  • Add 'noDeleteOnStaleGet' option, to suppress behavior where a get() of a stale item would remove it from the cache.
isaacs
published 7.10.3 •

isaacs
published 7.10.2 •

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc