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

Support Node 20 #303

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Support Node 20 #303

wants to merge 3 commits into from

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.

None yet

2 participants