Comparing version 1.0.2 to 1.0.3
@@ -18,3 +18,6 @@ module.exports = function (max) { | ||
if(v) return v | ||
if(v = _cache[key]) update(key, v) | ||
if(v = _cache[key]) { | ||
update(key, v) | ||
return v | ||
} | ||
}, | ||
@@ -21,0 +24,0 @@ set: function (key, value) { |
{ | ||
"name": "hashlru", | ||
"description": "simpler faster substitute for LRU", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"homepage": "https://github.com/dominictarr/hashlru", | ||
@@ -6,0 +6,0 @@ "repository": { |
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
5676
26