Comparing version 1.0.4 to 1.0.5
@@ -18,6 +18,7 @@ 'use strict'; | ||
if (duration && typeof duration === 'function') | ||
setTimeout(function () { | ||
this.remove(key); | ||
}.bind(this), duration()); | ||
if (duration && typeof duration === 'function') { | ||
setTimeout(function () { | ||
this.remove(key); | ||
}.bind(this), duration()); | ||
} | ||
}, | ||
@@ -24,0 +25,0 @@ |
{ | ||
"name": "jonathan", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "An in-memory cache for Node", | ||
@@ -5,0 +5,0 @@ "keywords": ["cache", "memory", "timed cache"], |
3812
47