NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2082 most downloaded on npm
A feature-rich Node.js event emitter implementation with namespaces, wildcards, TTL, async listeners and browser/worker support.
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 9 months
Some releases are documented
notes for 21 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
62 releases · first in 2011
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
ETIMEDOUT code property to timeout errors @HalleyAssist
Added
Fixed
ignoring the objectify option in wildcard mode (#265) @DigitalBrainJS
Fixed
removed eval usage to avoid Content Security Policy issue (#259) @DigitalBrainJS
Fixed
increased emitter performance in wildcard mode @DigitalBrainJS
Fixed
Symbol events support for simple and wildcard emitters #201 @DigitalBrainJS
Added
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 @DigitalBrainJSobjectify option) @DigitalBrainJSemitter.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 @DigitalBrainJSasync, promisify and nextTicks options for subscription methods) @DigitalBrainJSobjectify option) @DigitalBrainJSthis.event property #162 @DigitalBrainJSAny listeners #254 @DigitalBrainJSemitter.eventNames now supports wildcard emitters #214 @DigitalBrainJSNothing published for this version
emitter.getMaxListeners() & EventEmitter2.defaultMaxListeners() @DigitalBrainJS
Added
Fixed - #153 - global scope is no longer defaulted to the window variable, now supports workers. @DigitalBrainJS
Fixed
waitFor method to wait for events using promises @DigitalBrainJS
Added
ignoreErrors option in constructor @DigitalBrainJS
Added
ignoreErrors option in constructor @DigitalBrainJSignoreErrors errors option in constructor @DigitalBrainJSImproved performance by not creating _events if there are no publishers
Improved performance by not creating _events if there are no publishers
https://github.com/hij1nx/EventEmitter2/compare/4.1.0...v6.0.0
Allow removeAllListeners to receive undefined as an argument. @majames
removeAllListeners to receive undefined as an argument. @majamesNothing published for this version
Correct listeners and listenersAny typings @cartant
Use process.emitWarning if it is available (new Node.js) @SimenB #212
Fix for EventAndListener in typescript definition. @thisboyiscrazy
prependListener and eventNames. @sebakerckhof #210Fixed emitAsync when using once. @Moeriki
emitAsync when using once. @MoerikiChanged Typescript definition to take array of strings for event name. @thisboyiscrazy
Typescript definition now uses EventEmitter2 instead of EventEmitter2.emitter. @gitawego
EventEmitter2 instead of EventEmitter2.emitter. @gitawegoEventEmitter2 instead of EventEmitter2.eitter. @gitawegoTypescript definition for removeAllListeners can take an array. @gitawego
removeAllListeners can take an array. @gitawegoremoveAllListeners can take an array. @gitawegoAdded missing parameters for emitAsync in typescript definition. @stanleytakamatsu
option to emit name of event that causes memory leak warning. @kwiateusz
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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
onAny now takes the event that's being emitted as the first argument.
onAny now takes the event that's being emitted as the first argument.removeListener and removeListenerAny events to compliment newListener and newListenerAnyemitAsync event. Emits event and processes results of all listeners with Promise.allNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →