Skip to content

Releases: EventEmitter2/EventEmitter2

v6.4.4 Added ETIMEDOUT code; Fixed prepending listeners to wildcard emitters;

13 Mar 12:31
Compare
Choose a tag to compare

Added

Fixed

  • prepending listeners to wildcard emitters @Ilrilan

v6.4.3 Fixed waitFor listeners leakage issue & objectify option in wildcard mode

13 Mar 12:29
Compare
Choose a tag to compare

Fixed

v6.4.2 Removed eval usage to avoid Content Security Policy issue (#259)

13 Mar 12:26
Compare
Choose a tag to compare

Fixed

v6.4.1 Increased emitter performance in wildcard mode

13 Mar 12:25
Compare
Choose a tag to compare

Fixed

v6.4.0 Added new features and many performance improvements.

13 Mar 12:24
Compare
Choose a tag to compare

Added

  • Symbol events support for simple and wildcard emitters #201 @DigitalBrainJS
  • emitter.hasListeners method #251 @DigitalBrainJS
  • emitter.listenTo & emitter.stopListeningTo methods for listening to an external event emitter of any kind and propagate its events through itself using optional reducers/filters @DigitalBrainJS
  • async listeners for invoking handlers using setImmediate|setTimeout|nextTick (see async, promisify and nextTicks options for subscription methods) @DigitalBrainJS
  • The ability for subscription methods to return a listener object to simplify subscription management (see the objectify option) @DigitalBrainJS
  • micro-optimizations for performance reasons @DigitalBrainJS

v6.3.0 Added emitter.getMaxListeners() ,EventEmitter2.defaultMaxListeners(),EventEmitter2.once

13 Mar 12:19
Compare
Choose a tag to compare

Added

  • emitter.getMaxListeners() & EventEmitter2.defaultMaxListeners() @DigitalBrainJS
  • EventEmitter2.once for feature parity with EventEmitter.once @DigitalBrainJS

v6.2.1 Global scope is no longer defaulted to the window variable, now supports workers

13 Mar 12:17
Compare
Choose a tag to compare

Fixed

  • #153 - global scope is no longer defaulted to the window variable, now supports workers. @DigitalBrainJS

v6.2.0 Added `waitFor` method to wait for events using promises

13 Mar 12:15
Compare
Choose a tag to compare

Added

v6.1.0 Added ignoreErrors option in constructor @DigitalBrainJS

13 Mar 12:12
Compare
Choose a tag to compare

v6.0.0

23 Dec 19:31
Compare
Choose a tag to compare

Improved performance by not creating _events if there are no publishers

4.1.0...v6.0.0