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

2

package.json
{ "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"

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