Comparing version 1.4.1 to 1.4.2
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.4.1 | ||
* @version 1.4.2 | ||
*/ | ||
@@ -93,7 +93,7 @@ "use strict"; | ||
if (cached.previous !== null) { | ||
if (this.has(cached.previous)) { | ||
this.cache[cached.previous].next = cached.next; | ||
} | ||
if (cached.next !== null) { | ||
if (this.has(cached.next)) { | ||
this.cache[cached.next].previous = cached.previous; | ||
@@ -100,0 +100,0 @@ } |
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 1.4.1 | ||
* @version 1.4.2 | ||
*/ | ||
@@ -117,7 +117,7 @@ "use strict"; | ||
if (cached.previous !== null) { | ||
if (this.has(cached.previous)) { | ||
this.cache[cached.previous].next = cached.next; | ||
} | ||
if (cached.next !== null) { | ||
if (this.has(cached.next)) { | ||
this.cache[cached.next].previous = cached.previous; | ||
@@ -124,0 +124,0 @@ } |
{ | ||
"name": "tiny-lru", | ||
"description": "Tiny LRU cache for Client or Server", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"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
13678