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.14 to 1.1.15

16

lib/pipe.js

@@ -28,3 +28,2 @@ (function () {

callback.apply(null, arguments);
unsetListeners(streams, fn);
};

@@ -36,2 +35,8 @@

read.on('end', function onEnd() {
unsetListeners(streams, fn);
read.removeListener('end', onEnd);
fn();
});
read.resume();

@@ -41,4 +46,3 @@ }

function setListeners(streams, options, fn) {
var main,
read = streams[0];
var main;

@@ -55,14 +59,8 @@ streams.forEach(function(stream) {

});
read.on('end', fn);
}
function unsetListeners(streams, fn) {
var read = streams[0];
streams.forEach(function(stream) {
stream.removeListener('error', fn);
});
read.removeListener('end', fn);
}

@@ -69,0 +67,0 @@

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