Skip to content

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

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-commander
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-commander

Conversation

@renovate

@renovate renovate Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@commander-js/extra-typings 14.0.0 → 15.1.0 age confidence
commander 14.0.3 → 15.1.0 age confidence

Release Notes

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

v15.1.0

Compare Source

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.1.0

Compare Source

Fixed
  • accept uppercase E exponent in negative number arguments ([#​2544])
  • support Unicode variadic option placeholders ([#​2615])
  • increment node inspector port for --inspect-wait when spawn an executable subcommand ([#​2630])
  • increment node inspector port for IPv6 hosts when spawn an executable subcommand ([#​2636])
  • preserve the help option's group when a conflicting flag is hidden ([#​2637])
  • global option values with unknown source should mask local option value source in cmd.getOptionValueSourceWithGlobals() ([#​2653])
Changed
  • limit Pull Requests to reduce volume and improve quality ([#​2646])
  • undeprecate InvalidOptionArgumentError ([#​2661])
Deprecated
  • cmd.storeOptionsAsProperties() ([#​2561])
  • cmd.combineFlagAndOptionalValue() ([#​2660])

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: Disabled by config. Please merge this manually once you are satisfied.

♻ 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 force-pushed the renovate/major-commander branch 4 times, most recently from 63b7b08 to a420e26 Compare November 9, 2026 22:26
@renovate
renovate Bot force-pushed the renovate/major-commander branch from a420e26 to d246060 Compare November 10, 2026 15:27

This branch has not been deployed

No deployments
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