Skip to content

Conversation

HitkoDev
Copy link

process.send is no longer accessible from ESM loader in Node 20, therefore loader needs to use context.port and a proxy function to send messages to the parent. See https://nodejs.org/api/esm.html#globalpreload

--experimental-specifier-resolution has been removed in Node 19 (nodejs/node#44859), so the test for it is no longer relevant.

`process.send` is no longer accessible from ESM loader in Node 20, therefore loader needs to use `context.port` and a proxy function to send messages to the parent. See https://nodejs.org/api/esm.html#globalpreload
@HitkoDev HitkoDev changed the title Support custom loaders and ESM modules for Node 20 Support Node 20 Sep 15, 2023
@olivierchatry
Copy link

Would be really great if we can get that PR in and get a version publish !

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