hook-emitter
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -8,4 +8,2 @@ 'use strict'; | ||
require('source-map-support/register'); | ||
var _debug = require('debug'); | ||
@@ -21,2 +19,6 @@ | ||
if (!Error.prepareStackTrace) { | ||
require('source-map-support/register'); | ||
} | ||
const log = (0, _debug2.default)('hook-emitter'); | ||
@@ -258,3 +260,3 @@ | ||
log(`running chain with ${ listeners.length } listeners`); | ||
log(`running chain with ${listeners.length} listeners`); | ||
@@ -291,3 +293,3 @@ // start the chain and return its promise | ||
log(`calling listener ${ i }`, args); | ||
log(`calling listener ${i}`, args); | ||
@@ -294,0 +296,0 @@ // call the listener |
{ | ||
"name": "hook-emitter", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Event emitter with support for asynchronous handlers and a sweet function hook mechanism.", | ||
@@ -20,27 +20,27 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"babel-plugin-transform-async-to-generator": "^6.16.0", | ||
"debug": "^2.3.3", | ||
"source-map-support": "^0.4.6" | ||
"babel-plugin-transform-async-to-generator": "^6.24.1", | ||
"debug": "^2.6.8", | ||
"source-map-support": "^0.4.15" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^7.1.1", | ||
"babel-preset-es2015-node4": "^2.1.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-preset-es2015-node4": "^2.1.1", | ||
"chai": "^3.5.0", | ||
"codeclimate-test-reporter": "^0.4.0", | ||
"coveralls": "^2.11.15", | ||
"codeclimate-test-reporter": "^0.4.1", | ||
"coveralls": "^2.13.1", | ||
"del": "^2.2.2", | ||
"esdoc-es7-plugin": "0.0.3", | ||
"eslint": "3.12.0", | ||
"eslint": "3.19.0", | ||
"gulp": "^3.9.1", | ||
"gulp-babel": "^6.1.2", | ||
"gulp-babel-istanbul": "^1.5.0", | ||
"gulp-debug": "^3.0.0", | ||
"gulp-esdoc": "^0.3.0", | ||
"gulp-babel-istanbul": "^1.6.0", | ||
"gulp-debug": "^3.1.0", | ||
"gulp-esdoc": "^0.4.1", | ||
"gulp-eslint": "^3.0.1", | ||
"gulp-filter": "^4.0.0", | ||
"gulp-filter": "^5.0.0", | ||
"gulp-inject-modules": "^1.0.0", | ||
"gulp-load-plugins": "^1.4.0", | ||
"gulp-load-plugins": "^1.5.0", | ||
"gulp-mocha": "^3.0.1", | ||
"gulp-plumber": "^1.1.0", | ||
"gulp-sourcemaps": "^2.2.0" | ||
"gulp-sourcemaps": "^2.6.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "homepage": "https://github.com/cb1kenobi/hook-emitter", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
374
165302