Skip to content

[pnpm] dependabot updates transitive dependencies when unnecessary #11620

@jlowcs

Description

@jlowcs

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

pnpm

Package manager version

pnpm 9.15.4

Language version

No response

Manifest location and content before the Dependabot update

No response

dependabot.yml content

No response

Updated dependency

eslint from 9.20.0 to 9.20.1

What you expected to see, versus what you actually saw

Only eslint and what's necessary should be bumped

Native package manager behavior

Unnecessary bumps occur.

For instance:

Image

ts-node has a "@types/node": "*", dependency, so it should not require a bump of @types/node.

This is a problem, because this results in:

  • unexpected patches being applied within the repository, which are not being reviewed and could break production
  • in the case of @types/node, conflicts with other @types/node versions in the repository, resulting in type checking issues

I'm not 100% sure, but it looks like it might only be happening with * transitive dependencies.

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions