EventEmitter2 Versions Save

A nodejs event emitter implementation with namespaces, wildcards, TTL, works in the browser

4.1.0

7 years ago

Added

  • Use process.emitWarning if it is available (new Node.js) @SimenB #212

4.0.0

7 years ago

Fixed

  • Fix for EventAndListener in typescript definition. @thisboyiscrazy

Added

  • New Node 6 APIs such as prependListener and eventNames. @sebakerckhof #210

3.0.0

7 years ago
  • Typescript definition now uses EventEmitter2 instead of EventEmitter2.emitter. @gitawego

2.2.2

7 years ago
  • Typescript definition for removeAllListeners can take an array. @gitawego

2.2.1

7 years ago

2.2.0

7 years ago

Added

option to emit name of event that causes memory leak warning. @kwiateusz

Fixed

component.json and bower.json got updated with latest version. @kwiateusz missing globals in test suite got added in. @kwiateusz

2.1.3

7 years ago

1.0.0

8 years ago
  • onAny now takes the event that's being emitted as the first argument.
  • Exports now contain the EventEmitter2 constructor. Should fix issues with requires.
  • removeListener and removeListenerAny events to compliment newListener and newListenerAny
  • new emitAsync event. Emits event and processes results of all listeners with Promise.all
  • Bug fixes