Bump commander from 2.20.3 to 11.1.0
Bumps commander from 2.20.3 to 11.1.0.
Release notes
Sourced from commander's releases.
v11.1.0
Fixed
- TypeScript: update
OptionValueSourceto allow any string, to match supported use of custom sources (#1983)- TypeScript: add that
Command.version()can also be used as getter (#1982)- TypeScript: add null return type to
Commands.executableDir(), for when not configured (#1965)- subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command (#1930)
Added
registeredArgumentsproperty onCommandwith the array of definedArgument(likeCommand.optionsforOption) (#2010)- TypeScript declarations for Option properties:
envVar,presetArg(#2019)- TypeScript declarations for Argument properties:
argChoices,defaultValue,defaultValueDescription(#2019)- example file which shows how to configure help to display any custom usage in the list of subcommands (#1896)
Changed
- (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors (#1969)
Deprecated
Command._argswas private anyway, but now available asregisteredArguments(#2010)v11.0.0
Fixed
- help command works when help option is disabled (#1864)
Changed
- leading and trailing spaces are now ignored by the .arguments() method (#1874)
- refine "types" exports for ESM to follow TypeScript guidelines (#1886)
- Breaking: Commander 11 requires Node.js v16 or higher
v10.0.1
Added
Fixed
- remove unused
Option.optionFlagsproperty from TypeScript definition (#1844)Changed
- assume boolean option intended if caller passes string instead of hash to
.implies()(#1854)v10.0.0
Added
... (truncated)
Changelog
Sourced from commander's changelog.
[11.1.0] (2023-10-13)
Fixed
- TypeScript: update
OptionValueSourceto allow any string, to match supported use of custom sources (#1983)- TypeScript: add that
Command.version()can also be used as getter (#1982)- TypeScript: add null return type to
Commands.executableDir(), for when not configured (#1965)- subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command (#1930)
Added
registeredArgumentsproperty onCommandwith the array of definedArgument(likeCommand.optionsforOption) (#2010)- TypeScript declarations for Option properties:
envVar,presetArg(#2019)- TypeScript declarations for Argument properties:
argChoices,defaultValue,defaultValueDescription(#2019)- example file which shows how to configure help to display any custom usage in the list of subcommands (#1896)
Changed
- (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors (#1969)
Deprecated
Command._argswas private anyway, but now available asregisteredArguments(#2010)[11.0.0] (2023-06-16)
Fixed
- help command works when help option is disabled (#1864)
Changed
- leading and trailing spaces are now ignored by the .arguments() method (#1874)
- refine "types" exports for ESM to follow TypeScript guidelines (#1886)
- Breaking: Commander 11 requires Node.js v16 or higher
[10.0.1] (2023-04-15)
Added
Fixed
- remove unused
Option.optionFlagsproperty from TypeScript definition (#1844)Changed
- assume boolean option intended if caller passes string instead of hash to
.implies()(#1854)
... (truncated)
Commits
f1ae2dbUpdate CHANGELOG for 11.1.0 (#2025)591fc4bMerge branch 'fix/grammar' of github.com:aweebit/commander.js into aweebit-fi...03dea00Refactor headings (#2028)67c9180Comment out new misuse check until a major version (#2026)96c6c25Refactor type-checking setup (#1969)744ee3fAdd more Option and Argument properties to typings (#2019)26a34e6Replace {any} with {*} as native JSDoc (#2015)14edbcaRevert factory function reexport (#2014)384f17bExplicitly export factory functions (#2013)58820a4Bump actions/checkout from 3 to 4 (#2012)- 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.
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
Superseded by #5583.