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

Comparing version 10.1.0 to 10.2.0

13

dist/commonjs/index.d.ts

@@ -578,3 +578,3 @@ /**

*/
export declare class LRUCache<K extends {}, V extends {}, FC = unknown> {
export declare class LRUCache<K extends {}, V extends {}, FC = unknown> implements Map<K, V> {
#private;

@@ -710,3 +710,3 @@ /**

*/
entries(): Generator<(K | V | BackgroundFetch<V> | undefined)[], void, unknown>;
entries(): Generator<[K, V], void, unknown>;
/**

@@ -735,3 +735,3 @@ * Inverse order version of {@link LRUCache.entries}

*/
values(): Generator<V | BackgroundFetch<V> | undefined, void, unknown>;
values(): Generator<V, void, unknown>;
/**

@@ -748,4 +748,9 @@ * Inverse order version of {@link LRUCache.values}

*/
[Symbol.iterator](): Generator<(K | V | BackgroundFetch<V> | undefined)[], void, unknown>;
[Symbol.iterator](): Generator<[K, V], void, unknown>;
/**
* A String value that is used in the creation of the default string description of an object.
* Called by the built-in method Object.prototype.toString.
*/
[Symbol.toStringTag]: string;
/**
* Find a value for which the supplied fn method returns a truthy value,

@@ -752,0 +757,0 @@ * similar to Array.find(). fn is called as fn(value, key, cache).

@@ -677,2 +677,7 @@ "use strict";

/**
* A String value that is used in the creation of the default string description of an object.
* Called by the built-in method Object.prototype.toString.
*/
[Symbol.toStringTag] = 'LRUCache';
/**
* Find a value for which the supplied fn method returns a truthy value,

@@ -679,0 +684,0 @@ * similar to Array.find(). fn is called as fn(value, key, cache).

@@ -578,3 +578,3 @@ /**

*/
export declare class LRUCache<K extends {}, V extends {}, FC = unknown> {
export declare class LRUCache<K extends {}, V extends {}, FC = unknown> implements Map<K, V> {
#private;

@@ -710,3 +710,3 @@ /**

*/
entries(): Generator<(K | V | BackgroundFetch<V> | undefined)[], void, unknown>;
entries(): Generator<[K, V], void, unknown>;
/**

@@ -735,3 +735,3 @@ * Inverse order version of {@link LRUCache.entries}

*/
values(): Generator<V | BackgroundFetch<V> | undefined, void, unknown>;
values(): Generator<V, void, unknown>;
/**

@@ -748,4 +748,9 @@ * Inverse order version of {@link LRUCache.values}

*/
[Symbol.iterator](): Generator<(K | V | BackgroundFetch<V> | undefined)[], void, unknown>;
[Symbol.iterator](): Generator<[K, V], void, unknown>;
/**
* A String value that is used in the creation of the default string description of an object.
* Called by the built-in method Object.prototype.toString.
*/
[Symbol.toStringTag]: string;
/**
* Find a value for which the supplied fn method returns a truthy value,

@@ -752,0 +757,0 @@ * similar to Array.find(). fn is called as fn(value, key, cache).

@@ -674,2 +674,7 @@ /**

/**
* A String value that is used in the creation of the default string description of an object.
* Called by the built-in method Object.prototype.toString.
*/
[Symbol.toStringTag] = 'LRUCache';
/**
* Find a value for which the supplied fn method returns a truthy value,

@@ -676,0 +681,0 @@ * similar to Array.find(). fn is called as fn(value, key, cache).

{
"name": "lru-cache",
"description": "A cache object that deletes the least-recently-used items.",
"version": "10.1.0",
"version": "10.2.0",
"author": "Isaac Z. Schlueter <i@izs.me>",

@@ -6,0 +6,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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