Comparing version 1.0.0 to 1.1.0
@@ -40,2 +40,6 @@ var eos = require('end-of-stream') | ||
} | ||
if (readable === null) { | ||
this.push(null) | ||
return | ||
} | ||
@@ -65,2 +69,6 @@ var self = this | ||
} | ||
if (writable === null) { | ||
stream.Writable.prototype.end.call(this) | ||
return | ||
} | ||
@@ -67,0 +75,0 @@ var self = this |
{ | ||
"name": "duplexify", | ||
"version": "1.0.0", | ||
"description": "Similar to duplexer2 except it supports both streams2 and streams1 as input and it allows you to set the readable and writable part asynchroniously", | ||
"version": "1.1.0", | ||
"description": "Turn a writeable and readable stream into a streams2 duplex stream with support for async initialization and streams1/streams2 input", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -12,2 +12,4 @@ # duplexify | ||
[![build status](http://img.shields.io/travis/mafintosh/duplexify.svg?style=flat)](http://travis-ci.org/mafintosh/duplexify) | ||
## Usage | ||
@@ -14,0 +16,0 @@ |
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
10404
7
269
89