Skip to content

pnpm update foo updates packages not related to foo #5552

Description

@trusktr

pnpm version:

Code to reproduce the issue:

7.14.0

Expected behavior:

I expected pnpm update foo to only update foo and its dependencies, nothing more.

Actual behavior:

It updates other stuff unrelated to foo at all (not in its dependency tree), and the new versions of unrelated things can be seen in pnpm-lock.yml.

Additional information:

  • node -v prints: 17.9.1
  • Windows, macOS, or Linux?: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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