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

eventflow

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventflow - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

test/return.js

10

eventflow.js

@@ -1,8 +0,12 @@

var async = require('async');
var async = require('async'),
EventEmitter = require('events').EventEmitter;
var eventflow = module.exports = function eventflow (eventEmitter) {
// We were passed a 'class'.
if (eventEmitter.prototype && eventEmitter.prototype.on) {
if (eventEmitter && eventEmitter.prototype && eventEmitter.prototype.on) {
eventEmitter = eventEmitter.prototype;
}
else if (typeof eventEmitter === 'undefined') {
eventEmitter = new EventEmitter;
}

@@ -41,2 +45,4 @@ // Attach async methods.

};
return eventEmitter;
};

@@ -43,0 +49,0 @@

2

package.json
{
"name": "eventflow",
"version": "0.0.5",
"version": "0.0.6",
"description": "Flow control for your event emitters",

@@ -5,0 +5,0 @@ "main": "eventflow.js",

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