Skip to content

pnpm update does not skip deprecated versions #15128

Closed

Description

@lkwr

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

No response

Which area(s) of pnpm are affected? (leave empty if unsure)

Dependencies resolver

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

  1. Create this package.json in an empty folder:
{
  "dependencies": {
    "@orpc/client": "^2.0.0-beta.30"
  }
}
  1. Then run pnpm update.

Notice that @orpc/client has a deprecated 2.0.0 version (see https://npmx.dev/package/@orpc/client/v/2.0.0).

Describe the Bug

pnpm update updates to a deprecated version.

Expected Behavior

Ignores deprecated versions and updates to the latest semver-compatible version (e.g. ^2.0.0-beta.37), while respecting minimumReleaseAge.

Which Node.js version are you using?

26.9.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Activity

  1. added theissue type on Sep 19, 2026
  2. added 2 commits that reference this issue on Sep 22, 2026
    2d68683
    3645a8f
  3. added a commit that references this issue on Sep 22, 2026
    21bb8ae
  4. added a commit that references this issue on Sep 25, 2026
    ff21865
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions