Socket
Socket
Sign inDemoInstall

quick-lru

Package Overview
Dependencies
0
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.0 to 5.1.1

6

index.d.ts
declare namespace QuickLRU {
interface Options {
interface Options<KeyType, ValueType> {
/**

@@ -13,3 +13,3 @@ The maximum number of items before evicting the least recently used items.

*/
onEviction?: <KeyType, ValueType>(key: KeyType, value: ValueType) => void;
onEviction?: (key: KeyType, value: ValueType) => void;
}

@@ -45,3 +45,3 @@ }

*/
constructor(options: QuickLRU.Options);
constructor(options: QuickLRU.Options<KeyType, ValueType>);

@@ -48,0 +48,0 @@ [Symbol.iterator](): IterableIterator<[KeyType, ValueType]>;

{
"name": "quick-lru",
"version": "5.1.0",
"version": "5.1.1",
"description": "Simple “Least Recently Used” (LRU) cache",

@@ -5,0 +5,0 @@ "license": "MIT",

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