Releases: EventEmitter2/EventEmitter2
Releases · EventEmitter2/EventEmitter2
v6.4.4 Added ETIMEDOUT code; Fixed prepending listeners to wildcard emitters;
Added
- ETIMEDOUT code property to timeout errors @HalleyAssist
Fixed
- prepending listeners to wildcard emitters @Ilrilan
v6.4.3 Fixed waitFor listeners leakage issue & objectify option in wildcard mode
Fixed
- ignoring the objectify option in wildcard mode (#265) @DigitalBrainJS
- waitFor listeners leakage issue (#262) @DigitalBrainJS
v6.4.2 Removed eval usage to avoid Content Security Policy issue (#259)
Fixed
- removed eval usage to avoid Content Security Policy issue (#259) @DigitalBrainJS
v6.4.1 Increased emitter performance in wildcard mode
Fixed
- increased emitter performance in wildcard mode @DigitalBrainJS
v6.4.0 Added new features and many performance improvements.
Added
- Symbol events support for simple and wildcard emitters #201 @DigitalBrainJS
emitter.hasListeners
method #251 @DigitalBrainJSemitter.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
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
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
Added
- waitFor method to wait for events using promises @DigitalBrainJS
v6.1.0 Added ignoreErrors option in constructor @DigitalBrainJS
Added
ignoreErrors
option in constructor @DigitalBrainJS
v6.0.0
Improved performance by not creating _events
if there are no publishers