Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ternary-stream

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ternary-stream - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

6

index.js

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

var ForkStream = require('fork-stream');
var eventStream = require('event-stream');
var mergeStream = require('merge-stream');
var duplexer2 = require('duplexer2');

@@ -36,3 +36,3 @@

// merge output with trueStream's output
mergedStream = eventStream.merge(falseStream, trueStream);
mergedStream = mergeStream(falseStream, trueStream);
} else {

@@ -42,3 +42,3 @@ // if there's no 'else' condition

// merge output with trueStream's output
mergedStream = eventStream.merge(forkStream.b, trueStream);
mergedStream = mergeStream(forkStream.b, trueStream);
}

@@ -45,0 +45,0 @@

{
"name": "ternary-stream",
"description": "Fork stream based on passed condition, and collect down-stream",
"version": "1.1.0",
"version": "1.2.0",
"homepage": "https://github.com/robrich/ternary-stream",

@@ -17,5 +17,5 @@ "repository": "git://github.com/robrich/ternary-stream.git",

"duplexer2": "^0.0.2",
"event-stream": "^3.1.2",
"merge-stream": "^0.1.0",
"fork-stream": "^0.0.4",
"through2": "^0.4.1"
"through2": "^0.5.1"
},

@@ -25,6 +25,6 @@ "devDependencies": {

"mocha": "^1.18.1",
"should": "^3.3.1"
"should": "^4.0.4"
},
"scripts": {
"test": "mocha && jshint ./*.js && jshint ./test/*.js"
"test": "mocha && jshint ./index.js && jshint ./test/."
},

@@ -31,0 +31,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc