Socket
Socket
Sign inDemoInstall

lru-cache

Package Overview
Dependencies
2
Maintainers
2
Versions
134
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
14Next

8.0.0

Diff

Changelog

Source

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

isaacs
published 7.18.2 •

isaacs
published 7.18.1 •

isaacs
published 7.17.2 •

isaacs
published 7.18.0 •

Changelog

Source

7.18.0

  • Add support for internal state investigation through the use of a status option to has(), set(), get(), and fetch().
isaacs
published 7.17.1 •

isaacs
published 7.17.0 •

Changelog

Source

7.17.0

  • Add signal option for fetch to pass a user-supplied AbortSignal
  • Add ignoreFetchAbort and allowStaleOnFetchAbort options
isaacs
published 7.16.2 •

Changelog

Source

7.16.2

  • Fail fetch() promises when they are aborted
isaacs
published 7.16.1 •

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