Skip to content

Upgrade to eventemitter3 #668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Upgrade to eventemitter3 #668

merged 2 commits into from
Jan 23, 2024

Conversation

EzraBrooks
Copy link
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