Comparing version 3.0.6 to 3.0.7
@@ -6,2 +6,3 @@ 'use strict'; | ||
const assert = require('assert'); | ||
const pipeline = require('stream').pipeline; | ||
@@ -22,2 +23,5 @@ module.exports = (streams, options, callback) => { | ||
if (options.end && pipeline) | ||
return pipeline.apply(null, [streams].concat(callback)); | ||
pipe(streams, options, callback); | ||
@@ -24,0 +28,0 @@ } |
{ | ||
"name": "pipe-io", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -36,6 +36,7 @@ "description": "Pipe streams and handle events", | ||
"gunzip-maybe": "^1.4.1", | ||
"mock-require": "^3.0.2", | ||
"nodemon": "^1.11.0", | ||
"nyc": "^13.0.1", | ||
"pullout": "^2.0.0", | ||
"redrun": "^6.0.0", | ||
"redrun": "^7.0.0", | ||
"tape": "^4.2.0", | ||
@@ -42,0 +43,0 @@ "tar-fs": "^1.14.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13072
127
12