Skip to content

Upgrade to eventemitter3#668

Merged
EzraBrooks merged 2 commits intodevelopfrom
upgrade-to-eventemitter3
Jan 23, 2024
Merged

Upgrade to eventemitter3#668
EzraBrooks merged 2 commits intodevelopfrom
upgrade-to-eventemitter3

Conversation

@EzraBrooks
Copy link
Copy Markdown
Contributor

Public API Changes

Changes EventEmitter2 to EventEmitter from the eventemitter3 package.

Description

EventEmitter2 is dead and has some serious issues.. eventemitter3 is almost API-identical and extremely widely used (26 million weekly downloads on npm). This drop-in replacement should suffice.

EventEmitter3 also doesn't seem to limit max listeners, so that eliminates one of our test suites (yay)

@EzraBrooks EzraBrooks added the v2 Issues and PRs, which will be fixed in v2, as it is a breaking change label Jan 22, 2024
@EzraBrooks EzraBrooks marked this pull request as ready for review January 22, 2024 20:17
@EzraBrooks EzraBrooks requested a review from sea-bass January 22, 2024 20:17
@EzraBrooks EzraBrooks self-assigned this Jan 22, 2024
@EzraBrooks EzraBrooks merged commit 249610e into develop Jan 23, 2024
@EzraBrooks EzraBrooks deleted the upgrade-to-eventemitter3 branch January 23, 2024 15:45
@EzraBrooks EzraBrooks added this to the 2.0.0 milestone Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Issues and PRs, which will be fixed in v2, as it is a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants