doc: add ESM version examples to events api doc#43226
doc: add ESM version examples to events api doc#43226F3n67u wants to merge 6 commits intonodejs:mainfrom
Conversation
Co-authored-by: James M Snell <jasnell@gmail.com>
Co-authored-by: James M Snell <jasnell@gmail.com>
Co-authored-by: James M Snell <jasnell@gmail.com>
|
Anybody could help to land this pr? Thanks. |
Commit Queue failed- Loading data for nodejs/node/pull/43226
✔ Done loading data for nodejs/node/pull/43226
----------------------------------- PR info ------------------------------------
Title doc: add ESM version examples to events api doc (#43226)
Author Feng Yu (@F3n67u)
Branch F3n67u:doc/events -> nodejs:main
Labels doc, events
Commits 6
- doc: add ESM version examples to events api doc
- Update doc/api/events.md
- Update doc/api/events.md
- Update doc/api/events.md
- squash: replace with import { EventEmitter } from 'node:events'
- squash: use EventEmitter.captureRejections = true
Committers 2
- Feng Yu
- GitHub
PR-URL: https://github.com/nodejs/node/pull/43226
Reviewed-By: Luigi Pinca
Reviewed-By: James M Snell
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/43226
Reviewed-By: Luigi Pinca
Reviewed-By: James M Snell
--------------------------------------------------------------------------------
ℹ This PR was created on Sat, 28 May 2022 03:59:11 GMT
✔ Approvals: 2
✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/43226#pullrequestreview-1003491311
✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/43226#pullrequestreview-1006095214
✔ Last GitHub CI successful
ℹ Green GitHub CI is sufficient
--------------------------------------------------------------------------------
✔ No git cherry-pick in progress
✔ No git am in progress
✔ No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/main up to date...
From https://github.com/nodejs/node
* branch main -> FETCH_HEAD
✔ origin/main is now up-to-date
- Downloading patch for 43226
From https://github.com/nodejs/node
* branch refs/pull/43226/merge -> FETCH_HEAD
✔ Fetched commits as dc53c29b97e8..b10cd7cccc24
--------------------------------------------------------------------------------
Auto-merging doc/api/events.md
[main 617e818863] doc: add ESM version examples to events api doc
Author: Feng Yu
Date: Sat May 28 11:50:20 2022 +0800
1 file changed, 345 insertions(+), 18 deletions(-)
Auto-merging doc/api/events.md
[main aa89f12a5c] Update doc/api/events.md
Author: Feng Yu
Date: Sun Jun 12 09:48:24 2022 +0800
1 file changed, 1 insertion(+), 1 deletion(-)
Auto-merging doc/api/events.md
[main e06099fad3] Update doc/api/events.md
Author: Feng Yu
Date: Sun Jun 12 09:48:38 2022 +0800
1 file changed, 1 insertion(+), 1 deletion(-)
Auto-merging doc/api/events.md
[main 10667e20e7] Update doc/api/events.md
Author: Feng Yu
Date: Sun Jun 12 09:48:48 2022 +0800
1 file changed, 1 insertion(+), 1 deletion(-)
Auto-merging doc/api/events.md
[main e4a53f8429] squash: replace with import { EventEmitter } from 'node:events'
Author: Feng Yu
Date: Sun Jun 12 10:22:03 2022 +0800
1 file changed, 2 insertions(+), 2 deletions(-)
Auto-merging doc/api/events.md
[main 28a86183ef] squash: use EventEmitter.captureRejections = true
Author: Feng Yu
Date: Tue Jun 14 06:18:24 2022 +0000
1 file changed, 3 insertions(+), 3 deletions(-)
✔ Patches applied
There are 6 commits in the PR. Attempting autorebase.
Rebasing (2/12)
https://github.com/nodejs/node/actions/runs/2520904293 |
|
Landed in 1737c77. |
PR-URL: #43226 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #43226 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #43226 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #43226 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs/node#43226 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This pr adds ESM version examples to events API doc. This is done to put more emphasis on the ESM.
inspired by #37170