ternary-stream
Advanced tools
Comparing version 1.2.3 to 2.0.0
@@ -6,3 +6,3 @@ 'use strict'; | ||
var mergeStream = require('merge-stream'); | ||
var duplexer2 = require('duplexer2'); | ||
var duplexify = require('duplexify'); | ||
@@ -55,3 +55,3 @@ module.exports = function (condition, trueStream, falseStream) { | ||
// consumers write in to forkStream, we write out to outStream | ||
return duplexer2({objectMode: true}, forkStream, outStream); | ||
return duplexify.obj(forkStream, outStream); | ||
}; |
{ | ||
"name": "ternary-stream", | ||
"description": "Fork stream based on passed condition, and collect down-stream", | ||
"version": "1.2.3", | ||
"version": "2.0.0", | ||
"homepage": "https://github.com/robrich/ternary-stream", | ||
@@ -16,14 +16,14 @@ "repository": "git://github.com/robrich/ternary-stream.git", | ||
"dependencies": { | ||
"duplexer2": "~0.0.2", | ||
"merge-stream": "~0.1.6", | ||
"fork-stream": "~0.0.4", | ||
"through2": "~0.6.3" | ||
"duplexify": "^3.4.2", | ||
"fork-stream": "^0.0.4", | ||
"merge-stream": "^1.0.0", | ||
"through2": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"jshint": "^2.5.10", | ||
"mocha": "^2.0.1", | ||
"should": "^4.2.1" | ||
"jshint": "^2.8.0", | ||
"mocha": "^2.3.3", | ||
"should": "^7.1.0" | ||
}, | ||
"scripts": { | ||
"test": "mocha && jshint ./index.js && jshint ./test/." | ||
"test": "mocha && jshint ." | ||
}, | ||
@@ -33,8 +33,3 @@ "engines": { | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://github.com/robrich/ternary-stream/raw/master/LICENSE" | ||
} | ||
] | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
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
10
28264
+ Addedduplexify@^3.4.2
+ Addedduplexify@3.7.1(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedmerge-stream@1.0.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedstream-shift@1.0.3(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedthrough2@2.0.5(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedduplexer2@~0.0.2
- Removedduplexer2@0.0.2(transitive)
- Removedisarray@0.0.1(transitive)
- Removedmerge-stream@0.1.8(transitive)
- Removedreadable-stream@1.0.341.1.14(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedthrough2@0.6.5(transitive)
Updatedfork-stream@^0.0.4
Updatedmerge-stream@^1.0.0
Updatedthrough2@^2.0.0