ttl-mem-cache
Advanced tools
@@ -16,3 +16,5 @@ 'use strict'; | ||
this.on('set', (obj) => { | ||
this.push(obj); | ||
if (this._readableState.flowing) { | ||
this.push(obj); | ||
} | ||
}); | ||
@@ -19,0 +21,0 @@ } |
{ | ||
"name": "ttl-mem-cache", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "A in memory time to live cache with streaming support.", | ||
@@ -31,4 +31,4 @@ "main": "lib/cache.js", | ||
"devDependencies": { | ||
"eslint": "4.7.1", | ||
"eslint-config-airbnb-base": "12.0.0", | ||
"eslint": "4.7.2", | ||
"eslint-config-airbnb-base": "12.0.1", | ||
"eslint-plugin-import": "2.7.0", | ||
@@ -35,0 +35,0 @@ "benchmark": "2.1.4", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
45042
0.14%702
0.29%0
-100%