Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 3.0.8 to 3.0.9

10

lib/pipe.js

@@ -32,2 +32,3 @@ 'use strict';

let writeOpened = false;
let writeClosed = false;

@@ -50,2 +51,3 @@ const streams = allStreams.slice();

rm('finish', write, onWriteFinish);
rm('close', write, onWriteClose);
rm('error', read, onReadError);

@@ -60,2 +62,3 @@ rm('end', read, onReadEnd);

write.on('open', onWriteOpen);
write.on('close', onWriteClose);

@@ -73,2 +76,7 @@ setListeners(streams, onError);

function onWriteClose() {
writeClosed = true;
onResult();
}
function onWriteError(error) {

@@ -114,3 +122,3 @@ writeError = true;

const isWriteOpened = isFsWriteStream ? writeOpened : true;
const bothFinish = end && finish && isWriteOpened;
const bothFinish = end && finish && (isWriteOpened || writeClosed)

@@ -117,0 +125,0 @@ if (writeError && end)

2

package.json
{
"name": "pipe-io",
"version": "3.0.8",
"version": "3.0.9",
"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