Comparing version 1.4.3 to 1.4.4
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.4.3 | ||
* @version 1.4.4 | ||
*/ | ||
@@ -56,3 +56,3 @@ "use strict"; | ||
evict () { | ||
if (this.last !== null) { | ||
if (this.has(this.last)) { | ||
this.remove(this.last, true); | ||
@@ -59,0 +59,0 @@ } |
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.4.3 | ||
* @version 1.4.4 | ||
*/ | ||
@@ -75,3 +75,3 @@ "use strict"; | ||
value: function evict() { | ||
if (this.last !== null) { | ||
if (this.has(this.last)) { | ||
this.remove(this.last, true); | ||
@@ -78,0 +78,0 @@ } |
{ | ||
"name": "tiny-lru", | ||
"description": "Tiny LRU cache for Client or Server", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"homepage": "https://github.com/avoidwork/tiny-lru", | ||
@@ -6,0 +6,0 @@ "author": "Jason Mulligan <jason.mulligan@avoidwork.com>", |
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
14199