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

Add nodejs data for CustomEvent #24955

Merged
merged 2 commits into from
Nov 12, 2024
Merged

Conversation

skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Nov 5, 2024

Summary

The version table of CustomEvent in globals and events are inconsistent (note that CustomEvent can only be accessed globally), after checking the node release note, confirmed data in two modules should be used, so fired an issue at nodejs/node#55733

https://nodejs.org/docs/latest/api/globals.html#customevent
https://nodejs.org/docs/latest/api/events.html#class-customevent

  • add with --experimental-global-customevent CLI flag in v18.7.0, v16.17.0, default disabled

https://nodejs.org/en/blog/release/v16.17.0/
https://nodejs.org/en/blog/release/v18.7.0/
nodejs/node#43885
nodejs/node#43514

  • remove --experimental-global-customevent CLI flag and add --no-experimental-global-customevent CLI flag in v19.0.0, default enabled

https://nodejs.org/en/blog/release/v19.0.0/
nodejs/node#44860

  • make stable in docs in v22.1.0, v20.13.0, default enabled

https://nodejs.org/en/blog/release/v20.13.0/
https://nodejs.org/en/blog/release/v22.1.0/
nodejs/node#52618

  • remove --no-experimental-global-customevent CLI flag in v23.0.0, default enabled

https://nodejs.org/en/blog/release/v23.0.0/
nodejs/node#52723

also, previous data is added in #23120

Test results and supporting details

Related issues

@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Nov 5, 2024
@skyclouds2001 skyclouds2001 marked this pull request as ready for review November 7, 2024 08:46
@caugner caugner merged commit 8223d49 into mdn:main Nov 12, 2024
6 checks passed
@skyclouds2001 skyclouds2001 deleted the node-CustomEvent branch November 12, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants