Skip to content

module: remove underscore modules from builtinModules and isBuiltin - #57540

Closed
dario-piotrowicz wants to merge 6 commits into
nodejs:mainfrom
dario-piotrowicz:dario/module-hide-underscore-modules
Closed

module: remove underscore modules from builtinModules and isBuiltin#57540
dario-piotrowicz wants to merge 6 commits into
nodejs:mainfrom
dario-piotrowicz:dario/module-hide-underscore-modules

Conversation

@dario-piotrowicz

Copy link
Copy Markdown
Member

these changes remove modules starting with underscore (e.g. __http_agent) from Module#builtinModules and Module#isBuiltin since they are not properly documented as public. They can't easily be removed since many libraries use them, but their usage should be discouraged and they should not be exposed by such utilities

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / src Issues and PRs involving general changes in the lib/ or src/ directories. module Issues and PRs related to the module subsystem. needs-ci PRs that need a full CI run. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants