Sitelet https://github.com/evanw/esbuild/pull/4538
Skip to content

Support inspector/promises and readline/promises as Node.js built-in modules - #4538

Open
tmisirpash wants to merge 1 commit into
evanw:mainfrom
tmisirpash:timurm/add_more_builtins
Open

tmisirpash wants to merge 1 commit into
evanw:mainfrom
tmisirpash:timurm/add_more_builtins

Conversation

@tmisirpash

@tmisirpash tmisirpash commented Sep 13, 2026 •

Copy link
Copy Markdown

Currently, the inspector/promises and readline/promises modules need to be manually marked as external. This PR adds them to the known list of Node.js built-ins.

If you run the node --experimental-wasi-unstable-preview1 -p "[...require('module').builtinModules].join('\n')" command that's suggested in the codebase on Node.js 26, you'll also see that the _stream built-ins were removed, but I've kept them for back-compat.

@tmisirpash
tmisirpash marked this pull request as ready for review September 13, 2026 06:06
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.

1 participant