Skip to content

fix(deps): bump commander from 12.1.0 to 14.0.0 #2482

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 19, 2025

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() on Option and Command, 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 parseArg property to Argument class (#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 Help class 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() for getOutHasColors(), getErrHasColors(), and stripColor() (#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() if storeOptionsAsProperties: true (#2299)
  • TypeScript: include implicit this in parameters for action handler callback (#2197)

Deleted

  • Breaking: Help.wrap() refactored into formatItem() and boxWrap() (#2251)

Migration Tips

Excess command-arguments

It is now an error for the user to specify more command-arguments than are expected. (allowExcessArguments is 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() on Option and Command, 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 parseArg property to Argument class (#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 Help class 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() for getOutHasColors(), getErrHasColors(), and stripColor() (#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() if storeOptionsAsProperties: true (#2299)
  • TypeScript: include implicit this in parameters for action handler callback (#2197)

Deleted

  • Breaking: Help.wrap() refactored into formatItem() and boxWrap() (#2251)

Migration Tips

Excess command-arguments

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 19, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot bot requested a review from a team May 19, 2025 10:31
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 19, 2025
@github-actions github-actions bot enabled auto-merge (squash) May 19, 2025 10:31
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/commander-14.0.0 branch 8 times, most recently from 47a0383 to 3012698 Compare May 23, 2025 10:58
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/commander-14.0.0 branch 12 times, most recently from 1e75ca7 to 85fefba Compare June 2, 2025 10:54
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/commander-14.0.0 branch from 85fefba to c3cf3da Compare June 2, 2025 11:07
contentful-automation[bot]
contentful-automation bot previously approved these changes Jun 6, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/commander-14.0.0 branch from 82c162e to 4d1df91 Compare June 6, 2025 15:22
contentful-automation[bot]
contentful-automation bot previously approved these changes Jun 6, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/commander-14.0.0 branch 8 times, most recently from db26dd5 to c214b88 Compare June 12, 2025 21:04
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 12, 2025

Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.

7 similar comments
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 12, 2025

Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 12, 2025

Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 13, 2025

Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 13, 2025

Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 13, 2025

Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 13, 2025

Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 13, 2025

Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/commander-14.0.0 branch from c214b88 to 281bf5b Compare June 16, 2025 11:05
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/commander-14.0.0 branch 5 times, most recently from 7411767 to fe912e8 Compare June 17, 2025 10:45
Bumps [commander](https://github.com/tj/commander.js) from 12.1.0 to 14.0.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](tj/commander.js@v12.1.0...v14.0.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-version: 14.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/commander-14.0.0 branch from fe912e8 to f93392d Compare June 18, 2025 10:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants