event-stream
Advanced tools
Comparing version 0.8.0 to 0.8.1
25
index.js
@@ -12,26 +12,2 @@ //filter will reemit the data if cb(err,pass) pass is truthy | ||
<<<<<<< index.js | ||
//a do nothing stream that just passes through | ||
es.through = function () { | ||
var s = new Stream() | ||
s.readable = true | ||
s.writeable = true | ||
s.write = function (data) { | ||
this.emit('data', data) | ||
return true | ||
} | ||
s.end = function (data) { | ||
if(data) | ||
this.write(data) | ||
this.emit('end') | ||
this.writable = false | ||
} | ||
return s | ||
} | ||
||||||| node_modules/event-stream/index.js | ||
======= | ||
// through | ||
@@ -58,3 +34,2 @@ // | ||
>>>>>>> ../snob/node_modules/event-stream/index.js | ||
// writable stream, collects all events into an array | ||
@@ -61,0 +36,0 @@ // and calls back when 'end' occurs |
{ "name": "event-stream" | ||
, "version": "0.8.0" | ||
, "version": "0.8.1" | ||
, "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
24871
495