Skip to content

Update dependency npm-check-updates to v22#191

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-check-updates-22.x
Open

Update dependency npm-check-updates to v22#191
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-check-updates-22.x

Conversation

@renovate

@renovate renovate Bot commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

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

Release Notes

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

v22.2.9

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v22.2.8...v22.2.9

v22.2.8

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v22.2.7...v22.2.8

v22.2.7

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v22.2.6...v22.2.7

v22.2.6

Compare Source

What's Changed

New Contributors

Full Changelog: raineorshine/npm-check-updates@v22.2.5...v22.2.6

v22.2.5

Compare Source

e951cf4 Bump minor and patch.
0f9f53d prettier
edf4212 Make deep tests path-agnostic with regex patterns
b820131 Only show missing time when time or cooldown format is requested

Full Changelog: raineorshine/npm-check-updates@v22.2.3...v22.2.5

v22.2.3

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v22.2.2...v22.2.3

v22.2.2

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v22.2.1...v22.2.2

v22.2.1

Compare Source

What's Changed

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

v22.2.0

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v22.1.1...v22.2.0

v22.1.1

Compare Source

What's Changed

New Contributors

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

v22.1.0

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v22.0.1...v22.1.0

v22.0.1

Compare Source

What's Changed

  • fix: suppress cooldown config log messages when JSON output is active by @​Copilot in #​1692

Full Changelog: raineorshine/npm-check-updates@v22.0.0...v22.0.1

v22.0.0

Compare Source

v21.0.3

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v21.0.2...v21.0.3

v21.0.2

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v21.0.1...v21.0.2

v21.0.1

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v21.0.0...v21.0.1

v21.0.0

Compare Source

⚠️ Breaking Changes

This is a major breaking change with significant architectural updates.

ESM Migration & Module System
  • Pure ESM: Converted to pure ESM with dual-build support (ESM/CJS) via Vite 8.
  • Import Syntax: Programmatic usage now requires named imports or namespace imports.
    • Old: import ncu from 'npm-check-updates'
    • New: import * as ncu from 'npm-check-updates' or import { run } from 'npm-check-updates'
  • Node.js Requirements: Now requires ^20.19.0 || ^22.12.0 || >=24.0.0. This is required for native require(esm) support and the Rolldown engine.
  • npm Requirements: Minimum version increased to >=10.0.0.
Configuration Files (.ncurc.js)
  • Files named .ncurc.js that use module.exports will now fail in projects that are "type": "module".
  • Fix: Rename these files to .ncurc.cjs or convert them to use export default.
Dependency Updates (Pure ESM versions)
Package Old Version New Version
camelcase ^6.3.0 ^9.0.0
chai ^4.3.10 ^6.2.2
chai-as-promised ^7.1.2 ^8.0.2
find-up 5.0.0 8.0.0
p-map ^4.0.0 ^7.0.4
untildify ^4.0.0 ^6.0.0
Tooling & Build Changes
  • Vite 8 Upgrade: Migrated to Vite 8 with the new Rust-based Rolldown bundler (10-30x faster builds).
  • TypeScript 6.0: Adopted latest type-system features and performance improvements.
  • Strip ANSI: Replaced strip-ansi with Node.js built-in util.stripVTControlCharacters.
  • Test Runner: Replaced vite-node with tsx for TypeScript support in ESM context.

Migration Guide

If you are upgrading to v21 from earlier versions:

1. Environment Check
  • Ensure you meet the new Node.js requirement: ^20.19.0 || ^22.12.0 || >=24.0.0.
  • Update npm to at least 10.0.0.
2. Update Configuration Files

If you have a .ncurc.js file:

  • Option A: Rename it to .ncurc.cjs.

  • Option B: Convert it to ESM:

    import { defineConfig } from 'npm-check-updates'
    
    export default defineConfig({
      upgrade: true,
      filter: name => name.startsWith('@​myorg/'),
    })
3. Update Programmatic Usage

If you import npm-check-updates in your scripts:

  • ESM: Change import ncu from ... to import * as ncu from 'npm-check-updates'.
  • CommonJS: Ensure you are destructuring the named exports or using the full object:
const ncu = require('npm-check-updates')
// Use ncu.run(...)

Testing

Tests now use tsx for module loading. When running tests manually:

mocha --node-option import=tsx 'test/**/*.test.ts'

Or use the npm script:

npm test
Related Issues & PRs

PR 1649


v20.0.2

Compare Source

What's Changed

  • Show auto-detected cooldown source at normal log level; fix test isolation by @​bayraak in #​1662

New Contributors

Full Changelog: raineorshine/npm-check-updates@v20.0.1...v20.0.2

v20.0.1

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v20.0.0...v20.0.1

v20.0.0

Compare Source

Auto Cooldown

The cooldown option is now automatically applied from the respective package manager's config:

  • npm - min-release-age (#​1632)
  • yarn - npmMinimalAgeGate (excluding npmPreapprovedPackages) (#​1643)
  • pnpm - minimumReleaseAge (excluding minimumReleaseAgeExclude) (#​1639)

Why is this a breaking change?

Other changes

v19.6.6

Compare Source

Full Changelog: raineorshine/npm-check-updates@v19.6.5...v19.6.6

v19.6.5

Compare Source

What's Changed

New Contributors

Full Changelog: raineorshine/npm-check-updates@v19.6.3...v19.6.5

v19.6.3

Compare Source

Full Changelog: raineorshine/npm-check-updates@v19.6.2...v19.6.3

v19.6.2

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v19.6.1...v19.6.2

v19.6.1

Compare Source

What's Changed

Full Changelog: raineorshine/npm-check-updates@v19.6.0...v19.6.1

v19.6.0

Compare Source

What's Changed

  • Display link to compare the changes between package versions (--format diff) by @​diegocr in #​1602

New Contributors

Full Changelog: raineorshine/npm-check-updates@v19.5.0...v19.6.0

v19.5.0

Compare Source

What's Changed

  • feat(homepage): Add --format homepage option to print homepage.

e.g.

$ ncu --format homepage
...
 mocha                      ^11.7.2  →   ^11.7.5    https://mochajs.org/
 npm-registry-fetch         ^19.0.0  →   ^19.1.1
 prettier                   ^3.6.2  →    ^3.8.1     https://prettier.io
...

Full Changelog: raineorshine/npm-check-updates@v19.4.1...v19.5.0

v19.4.1

Compare Source

What's Changed

  • Fixed a small cooldown regression with number types in the ncurc

Full Changelog: raineorshine/npm-check-updates@v19.4.0...v19.4.1

v19.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: raineorshine/npm-check-updates@v19.3.2...v19.4.0

v19.3.2

Compare Source

What's Changed

  • docs: close code tag instead of reopening another one by @​sod in #​1588
  • fix(tests): resolve EBUSY errors on Windows by retrying directory removal by @​Zamiell in #​1590

New Contributors

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

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](https://redirect.github

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 12pm on Sunday"
  • 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 force-pushed the renovate/npm-check-updates-22.x branch 2 times, most recently from 5f13811 to e6b270b Compare May 7, 2026 04:37
@renovate renovate Bot force-pushed the renovate/npm-check-updates-22.x branch from e6b270b to d99bef8 Compare May 12, 2026 05:15
@renovate renovate Bot force-pushed the renovate/npm-check-updates-22.x branch from d99bef8 to 0bda53b Compare May 24, 2026 17:31
@renovate renovate Bot force-pushed the renovate/npm-check-updates-22.x branch 2 times, most recently from ed461e5 to 69f563c Compare June 6, 2026 02:51
@renovate renovate Bot force-pushed the renovate/npm-check-updates-22.x branch 3 times, most recently from 28563cb to 4ad9230 Compare June 21, 2026 01:37
@renovate renovate Bot force-pushed the renovate/npm-check-updates-22.x branch from 4ad9230 to 9c5d143 Compare June 27, 2026 21:51
@renovate renovate Bot force-pushed the renovate/npm-check-updates-22.x branch from 9c5d143 to a3c8789 Compare June 29, 2026 00:13
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.

0 participants