ternary-stream
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -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": { |
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
28024
+ Addedmerge-stream@^0.1.0
+ Addedmerge-stream@0.1.8(transitive)
+ Addedthrough2@0.5.10.6.5(transitive)
+ Addedxtend@3.0.04.0.2(transitive)
- Removedevent-stream@^3.1.2
- Removedduplexer@0.1.2(transitive)
- Removedevent-stream@3.3.5(transitive)
- Removedfrom@0.1.7(transitive)
- Removedmap-stream@0.0.7(transitive)
- Removedobject-keys@0.4.0(transitive)
- Removedpause-stream@0.0.11(transitive)
- Removedsplit@1.0.1(transitive)
- Removedstream-combiner@0.2.2(transitive)
- Removedthrough@2.3.8(transitive)
- Removedthrough2@0.4.2(transitive)
- Removedxtend@2.1.2(transitive)
Updatedthrough2@^0.5.1