little-ds-toolkit
Advanced tools
Comparing version 0.2.4 to 0.3.0
@@ -62,3 +62,3 @@ var sizeof = require('sizeof'); | ||
validateKey(key); | ||
return key in this._cache && !('expiration' in item && Date.now() > item.expiration); | ||
return key in this._cache && !('expiration' in this._cache[key] && Date.now() > this._cache[key].expiration); | ||
}; | ||
@@ -65,0 +65,0 @@ |
{ | ||
"name": "little-ds-toolkit", | ||
"version": "0.2.4", | ||
"version": "0.3.0", | ||
"description": "A small collection of useful data structures", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
39809