Comparing version 1.2.0 to 1.2.1
@@ -65,3 +65,4 @@ const TOS = require('time-ordered-set') | ||
const entry = this.entry(key) | ||
if (entry && bump) entry.bump() | ||
if (!entry) return | ||
if (bump) entry.bump() | ||
return entry.value | ||
@@ -68,0 +69,0 @@ } |
{ | ||
"name": "refpool", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Pool of references that gc the least recently unref'ed ones when it reaches a max size", | ||
@@ -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
5503
133