Releases: sindresorhus/component-emitter
Releases · sindresorhus/component-emitter
v2.0.0
Breaking
- Require Node.js 18 and modern browsers a56d239
- Removed support for component (now defunct project)
- Listeners are now internally stored in a
Map
. This only affects you if you used the private propertyemitter._callbacks
7298216
Improvements
- Add TypeScript types a56d239
- Add
.listenerCount()
method 3340972
v1.3.1
- Internal: Update repo URL