Bumps commander from 14.0.3 to 15.0.0.
Release notesSourced from commander's releases.
v15.0.0
Commander 15 is ESM only. This is expected to be seamless for ESM consumers, but some CommonJS consumers may hit issues with tooling requiring configuration for ESM-only dependencies. See Migration Tips below.
The release of Commander 15 moves Commander 14 into maintenance. Commander 14 will get security updates for 12 months (to May 2027). For more info see Release Policy.
Added
- show excess command-arguments in error message (#2384)
Fixed
- Breaking: only lone
--no-*option sets default option value totrue, default not implicitly set when define both positive and negative option in either order (#2405)- update example to use compatible character for MINGW64 (#2475)
Changed
- Breaking: migrated Commander implementation from CommonJS to ESM (#2464)
- Breaking: Commander 15 requires Node.js v22.12.0 or higher (for
require(esm)).- dev: switch tests from Jest to
node:testtest runner (#2463)Deleted
- Breaking: removed deprecated export of
commander/esm.mjs(#2464)Migration Tips
Commander 15 is ESM only, but this does not mean you need to migrate to ESM to use it. Importing ESM from CommonJS is supported by Node.js, and Bun, and Deno. Hopefully it Just Works for you! However, you may be using a different runtime or some other part of your setup that may not yet natively support importing ESM from CommonJS, such as your testing framework or bundler.
If you have problems using Commander 15 in your environment, one option is stay on Commander 14 for now. Commander 14 will get security updates until May 2027 and things will hopefully improve for your setup in the meantime.
v15.0.0-0
Commander 15 is ESM only. This is expected to be seamless for ESM consumers, but some CommonJS consumers may hit issues with tooling requiring configuration for ESM-only dependencies. See Migration Tips below.
The release of Commander 15 in May 2026 will move Commander 14 into maintenance. Commander 14 will get security updates for 12 months (to May 2027). For more info see Release Policy.
Added
- show excess command-arguments in error message (#2384)
Fixed
... (truncated)
ChangelogSourced from commander's changelog.
Commits[15.0.0] (2026-05-29)
Commander 15 is ESM only. This is expected to be seamless for ESM consumers, but some CommonJS consumers may hit issues with tooling requiring configuration for ESM-only dependencies. See Migration Tips below.
The release of Commander 15 moves Commander 14 into maintenance. Commander 14 will get security updates for 12 months (to May 2027). For more info see Release Policy.
Added
- show excess command-arguments in error message (#2384)
Fixed
- Breaking: only lone
--no-*option sets default option value totrue, default not implicitly set when define both positive and negative option in either order (#2405)- update example to use compatible character for MINGW64 (#2475)
Changed
- Breaking: migrated Commander implementation from CommonJS to ESM (#2464)
- Breaking: Commander 15 requires Node.js v22.12.0 or higher (for
require(esm)).- dev: switch tests from Jest to
node:testtest runner (#2463)Deleted
- Breaking: removed deprecated export of
commander/esm.mjs(#2464)Migration Tips
Commander 15 is ESM only, but this does not mean you need to migrate to ESM to use it. Importing ESM from CommonJS is supported by Node.js, and Bun, and Deno. Hopefully it Just Works for you! However, you may be using a different runtime or some other part of your setup that may not yet natively support importing ESM from CommonJS, such as your testing framework or bundler.
If you have problems using Commander 15 in your environment, one option is stay on Commander 14 for now. Commander 14 will get security updates until May 2027 and things will hopefully improve for your setup in the meantime.
[15.0.0-0] (2026-02-22)
(Released as 15.0.0)
ba6d13dFix release dates in changelog (#2523)a752ed9Pin GitHub actions with hash (#2521)74d5dfeDrop EOL node 20 from test matrix, and add node 26 (#2520)6df9b68Update details for 15.0.0 release (#2519)01ce5d0Remove jest esm examples (#2517)d785d8bUpdate dependencies (#2518)9098b48Update dependencies (#2506)373f660Use node:util stripVTControlCharacters instead of own code (#2486)987f289Use simple match in test (to avoid warning about expensive regex) (#2485)0ea3bb3Update dependecies and lint (#2489)- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)