Socket
Socket
Sign inDemoInstall

compose-stream

Package Overview
Dependencies
8
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

4

index.js

@@ -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);

7

package.json
{
"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"
}
}
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