dependabot[bot] opened a new pull request, #846: URL: https://github.com/apache/kafka-site/pull/846
Bumps [npm-check-updates](https://github.com/raineorshine/npm-check-updates) from 19.6.6 to 21.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/raineorshine/npm-check-updates/releases">npm-check-updates's releases</a>.</em></p> <blockquote> <h2>v21.0.0</h2> <h3>⚠️ Breaking Changes</h3> <p>This is a <strong>major breaking change</strong> with significant architectural updates.</p> <h4>ESM Migration & Module System</h4> <ul> <li><strong>Pure ESM:</strong> Converted to pure ESM with dual-build support (ESM/CJS) via Vite 8.</li> <li><strong>Import Syntax:</strong> Programmatic usage now requires named imports or namespace imports. <ul> <li><strong>Old:</strong> <code>import ncu from 'npm-check-updates'</code></li> <li><strong>New:</strong> <code>import * as ncu from 'npm-check-updates'</code> or <code>import { run } from 'npm-check-updates'</code></li> </ul> </li> <li><strong>Node.js Requirements:</strong> Now requires <code>^20.19.0 || ^22.12.0 || >=24.0.0</code>. This is required for native <code>require(esm)</code> support and the Rolldown engine.</li> <li><strong>npm Requirements:</strong> Minimum version increased to <code>>=10.0.0</code>.</li> </ul> <h4>Configuration Files (<code>.ncurc.js</code>)</h4> <ul> <li>Files named <code>.ncurc.js</code> that use <code>module.exports</code> will now fail in projects that are not <code>"type": "module"</code>.</li> <li><strong>Fix:</strong> Rename these files to <code>.ncurc.cjs</code> or convert them to use <code>export default</code>.</li> </ul> <h4>Dependency Updates (Pure ESM versions)</h4> <table> <thead> <tr> <th align="left">Package</th> <th align="left">Old Version</th> <th align="left">New Version</th> </tr> </thead> <tbody> <tr> <td align="left"><code>camelcase</code></td> <td align="left"><code>^6.3.0</code></td> <td align="left"><code>^9.0.0</code></td> </tr> <tr> <td align="left"><code>chai</code></td> <td align="left"><code>^4.3.10</code></td> <td align="left"><code>^6.2.2</code></td> </tr> <tr> <td align="left"><code>chai-as-promised</code></td> <td align="left"><code>^7.1.2</code></td> <td align="left"><code>^8.0.2</code></td> </tr> <tr> <td align="left"><code>find-up</code></td> <td align="left"><code>5.0.0</code></td> <td align="left"><code>8.0.0</code></td> </tr> <tr> <td align="left"><code>p-map</code></td> <td align="left"><code>^4.0.0</code></td> <td align="left"><code>^7.0.4</code></td> </tr> <tr> <td align="left"><code>untildify</code></td> <td align="left"><code>^4.0.0</code></td> <td align="left"><code>^6.0.0</code></td> </tr> </tbody> </table> <h4>Tooling & Build Changes</h4> <ul> <li><strong>Vite 8 Upgrade:</strong> Migrated to Vite 8 with the new Rust-based <strong>Rolldown</strong> bundler (10-30x faster builds).</li> <li><strong>TypeScript 6.0:</strong> Adopted latest type-system features and performance improvements.</li> <li><strong>Strip ANSI:</strong> Replaced <code>strip-ansi</code> with Node.js built-in <code>util.stripVTControlCharacters</code>.</li> <li><strong>Test Runner:</strong> Replaced <code>vite-node</code> with <code>tsx</code> for TypeScript support in ESM context.</li> </ul> <hr /> <h3>Migration Guide</h3> <p>If you are upgrading to v21 from earlier versions:</p> <h4>1. Environment Check</h4> <ul> <li>Ensure you meet the new Node.js requirement: <code>^20.19.0 || ^22.12.0 || >=24.0.0</code>.</li> <li>Update npm to at least <code>10.0.0</code>.</li> </ul> <h4>2. Update Configuration Files</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/raineorshine/npm-check-updates/blob/main/CHANGELOG.md">npm-check-updates's changelog</a>.</em></p> <blockquote> <h2>[21.0.0] - 2026-04-14</h2> <h3>⚠️ Breaking Changes</h3> <p>This is a <strong>major breaking change</strong> with significant architectural updates.</p> <h4>ESM Migration & Module System</h4> <ul> <li><strong>Pure ESM:</strong> Converted to pure ESM with dual-build support (ESM/CJS) via Vite 8.</li> <li><strong>Import Syntax:</strong> Programmatic usage now requires named imports or namespace imports. <ul> <li><strong>Old:</strong> <code>import ncu from 'npm-check-updates'</code></li> <li><strong>New:</strong> <code>import * as ncu from 'npm-check-updates'</code> or <code>import { run } from 'npm-check-updates'</code></li> </ul> </li> <li><strong>Node.js Requirements:</strong> Now requires <code>^20.19.0 || ^22.12.0 || >=24.0.0</code>. This is required for native <code>require(esm)</code> support and the Rolldown engine.</li> <li><strong>npm Requirements:</strong> Minimum version increased to <code>>=10.0.0</code>.</li> </ul> <h4>Configuration Files (<code>.ncurc.js</code>)</h4> <ul> <li>Files named <code>.ncurc.js</code> that use <code>module.exports</code> will now fail in projects that are not <code>"type": "module"</code>.</li> <li><strong>Fix:</strong> Rename these files to <code>.ncurc.cjs</code> or convert them to use <code>export default</code>.</li> </ul> <h4>Dependency Updates (Pure ESM versions)</h4> <table> <thead> <tr> <th align="left">Package</th> <th align="left">Old Version</th> <th align="left">New Version</th> </tr> </thead> <tbody> <tr> <td align="left"><code>camelcase</code></td> <td align="left"><code>^6.3.0</code></td> <td align="left"><code>^9.0.0</code></td> </tr> <tr> <td align="left"><code>chai</code></td> <td align="left"><code>^4.3.10</code></td> <td align="left"><code>^6.2.2</code></td> </tr> <tr> <td align="left"><code>chai-as-promised</code></td> <td align="left"><code>^7.1.2</code></td> <td align="left"><code>^8.0.2</code></td> </tr> <tr> <td align="left"><code>find-up</code></td> <td align="left"><code>5.0.0</code></td> <td align="left"><code>8.0.0</code></td> </tr> <tr> <td align="left"><code>p-map</code></td> <td align="left"><code>^4.0.0</code></td> <td align="left"><code>^7.0.4</code></td> </tr> <tr> <td align="left"><code>untildify</code></td> <td align="left"><code>^4.0.0</code></td> <td align="left"><code>^6.0.0</code></td> </tr> </tbody> </table> <h4>Tooling & Build Changes</h4> <ul> <li><strong>Vite 8 Upgrade:</strong> Migrated to Vite 8 with the new Rust-based <strong>Rolldown</strong> bundler (10-30x faster builds).</li> <li><strong>TypeScript 6.0:</strong> Adopted latest type-system features and performance improvements.</li> <li><strong>Strip ANSI:</strong> Replaced <code>strip-ansi</code> with Node.js built-in <code>util.stripVTControlCharacters</code>.</li> <li><strong>Test Runner:</strong> Replaced <code>vite-node</code> with <code>tsx</code> for TypeScript support in ESM context.</li> </ul> <hr /> <h3>Migration Guide</h3> <p>If you are upgrading to v21 from earlier versions:</p> <h4>1. Environment Check</h4> <ul> <li>Ensure you meet the new Node.js requirement: <code>^20.19.0 || ^22.12.0 || >=24.0.0</code>.</li> <li>Update npm to at least <code>10.0.0</code>.</li> </ul> <h4>2. Update Configuration Files</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/0bf65370811ba7b5c3082ce3873325e6041291c1"><code>0bf6537</code></a> 21.0.0</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/457b3e1c59f60e8e1a1a91082bd794cf6cb379ad"><code>457b3e1</code></a> CHANGELOG</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/03a0a635e1034be67f7a47cb85acae997f6aa824"><code>03a0a63</code></a> build</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/742854ee70bb1b271ce57050da6cc279f4955d62"><code>742854e</code></a> PR: ESM Migration, Vite 8 Upgrade, and Dependency Overhaul (<a href="https://redirect.github.com/raineorshine/npm-check-updates/issues/1649">#1649</a>)</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/51b6724f10ea8241f12fc08b5ada0db185156328"><code>51b6724</code></a> 20.0.2</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/e8dbb38327a960a8d4b3f1066b2bab81f0d1d336"><code>e8dbb38</code></a> Show auto-detected cooldown source at normal log level; fix test isolation (#...</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/a123ad2b2fcfb034a38763bd1f12da8f7e8c3a63"><code>a123ad2</code></a> 20.0.1</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/9d0022aee4c0af7811669b9547cb47b77bd9a52e"><code>9d0022a</code></a> feat: add verbose output when packages are skipped due to cooldown (<a href="https://redirect.github.com/raineorshine/npm-check-updates/issues/1659">#1659</a>)</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/b7b4f702410bfaf3d54e69f3a379b6739a28ff92"><code>b7b4f70</code></a> feat: remove pre-push git hook (<a href="https://redirect.github.com/raineorshine/npm-check-updates/issues/1658">#1658</a>)</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/c3536c2ec1e84f514933215720eaf15d0fd98764"><code>c3536c2</code></a> Add Node v24 to test workflow (<a href="https://redirect.github.com/raineorshine/npm-check-updates/issues/1608">#1608</a>)</li> <li>Additional commits viewable in <a href="https://github.com/raineorshine/npm-check-updates/compare/v19.6.6...v21.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
