Comparing version 1.0.3 to 1.0.5
15
index.js
module.exports = function (max) { | ||
var size = 0, cache = {}, _cache = {} | ||
var size = 0, cache = Object.create(null), _cache = Object.create(null) | ||
@@ -10,3 +10,3 @@ function update (key, value) { | ||
_cache = cache | ||
cache = {} | ||
cache = Object.create(null) | ||
} | ||
@@ -30,12 +30,1 @@ } | ||
} | ||
{ | ||
"name": "hashlru", | ||
"description": "simpler faster substitute for LRU", | ||
"version": "1.0.3", | ||
"version": "1.0.5", | ||
"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
6710
7
57