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

async-eventemitter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-eventemitter - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

lib/AsyncEventEmitter.js

@@ -5,3 +5,3 @@ 'use strict';

util = require('util'),
async = require('async'),
eachSeries = require('async/eachSeries'),
AsyncEventEmitter;

@@ -43,3 +43,3 @@

async.eachSeries(listeners, function (fn, next) {
eachSeries(listeners, function (fn, next) {
var err;

@@ -46,0 +46,0 @@

{
"name": "async-eventemitter",
"version": "0.2.2",
"version": "0.2.3",
"description": "Just like EventEmitter, but with support for callbacks and interuption of the listener-chain",

@@ -18,3 +18,3 @@ "main": "index.js",

"dependencies": {
"async": "~0.2.9"
"async": "^2.4.0"
},

@@ -21,0 +21,0 @@ "devDependencies": {

@@ -21,3 +21,3 @@ # AsyncEventEmitter

.on('test', function (e) {
// This is behaves a synchronous event listener (note the lack of a second
// This is a synchronous event listener (note the lack of a second
// callback argument)

@@ -32,3 +32,3 @@ console.log(e);

events.trigger('test', { data: 'data' }, function (err) {
events.emit('test', { data: 'data' }, function (err) {
// This is run after all of the event listeners are done

@@ -69,3 +69,3 @@ console.log(err);

For `addListener() on() once() removeListener() removeAllListeners()
setMaxListeners() listeners()` see the [EventEmitter docs](nodejs.org/api/events.html),
setMaxListeners() listeners()` see the [EventEmitter docs](http://nodejs.org/api/events.html),
nothing new here.

@@ -72,0 +72,0 @@

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