compose-stream
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -5,3 +5,2 @@ 'use strict'; | ||
var through = require('through2'); | ||
var merge = require('merge-stream'); | ||
@@ -26,5 +25,2 @@ var composeStream = function (fn) { | ||
if (stream) { | ||
if (Array.isArray(stream)) { | ||
stream = merge.apply(null, stream); | ||
} | ||
stream.on('error', function (error) { | ||
@@ -31,0 +27,0 @@ output.emit('error', error); |
{ | ||
"name": "compose-stream", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Compose a Node stream at runtime with conditional logic.", | ||
@@ -30,6 +30,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"duplexer2": "0.0.2", | ||
"merge-stream": "1.0.0", | ||
"through2": "0.6.5" | ||
"duplexer2": "0.0.2", | ||
"through2": "0.6.5" | ||
} | ||
} |
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
2
3979
43
- Removedmerge-stream@1.0.0
- Removedisarray@1.0.0(transitive)
- Removedmerge-stream@1.0.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)