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 1.1.8 to 1.1.9

21

lib/pipe.js
(function () {
'use strict';
var fs = require('fs'),
exec = require('execon'),
assert = require('assert');
var assert = require('assert');

@@ -25,7 +23,2 @@ module.exports = all;

function all(streams, options, callback) {
var n, write, isFSWrite;
assert(streams, 'could not be empty!');
assert(options, 'could not be empty!');
if (!callback) {

@@ -39,12 +32,6 @@ callback = options;

n = streams.length - 1;
write = streams[n];
isFSWrite = write instanceof fs.WriteStream;
assert(streams, 'streams could not be empty!');
assert(options, 'callback could not be empty!');
exec.if(!isFSWrite, function() {
pipe(streams, options, callback);
}, function(fn) {
write.once('open', fn);
on('error', write, callback);
});
pipe(streams, options, callback);
}

@@ -51,0 +38,0 @@

6

package.json
{
"name": "pipe-io",
"version": "1.1.8",
"version": "1.1.9",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -11,5 +11,3 @@ "description": "Pipe streams and handle events",

},
"dependencies": {
"execon": "~1.1.0"
},
"dependencies": {},
"license": "MIT",

@@ -16,0 +14,0 @@ "engines": {

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