event-stream
Advanced tools
Comparing version 0.9.2 to 0.9.3
@@ -543,3 +543,6 @@ //filter will reemit the data if cb(err,pass) pass is truthy | ||
es.pipeable = function () { | ||
var opts = require('optimist').argv | ||
if(process.title != 'node') | ||
return console.error('cannot use es.pipeable in the browser') | ||
//(require) inside brackets to fool browserify, because this does not make sense in the browser. | ||
var opts = (require)('optimist').argv | ||
var args = [].slice.call(arguments) | ||
@@ -581,3 +584,3 @@ | ||
var protocol = require(opts.protocol) | ||
var protocol = (require)(opts.protocol) | ||
@@ -584,0 +587,0 @@ var server = protocol.createServer(function (instream, outstream) { |
{ "name": "event-stream" | ||
, "version": "0.9.2" | ||
, "version": "0.9.3" | ||
, "description": "construct pipes of streams of events" | ||
@@ -4,0 +4,0 @@ , "homepage": "http://github.com/dominictarr/event-stream" |
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
41125
1055