Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

event-stream

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

event-stream - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

.npmignore

25

index.js

@@ -12,2 +12,26 @@ //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

@@ -34,2 +58,3 @@ //

>>>>>>> ../snob/node_modules/event-stream/index.js
// writable stream, collects all events into an array

@@ -36,0 +61,0 @@ // and calls back when 'end' occurs

4

package.json
{ "name": "event-stream"
, "version": "0.7.0"
, "version": "0.8.0"
, "description": "construct pipes of streams of events"

@@ -17,2 +17,2 @@ , "homepage": "http://github.com/dominictarr/event-stream"

, "author": "Dominic Tarr <dominic.tarr@gmail.com> (http://bit.ly/dominictarr)"
}
}
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