Skip to content

fix: remove CustomEvent import#499

Merged
wemeetagain merged 3 commits into
masterfrom
fix/remove-customevent-import
Aug 9, 2024
Merged

fix: remove CustomEvent import#499
wemeetagain merged 3 commits into
masterfrom
fix/remove-customevent-import

Conversation

@achingbrain

Copy link
Copy Markdown
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
@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