async-eventemitter
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19155
+ Addedasync@2.6.4(transitive)
+ Addedlodash@4.17.21(transitive)
- Removedasync@0.2.10(transitive)
Updatedasync@^2.4.0