[v8.x] lib: refactor ES module loader for readability#18085
[v8.x] lib: refactor ES module loader for readability#18085addaleax wants to merge 3 commits intonodejs:v8.x-stagingfrom
Conversation
|
Ran this locally and got: CI to check: |
|
Rerun to check it's still not working: https://ci.nodejs.org/job/node-test-pull-request/13776/ Also ping @addaleax 😁 |
lib/internal/loader/ModuleJob.js
Outdated
| @@ -1,91 +1,93 @@ | |||
| 'use strict'; | |||
|
|
|||
| const { ModuleWrap } = internalBinding('module_wrap'); | |||
There was a problem hiding this comment.
This should be const { ModuleWrap } = require('internal/process').internalBinding('module_wrap');
|
ping @addaleax |
|
sorry for dropping the ball on this, i’ll get to it as soon as i have time (which is the case for basically all my open prs – not that i don’t appreciate pings). if this is urgent for anybody, feel free to just push to this branch and kick off ci. i, however, am going to sleep now. night everyone! |
|
@addaleax just pinging as a reflex, lmk if you would prefer I hold off on pinging you for a minute |
44cb0d3 to
16bf5fe
Compare
|
I've pushed up the internalBinding fix here, and run a new CI job - https://ci.nodejs.org/job/node-test-pull-request/14040/. Updated CI: https://ci.nodejs.org/job/node-test-pull-request/14136/ |
|
Note - CI here is now passing, although there seem to be some unrelated CI failures. |
|
Just to check, this would be semver-major as it adds a new Error message, but ESM is still experimental. Is that correct? |
|
Landed in 2019b02 Thanks for fixing this up @guybedford ! |
PR-URL: #16579
Only merge conflict was in
errors.md