Comparing version 3.0.4 to 3.0.5
@@ -69,3 +69,3 @@ 'use strict'; | ||
read.on('readable',function() { | ||
read.on('readable', function Readable() { | ||
this.read() | ||
@@ -91,5 +91,2 @@ }); | ||
function onWriteFinish() { | ||
if (!writeOpened && isFsWriteStream) | ||
return; | ||
finish = true; | ||
@@ -109,3 +106,4 @@ onResult(); | ||
const justEnd = end && !options.end; | ||
const bothFinish = end && finish; | ||
const isWriteOpened = isFsWriteStream ? writeOpened : true; | ||
const bothFinish = end && finish && isWriteOpened; | ||
@@ -112,0 +110,0 @@ if (writeError && end) |
{ | ||
"name": "pipe-io", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "Pipe streams and handle events", |
Sorry, the diff of this file is not supported yet
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
12655
123