typescript-lru-cache
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -103,3 +103,3 @@ export interface LRUCacheOptions<TKey, TValue> { | ||
*/ | ||
export declare class LRUCache<TKey = string, TValue = any> { | ||
export declare class LRUCache<TKey = string, TValue = any> implements Iterable<LRUCacheEntry<TKey, TValue>> { | ||
private readonly lookupTable; | ||
@@ -106,0 +106,0 @@ private readonly entryExpirationTimeInMS; |
{ | ||
"name": "typescript-lru-cache", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "LRU Cache", | ||
@@ -5,0 +5,0 @@ "author": "Robert Herber", |
@@ -103,3 +103,3 @@ import { LRUCacheNode } from './LRUCacheNode'; | ||
*/ | ||
export class LRUCache<TKey = string, TValue = any> { | ||
export class LRUCache<TKey = string, TValue = any> implements Iterable<LRUCacheEntry<TKey, TValue>> { | ||
private readonly lookupTable: Map<TKey, LRUCacheNode<TKey, TValue>> = new Map(); | ||
@@ -106,0 +106,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95901