Socket
Socket
Sign inDemoInstall

compose-stream

Package Overview
Dependencies
12
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

4

index.js

@@ -5,2 +5,3 @@ 'use strict';

var through = require('through2');
var merge = require('merge-stream');

@@ -25,2 +26,5 @@ var composeStream = function (fn) {

if (stream) {
if (Array.isArray(stream)) {
stream = merge.apply(null, stream);
}
stream.on('error', function (error) {

@@ -27,0 +31,0 @@ output.emit('error', error);

7

package.json
{
"name": "compose-stream",
"version": "0.0.1",
"version": "0.0.2",
"description": "Compose a Node stream at runtime with conditional logic.",

@@ -30,5 +30,6 @@ "main": "index.js",

"dependencies": {
"duplexer2": "0.0.2",
"through2": "0.6.5"
"duplexer2": "0.0.2",
"merge-stream": "1.0.0",
"through2": "0.6.5"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc