Comparing version 3.0.10 to 3.0.11
@@ -6,3 +6,2 @@ 'use strict'; | ||
const assert = require('assert'); | ||
const pipeline = require('stream').pipeline; | ||
@@ -23,5 +22,2 @@ module.exports = (streams, options, callback) => { | ||
if (options.end && pipeline) | ||
return pipeline(streams, callback); | ||
pipe(streams, options, callback); | ||
@@ -28,0 +24,0 @@ } |
{ | ||
"name": "pipe-io", | ||
"version": "3.0.10", | ||
"version": "3.0.11", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -36,3 +36,2 @@ "description": "Pipe streams and handle events", | ||
"gunzip-maybe": "^1.4.1", | ||
"mock-require": "^3.0.2", | ||
"nodemon": "^1.11.0", | ||
@@ -39,0 +38,0 @@ "nyc": "^13.0.1", |
Pipe-io [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL] | ||
========= | ||
Pipe [streams](https://github.com/substack/stream-handbook) and handle events. | ||
Uses [stream.pipeline](https://nodejs.org/dist/latest-v10.x/docs/api/stream.html#stream_stream_pipeline_streams_callback) where can. | ||
@@ -6,0 +5,0 @@ ## Install |
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
14
13598
133
48