read-all-stream
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -25,8 +25,5 @@ 'use strict'; | ||
stream.on('readable', function () { | ||
var chunk; | ||
while (chunk = stream.read()) { | ||
chunks.push(chunk); | ||
len += chunk.length; | ||
} | ||
stream.on('data', function (chunk) { | ||
chunks.push(chunk); | ||
len += chunk.length; | ||
}); | ||
@@ -33,0 +30,0 @@ |
{ | ||
"name": "read-all-stream", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Read all stream content and pass it to callback", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
2569
33