[v22.x backport] esm: implement import.meta.main#58693
[v22.x backport] esm: implement import.meta.main#58693aduh95 merged 2 commits intonodejs:v22.x-stagingfrom
Conversation
|
Review requested:
|
|
Should include #58661 if it doesn't already |
|
We should only pick the commits that have landed on |
|
Ah, my bad, I probably picked commits from the wrong branch. |
e529a26 to
8868f38
Compare
|
@aduh95 to adhere to the 'only commits that landed' rule, should I squash the new commits into a landed commit? or are commits for manual resolution after cherry-picking OK? |
|
What's the deal here? I don't understand why CI is failing 🤔 |
You can use
It looks like the Coverage CI is broken on that branch, unrelated to your changes. The macOS one timed out, also probably unrelated to your changes. |
|
can you include bba07d7 in the backport (if lands cleanly otherwise I can open a backport) |
|
Sorry I didnt notice it was already included. Looks good |
25ba866 to
ea7c98b
Compare
FWIW the broken Coverage Windows GitHub Workflow is the same breakage as #58801 (and unrelated to this PR). cc FYI @nodejs/releasers |
ea7c98b to
d546c7a
Compare
|
Rebased onto |
|
Can you please rebase? |
d546c7a to
917555b
Compare
|
Something weird happened and I had to drop a couple of commits, then redo the rebase - let me know whether or not things look OK |
686d42a to
ee7910e
Compare
|
Rebased on top of |
Boolean value to check if an ES Module is the entrypoint of the current process. Implements: nodejs#57226 Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: nodejs#57804 Backport-PR-URL: nodejs#58693 Fixes: nodejs#57226 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
PR-URL: nodejs#58661 Backport-PR-URL: nodejs#58693 Fixes: nodejs#58660 Reviewed-By: Xuguang Mei <meixuguang@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
ee7910e to
2fc8989
Compare
|
Landed in f99aa74...2fc8989 |
Backport #57804 and #58661 to v22.x release line