Skip to content

Disable node_modules lookup for all subpaths of builtin modules #44651

@targos

Description

@targos

Something else discussed in #44250 that we should consider is making new subpath additions (like any other core module getting /promises) allowable as semver-minor. This might be a code change, to ensure that nonexistent subpaths (like process/promises) throw rather than try to resolve to something like node_modules/process/promises; but once that’s done we should update the docs accordingly.

Originally posted by @GeoffreyBooth in #44576 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    moduleIssues and PRs related to the module subsystem.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions