Comparing version 5.0.1 to 5.0.2
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-lru | ||
* @version 5.0.1 | ||
* @version 5.0.2 | ||
*/ | ||
@@ -112,9 +112,9 @@ "use strict"; | ||
if (r !== empty) { | ||
if (l !== empty) { | ||
this.cache[l].right = r; | ||
} | ||
this.cache[r].left = l; | ||
} | ||
if (l !== empty) { | ||
this.cache[l].right = r; | ||
} | ||
if (this.last === key) { | ||
@@ -121,0 +121,0 @@ this.last = r; |
{ | ||
"name": "tiny-lru", | ||
"description": "Tiny LRU cache for Client or Server", | ||
"version": "5.0.1", | ||
"version": "5.0.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
8630