pull-stream
Advanced tools
Comparing version 2.24.0 to 2.24.1
@@ -11,3 +11,3 @@ var u = require('pull-core') | ||
var find = | ||
var find = | ||
exports.find = function (test, cb) { | ||
@@ -35,5 +35,5 @@ return maybeSink(function (cb) { | ||
var reduce = exports.reduce = | ||
var reduce = exports.reduce = | ||
function (reduce, acc, cb) { | ||
return maybeSink(function (cb) { | ||
@@ -40,0 +40,0 @@ return drain(function (data) { |
{ | ||
"name": "pull-stream", | ||
"description": "minimal pull stream", | ||
"version": "2.24.0", | ||
"version": "2.24.1", | ||
"homepage": "https://github.com/dominictarr/pull-stream", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -11,3 +11,5 @@ var drain = exports.drain = function (read, op, done) { | ||
loop = false | ||
done && done(end === true ? null : end) | ||
if(done) done(end === true ? null : end) | ||
else if(end && end !== true) | ||
throw end | ||
} | ||
@@ -14,0 +16,0 @@ else if(op && false === op(data)) { |
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
47939
1352