Socket
Socket
Sign inDemoInstall

pipe-io

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pipe-io - npm Package Compare versions

Comparing version 1.1.21 to 1.1.22

19

lib/pipe.js

@@ -59,9 +59,6 @@ (function () {

if (options.end) {
end = true;
if (options.end)
write.once('finish', onWriteFinish);
} else {
finish = true;
else
read.once('end', onReadEnd);
}

@@ -90,16 +87,8 @@ read.once('error', onReadError);

read.removeListener('error', onReadError);
} else if (end && finish) {
} else if (end || finish) {
is = true;
read.removeListener('error', onReadError);
write.removeListener('error', onWriteError);
} else if (end && readError) {
is = true;
write.removeListener('error', onWriteError);
write.removeListener('finish', onWriteFinish);
} else if (finish && writeError) {
is = true;
read.removeListener('error', onReadError);
read.removeListener('end', onReadEnd);
}
if (is)

@@ -106,0 +95,0 @@ onEnd();

{
"name": "pipe-io",
"version": "1.1.21",
"version": "1.1.22",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc