Comparing version 0.3.0 to 0.3.1
@@ -21,6 +21,4 @@ exports.array = toArray | ||
function onEnd(err) { | ||
process.nextTick(function () { | ||
done(err, arr) | ||
cleanup() | ||
}) | ||
done(err, arr) | ||
cleanup() | ||
} | ||
@@ -39,3 +37,3 @@ | ||
toArray(stream, function (err, arr) { | ||
done(err, !err && Buffer.concat(arr)) | ||
done(err, arr && Buffer.concat(arr)) | ||
}) | ||
@@ -42,0 +40,0 @@ |
{ | ||
"name": "stream-to", | ||
"description": "Concatenate a readable stream's data into either a single buffer, string, or array.", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
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
3796
33