Bump commander from 12.1.0 to 14.0.0
Bumps commander from 12.1.0 to 14.0.0.
Release notes
Sourced from commander's releases.
v14.0.0
Added
- support for groups of options and commands in the help using low-level
.helpGroup()onOptionandCommand, and higher -level.optionsGroup()and.commandsGroup()which can be used in chaining way to specify group title for following option s/commands (#2328)- support for unescaped negative numbers as option-arguments and command-arguments (#2339)
- TypeScript: add
parseArgproperty toArgumentclass (#2359)Fixed
- remove bogus leading space in help when option has default value but not a description (#2348)
.configureOutput()now makes copy of settings instead of modifying in-place, fixing side-effects (#2350)Changed
- Breaking: Commander 14 requires Node.js v20 or higher
- internal refactor of
Helpclass adding.formatItemList()and.groupItems()methods (#2328)v13.1.0
Added
- support a pair of long option flags to allow a memorable shortened flag, like
.option('--ws, --workspace')(#2312)v13.0.0
Added
- support multiple calls to
.parse()with default settings (#2299)- add
.saveStateBeforeParse()and.restoreStateBeforeParse()for use by subclasses (#2299)- style routines like
styleTitle()to add color to help using.configureHelp()or Help subclass (#2251)- color related support in
.configureOutput()forgetOutHasColors(),getErrHasColors(), andstripColor()(#2251)- Help property for
minWidthToWrap(#2251)- Help methods for
displayWidth(),boxWrap(),preformatted()et al (#2251)Changed
- Breaking: excess command-arguments cause an error by default, see migration tips (#2223)
- Breaking: throw during Option construction for unsupported option flags, like multiple characters after single
-(#2270)- Breaking: throw on multiple calls to
.parse()ifstoreOptionsAsProperties: true(#2299)- TypeScript: include implicit
thisin parameters for action handler callback (#2197)Deleted
- Breaking:
Help.wrap()refactored intoformatItem()andboxWrap()(#2251)Migration Tips
Excess command-arguments
It is now an error for the user to specify more command-arguments than are expected. (
allowExcessArgumentsis now false by default.)
... (truncated)
Changelog
Sourced from commander's changelog.
[14.0.0] (2025-05-18)
Added
- support for groups of options and commands in the help using low-level
.helpGroup()onOptionandCommand, and higher-level.optionsGroup()and.commandsGroup()which can be used in chaining way to specify group title for following options/commands (#2328)- support for unescaped negative numbers as option-arguments and command-arguments (#2339)
- TypeScript: add
parseArgproperty toArgumentclass (#2359)Fixed
- remove bogus leading space in help when option has default value but not a description (#2348)
.configureOutput()now makes copy of settings instead of modifying in-place, fixing side-effects (#2350)Changed
- Breaking: Commander 14 requires Node.js v20 or higher
- internal refactor of
Helpclass adding.formatItemList()and.groupItems()methods (#2328)[13.1.0] (2025-01-21)
Added
- support a pair of long option flags to allow a memorable shortened flag, like
.option('--ws, --workspace')(#2312)[13.0.0] (2024-12-30)
Added
- support multiple calls to
.parse()with default settings (#2299)- add
.saveStateBeforeParse()and.restoreStateBeforeParse()for use by subclasses (#2299)- style routines like
styleTitle()to add color to help using.configureHelp()or Help subclass (#2251)- color related support in
.configureOutput()forgetOutHasColors(),getErrHasColors(), andstripColor()(#2251)- Help property for
minWidthToWrap(#2251)- Help methods for
displayWidth(),boxWrap(),preformatted()et al (#2251)Changed
- Breaking: excess command-arguments cause an error by default, see migration tips (#2223)
- Breaking: throw during Option construction for unsupported option flags, like multiple characters after single
-(#2270)
- note: support for dual long option flags added in Commander 13.1
- Breaking: throw on multiple calls to
.parse()ifstoreOptionsAsProperties: true(#2299)- TypeScript: include implicit
thisin parameters for action handler callback (#2197)Deleted
- Breaking:
Help.wrap()refactored intoformatItem()andboxWrap()(#2251)Migration Tips
Excess command-arguments
... (truncated)
Commits
395cf71Preparing for Commander v14.0.0 (#2366)dd7edf4Add typings for helpGroup support (#2367)c324ea3Add support for groups of options and commands in the help (#2328)00af603Merge branch 'develop' into release/14.xfe4bedbci: Update node-version (#2365)ed70e5bBump eslint from 9.23.0 to 9.25.1 (#2362)5bb7b6eBump@eslint/jsfrom 9.23.0 to 9.25.1 (#2363)d0380cfBump typescript from 5.8.2 to 5.8.3 (#2364)a2eebf3Bump@types/nodefrom 22.13.14 to 22.15.3 (#2361)1276c4cBump eslint-config-prettier from 10.1.1 to 10.1.2 (#2360)- 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 mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@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)
Hello dependabot[bot],
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Available options
| name | description | privileged | authored |
|---|---|---|---|
/after_pull_request |
Wait for the given pull request id to be merged before continuing with the current one. | ||
/bypass_author_approval |
Bypass the pull request author's approval | :star: | |
/bypass_build_status |
Bypass the build and test status | :star: | |
/bypass_commit_size |
Bypass the check on the size of the changeset TBA |
:star: | |
/bypass_incompatible_branch |
Bypass the check on the source branch prefix | :star: | |
/bypass_jira_check |
Bypass the Jira issue check | :star: | |
/bypass_peer_approval |
Bypass the pull request peers' approval | :star: | |
/bypass_leader_approval |
Bypass the pull request leaders' approval | :star: | |
/approve |
Instruct Bert-E that the author has approved the pull request. | :writing_hand: | |
/create_pull_requests |
Allow the creation of integration pull requests. | ||
/create_integration_branches |
Allow the creation of integration branches. | ||
/no_octopus |
Prevent Wall-E from doing any octopus merge and use multiple consecutive merge instead | ||
/unanimity |
Change review acceptance criteria from one reviewer at least to all reviewers |
||
/wait |
Instruct Bert-E not to run until further notice. |
Available commands
| name | description | privileged |
|---|---|---|
/help |
Print Bert-E's manual in the pull request. | |
/status |
Print Bert-E's current status in the pull request TBA |
|
/clear |
Remove all comments from Bert-E from the history TBA |
|
/retry |
Re-start a fresh build TBA |
|
/build |
Re-start a fresh build TBA |
|
/force_reset |
Delete integration branches & pull requests, and restart merge process from the beginning. | |
/reset |
Try to remove integration branches unless there are commits on them which do not appear on the source branch. |
Status report is not available.
The following options are set: bypass_author_approval, bypass_jira_check
Request integration branches
Waiting for integration branch creation to be requested by the user.
To request integration branches, please comment on this pull request with the following command:
/create_integration_branches
Alternatively, the /approve and /create_pull_requests commands will automatically
create the integration branches.
The following options are set: bypass_author_approval, bypass_jira_check
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.