@isaacs/ttlcache
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -277,3 +277,7 @@ // A simple TTL cache with max capacity option, ms resolution, | ||
} | ||
const keys = [...this.expirations[exp]] | ||
/* istanbul ignore next | ||
* mysterious need for a guard here? | ||
* https://github.com/isaacs/ttlcache/issues/26 */ | ||
const keys = [...(this.expirations[exp] || [])] | ||
const entries = [] | ||
@@ -280,0 +284,0 @@ delete this.expirations[exp] |
{ | ||
"name": "@isaacs/ttlcache", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "index.js", |
Sorry, the diff of this file is not supported yet
25201
495