-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
remove node: prefixed modules from builtinModules #57066
Comments
It does not, not on the versions that include prefix-only modules in Why are you saying the expected behavior would be |
@huseeiin are you asking to have a way to list all builtin module that require |
These were added intentionally in #56185. |
That can be easily done via: require('node:module').builtinModules.filter(m => m.startsWith('node:')) right? |
Version
23.6.0
Platform
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
every time
What is the expected behavior? Why is that the expected behavior?
0
What do you see instead?
4
Additional information
builtinModules docs say
Note: the list doesn't contain prefix-only modules like node:test.
The text was updated successfully, but these errors were encountered: