Comparing version 1.1.0 to 1.1.1
@@ -48,2 +48,3 @@ var pump = require('pump') | ||
if (this.destroyed) return onclose() | ||
this.setWritable(w) | ||
@@ -50,0 +51,0 @@ this.setReadable(r) |
{ | ||
"name": "pumpify", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Combine an array of streams into a single duplex stream using pump and duplexify", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
18
test.js
@@ -145,2 +145,20 @@ var tape = require('tape') | ||
}, 100) | ||
}) | ||
tape('early destroy', function(t) { | ||
var a = through() | ||
var b = through() | ||
var c = through() | ||
b.destroy = function() { | ||
t.ok(true) | ||
t.end() | ||
} | ||
var pipeline = pumpify() | ||
pipeline.destroy() | ||
setTimeout(function() { | ||
pipeline.setPipeline(a, b, c) | ||
}, 100) | ||
}) |
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
7071
175