Skip to content

fix(deps): update commander to v15 - #592

Open
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/major-commander
Open

fix(deps): update commander to v15#592
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/major-commander

Conversation

@renovate

@renovate renovate Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@commander-js/extra-typings ^14.0.0^15.0.0 age confidence
commander ^14.0.3^15.0.0 age confidence

Release Notes

commander-js/extra-typings (@​commander-js/extra-typings)

v15.0.0

Compare Source

@commander-js/extra-typings 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-js/extra-typings 15 moves version 14 into maintenance. @commander-js/extra-typings 14 will get security updates for
12 months (to May 2027). For more info see Release Policy.

Added
Changed
  • Breaking: migrated implementation from CommonJS to ESM ([#​178])
  • Breaking: peer dependency on Commander 15.0.x which requires Node.js 22.12 or higher
  • update dependencies
  • old major versions now supported for 12 months instead of just previous major version, to give predictable end-of-life date
  • only lone negated option defaults option value to true (matching Commander 15) ([#​179])
  • now reexporting the global program singleton from Commander rather than creating a separate one
Migration Tips

@commander-js/extra-typings 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, Deno, and TypeScript. 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-js/extra-typings 15 in your environment, one option is stay on version 14 for now. @commander-js/extra-typings 14 will
get security updates until May 2027 and things will hopefully improve for your setup in the meantime.

tj/commander.js (commander)

v15.0.0

Compare Source

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 to true, 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:test test 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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 requested a review from rozsival-apitree as a code owner September 9, 2026 19:29
@renovate
renovate Bot enabled auto-merge (rebase) September 9, 2026 19:29
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

⚠️ No Changesets found

Run pnpx @changesets/cli@2.31.1 add to create a Changeset for this PR if changes in it should result in a
version bump for any package.

If this PR should not result in any version bumps, then we are good to go 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants