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 2.0.4 to 2.0.5

8

legacy/pipe.js

@@ -24,3 +24,3 @@ 'use strict';

function pipe(allStreams, options, callback) {
var error, finish, end, open;
var error, finish, end;
var readError, writeError;

@@ -56,4 +56,2 @@

open = true;
write.on('error', onWriteError);

@@ -108,5 +106,5 @@

onEnd();
}else if (writeError && end) {
} else if (writeError && end) {
onEnd();
} else if (open && readError) {
} else if (readError) {
onEnd();

@@ -113,0 +111,0 @@ } else if (bothFinish || justEnd) {

@@ -24,3 +24,3 @@ 'use strict';

function pipe(allStreams, options, callback) {
let error, finish, end, open;
let error, finish, end;
let readError, writeError;

@@ -56,4 +56,2 @@

open = true;
write.on('error', onWriteError);

@@ -108,5 +106,5 @@

onEnd();
}else if (writeError && end) {
} else if (writeError && end) {
onEnd();
} else if (open && readError) {
} else if (readError) {
onEnd();

@@ -113,0 +111,0 @@ } else if (bothFinish || justEnd) {

{
"name": "pipe-io",
"version": "2.0.4",
"version": "2.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

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