Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 5, 2025

This PR contains the following updates:

Package Change Age Confidence
npm-check-updates ^17.1.18^19.0.0 age confidence

Release Notes

raineorshine/npm-check-updates (npm-check-updates)

v19.3.1

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v19.3.0...v19.3.1

v19.3.0

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v19.2.1...v19.3.0

v19.2.1

Compare Source

Full Changelog: raineorshine/npm-check-updates@v19.2.0...v19.2.1

v19.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: raineorshine/npm-check-updates@v19.1.2...v19.2.0

v19.1.2

Compare Source

What's Changed

New Contributors

Full Changelog: raineorshine/npm-check-updates@v19.1.1...v19.1.2

v19.1.1

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v19.1.0...v19.1.1

v19.1.0

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v19.0.0...v19.1.0

v19.0.0

Compare Source

Breaking
  • node >= 20 required
  • --workspaces (plural) short option -ws changed to -w
    • Better compatibility with commander v13
    • Short option should always be a single character for consistency
    • Replaces the short option for --workspace (singular)
    • --workspace (singular) no longer has a short option.

v18.3.1

Compare Source

v18.3.0

Compare Source

v18.2.1

Compare Source

v18.2.0

Compare Source

Thanks to community members for raising awareness and to @​SebastianSedzik for the implementation.

See: #​1547

Feature: --cooldown

Usage:

ncu --cooldown [n]
ncu -c [n]

The cooldown option helps protect against supply chain attacks by requiring package versions to be published at least the given number of days before considering them for upgrade.

Note that previous stable versions will not be suggested. The package will be completely ignored if its latest published version is within the cooldown period. This is due to a limitation of the npm registry, which does not provide a way to query previous stable versions.

Example:

Let's examine how cooldown works with a package that has these versions available:

1.0.0          Released 7 days ago    (initial version)
1.1.0          Released 6 days ago    (minor update)
1.1.1          Released 5 days ago    (patch update)
1.2.0          Released 5 days ago    (minor update)
2.0.0-beta.1   Released 5 days ago    (beta release)
1.2.1          Released 4 days ago    (patch update)
1.3.0          Released 4 days ago    (minor update) [latest]
2.0.0-beta.2   Released 3 days ago    (beta release)
2.0.0-beta.3   Released 2 days ago    (beta release) [beta]

With default target (latest):

$ ncu --cooldown 5

No update will be suggested because:

  • Latest version (1.3.0) is only 4 days old.
  • Cooldown requires versions to be at least 5 days old
  • Use --cooldown 4 or lower to allow this update

With @beta/@tag target:

$ ncu --cooldown 3 --target @​beta

No update will be suggested because:

  • Current beta (2.0.0-beta.3) is only 2 days old
  • Cooldown requires versions to be at least 3 days old
  • Use --cooldown 2 or lower to allow this update

With other targets:

$ ncu --cooldown 5 --target greatest|newest|minor|patch|semver

Each target will select the best version that is at least 5 days old:

greatest → 1.2.0        (highest version number outside cooldown)
newest   → 2.0.0-beta.1 (most recently published version outside cooldown)
minor    → 1.2.0        (highest minor version outside cooldown)
patch    → 1.1.1        (highest patch version outside cooldown)

Note for latest/tag targets:

⚠️ For packages that update frequently (e.g. daily releases), using a long cooldown period (7+ days) with the default --target latest or --target @​tag may prevent all updates since new versions will be published before older ones meet the cooldown requirement. Please consider this when setting your cooldown period.

v18.1.1

Compare Source

v18.1.0

Compare Source

v18.0.3

Compare Source

v18.0.2

Compare Source

v18.0.1

Compare Source

v18.0.0

Compare Source

Breaking

The only breaking change in v18 is with the -g/--global flag.

npm-check-updates -g will now auto-detect your package manager based on the execution path. Previously, it defaulted to npm.

  • yarn dlx ncu -g --packageManager yarnyarn dlx ncu -g
  • pnpm dlx ncu --global --packageManager pnpmpnpm dlx ncu -g
  • bunx ncu -g--packageManager pnpmbunx ncu -g

If for some reason you were running ncu -g with an alternative package manager and relying on it checking the global npm packages, you will need to now explicitly specify npm:

  • ncu -gncu -g--packageManager npm

Thanks to @​LuisFerLCC for the improvement (#​1514).

raineorshine/npm-check-updates@v17.1.18...v18.0.0


Configuration

📅 Schedule: Branch creation - "before 12pm on Sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Oct 5, 2025
@renovate renovate bot force-pushed the renovate/npm-check-updates-19.x branch 2 times, most recently from 6c0939a to 2db7d8b Compare October 15, 2025 17:59
@renovate renovate bot force-pushed the renovate/npm-check-updates-19.x branch from 2db7d8b to 587a6e8 Compare October 28, 2025 17:46
@renovate renovate bot force-pushed the renovate/npm-check-updates-19.x branch from 587a6e8 to 88e23f2 Compare November 10, 2025 13:48
@renovate renovate bot force-pushed the renovate/npm-check-updates-19.x branch from 88e23f2 to cdd4a6d Compare December 10, 2025 18:14
@renovate renovate bot force-pushed the renovate/npm-check-updates-19.x branch 2 times, most recently from b846016 to 20aaae7 Compare January 4, 2026 21:39
@renovate renovate bot force-pushed the renovate/npm-check-updates-19.x branch from 20aaae7 to ee5ca8f Compare January 5, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant