Comparing version 1.4.12 to 1.4.13
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.4.11 | ||
* @version 1.4.13 | ||
*/ | ||
@@ -137,3 +137,3 @@ "use strict"; | ||
if (this.first !== key) { | ||
item.previous = this.first !== key ? this.first : null; | ||
item.previous = this.first; | ||
} | ||
@@ -140,0 +140,0 @@ |
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.4.11 | ||
* @version 1.4.13 | ||
*/ | ||
@@ -163,3 +163,3 @@ "use strict"; | ||
if (this.first !== key) { | ||
item.previous = this.first !== key ? this.first : null; | ||
item.previous = this.first; | ||
} | ||
@@ -166,0 +166,0 @@ |
{ | ||
"name": "tiny-lru", | ||
"description": "Tiny LRU cache for Client or Server", | ||
"version": "1.4.12", | ||
"version": "1.4.13", | ||
"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
14781