Skip to content

Version string breaks pnpm update --interactive table (@typescript/native-preview: 7.0.0-dev.20251214.1) #10316

@madebyjulz

Description

@madebyjulz

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)

CLI

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

No response

Reproduction steps

Using pnpm update --interactive and having a version string like "@typescript/native-preview": "7.0.0-dev.20251209.1" in the package.json or pnpm-workspace.yaml (both tested). The version string breaks the table of the cli command.

Describe the Bug

When having a version string like "7.0.0-dev.20251209.1" the table in pnpm update --interactive breaks:

pnpm-workspace.yaml

catalog:
  '@typescript/native-preview': 7.0.0-dev.20251209.1

pnpm update --interactive

○ devDependencies
   ○ Package                                                    Current   Target            Workspace           URL   
   ○ @typescript/native-preview                              7.0.0-dev. ❯ 7.0.0-dev.        turborepo       
 ❯ ●                                                         20251209.1   20251214.1                                
   ○ ultracite                                                    6.3.6 ❯ 6.4.0             turborepo 

Its not only a weird new line, the new line is selectable. If selected the package in the next row (ultracite in this case) is incorrectly updated.

Expected Behavior

Not breaking breaking the table ^^

Which Node.js version are you using?

22.21.1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions