Skip to content

Doesn't suggest update to npm itself #1535

@thany

Description

@thany

Steps to Reproduce

Dependencies:

No dependencies, using it on global packages.

Steps:

Run ncu -g

Current Behavior

It says all packages are up to date.

Expected Behavior

I have (or had by now) npm 10.9.3 installed, as part of the official Node.js MSI installer.
I would expect it to suggest an update to the latest npm, which is 11.5.2.

I just updated it by doing npm up -g npm@latest and that worked perfectly. So the bug just appears to be in checking for an update to npm itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions