lru-cache
Advanced tools
Comparing version 7.18.1 to 7.18.2
@@ -491,3 +491,6 @@ const perf = | ||
isValidIndex(index) { | ||
return this.keyMap.get(this.keyList[index]) === index | ||
return ( | ||
index !== undefined && | ||
this.keyMap.get(this.keyList[index]) === index | ||
) | ||
} | ||
@@ -494,0 +497,0 @@ |
{ | ||
"name": "lru-cache", | ||
"description": "A cache object that deletes the least-recently-used items.", | ||
"version": "7.18.1", | ||
"version": "7.18.2", | ||
"author": "Isaac Z. Schlueter <i@izs.me>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
132168
3020
134
2
2
2
9