Comparing version 1.3.5 to 1.3.6
{ | ||
"name": "pumpify", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "Combine an array of streams into a single duplex stream using pump and duplexify", | ||
"main": "index.js", | ||
"dependencies": { | ||
"duplexify": "^3.1.2", | ||
"inherits": "^2.0.1", | ||
"pump": "^1.0.0" | ||
"duplexify": "^3.5.3", | ||
"inherits": "^2.0.3", | ||
"pump": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"tape": "^2.13.3", | ||
"through2": "^0.5.1" | ||
"tape": "^4.8.0", | ||
"through2": "^2.0.3" | ||
}, | ||
@@ -15,0 +15,0 @@ "scripts": { |
20
test.js
@@ -163,2 +163,20 @@ var tape = require('tape') | ||
}, 100) | ||
}) | ||
}) | ||
tape('preserves error', function (t) { | ||
var a = through() | ||
var b = through(function (data, enc, cb) { | ||
cb(new Error('stop')) | ||
}) | ||
var c = through() | ||
var s = pumpify() | ||
s.on('error', function (err) { | ||
t.same(err.message, 'stop') | ||
t.end() | ||
}) | ||
s.setPipeline(a, b, c) | ||
s.resume() | ||
s.write('hi') | ||
}) |
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
8755
193
6
+ Addedpump@2.0.1(transitive)
- Removedpump@1.0.3(transitive)
Updatedduplexify@^3.5.3
Updatedinherits@^2.0.3
Updatedpump@^2.0.0