Skip to content
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

fix: remove CustomEvent import #499

Merged
merged 3 commits into from
Aug 9, 2024
Merged

Conversation

achingbrain
Copy link
Collaborator

CustomEvent is global as of Node.js 18.7.0 and the polyfill will be removed in libp2p@2.x.x so remove the import here for forwards compatibility with the js-libp2p monorepo.

`CustomEvent` is [global as of Node.js 18.7.0](https://nodejs.org/docs/latest/api/globals.html#customevent)
and the polyfill will be removed in `libp2p@2.x.x` so remove the
import here for forwards compatibility with the js-libp2p monorepo.
@achingbrain achingbrain requested a review from a team as a code owner August 9, 2024 15:39
@wemeetagain wemeetagain merged commit ee9c1ad into master Aug 9, 2024
9 checks passed
@wemeetagain wemeetagain deleted the fix/remove-customevent-import branch August 9, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants