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 3.0.6 to 3.0.7

32

index.js

@@ -339,36 +339,4 @@ //filter will reemit the data if cb(err,pass) pass is truthy

//
// helper to make your module into a unix pipe
// simply add
//
// if(!module.parent)
// require('event-stream').pipable(asyncFunctionOrStreams)
//
// asyncFunctionOrStreams may be one or more Streams or if it is a function,
// it will be automatically wrapped in es.map
//
// then pipe stuff into from the command line!
//
// curl registry.npmjs.org/event-stream | node hello-pipeable.js | grep whatever
//
// etc!
//
// also, start pipeable running as a server!
//
// > node hello-pipeable.js --port 44444
//
var setup = function (args) {
return args.map(function (f) {
var x = f()
if('function' === typeof x)
return es.map(x)
return x
})
}
es.pipeable = function () {
console.error('warn: event-stream. I have decided that pipeable is a kitchen-sick and will remove soon if no objections')
console.error('please post an issue if you actually use this. -- dominictarr')
throw new Error('[EVENT-STREAM] es.pipeable is deprecated')
}

2

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

@@ -5,0 +5,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