node-redis-streamify
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -12,3 +12,7 @@ 'use strict'; | ||
return function onMatches(matches, done) { | ||
readable.pull.apply(readable, matches); | ||
if (_.isArray(matches) && ! _.isEmpty(matches)) { | ||
readable.pull.apply(readable, matches); | ||
} | ||
done(null, readable.isEnded()); | ||
@@ -15,0 +19,0 @@ }; |
@@ -49,2 +49,4 @@ 'use strict'; | ||
array.push.apply(array, arguments); | ||
} else { | ||
array.push(null); | ||
} | ||
@@ -51,0 +53,0 @@ |
{ | ||
"name": "node-redis-streamify", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A Node.js library to augment node_redis interface with streaming version of commands SCAN, HSCAN, SSCAN, ZSCAN.", | ||
@@ -5,0 +5,0 @@ "main": "lib/streamify.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
15343
412