Skip to content

Predicted node_modules/**/package.json is credited against the root package.json #6

Description

@jbendercb

_resolve_repo_relpath resolves a predicted path in a way that aliases node_modules/<pkg>/package.json onto the repository's root package.json. A prediction naming a vendored dependency file is therefore credited for a different, real file it did not name.

That inflates File precision for any system that returns vendored paths, and it does so silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions