Comparing version 0.1.1 to 0.2.0
@@ -5,3 +5,3 @@ (function(define) { | ||
var Promise = require('bluebird'); | ||
var EventEmitter = require('event-emitter'); | ||
var EventEmitter = require('wolfy87-eventemitter'); | ||
@@ -95,3 +95,3 @@ var AsyncBox = function() { | ||
AsyncBox.prototype = EventEmitter.prototype; | ||
AsyncBox.prototype = Object.create(EventEmitter.prototype); | ||
@@ -98,0 +98,0 @@ return AsyncBox; |
{ | ||
"name": "async-box", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Your main application object with promise async api API", | ||
@@ -24,3 +24,3 @@ "author": { | ||
"bluebird": "3.0", | ||
"event-emitter": "0.3.4" | ||
"wolfy87-eventemitter": "4.3.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
describe("async-box", function() { | ||
var AsyncBox = require('../index'); | ||
var Promise = require('bluebird'); | ||
var EventEmitter = require('event-emitter'); | ||
var EventEmitter = require('wolfy87-eventemitter'); | ||
@@ -19,3 +19,4 @@ var app; | ||
expect(AsyncBox.prototype).toBe(EventEmitter.prototype); | ||
expect(app.on).not.toBeUndefined(); | ||
expect(app.emit).not.toBeUndefined(); | ||
}); | ||
@@ -22,0 +23,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
15187
282
+ Addedwolfy87-eventemitter@4.3.0
+ Addedwolfy87-eventemitter@4.3.0(transitive)
- Removedevent-emitter@0.3.4
- Removedd@0.1.11.0.2(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedesniff@2.0.1(transitive)
- Removedevent-emitter@0.3.40.3.5(transitive)
- Removedext@1.7.0(transitive)
- Removednext-tick@1.1.0(transitive)
- Removedtype@2.7.3(transitive)