Socket
Socket
Sign inDemoInstall

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.2.3 to 2.0.0

.jshintignore

4

index.js

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

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