bulk-decaffeinate
bulk-decaffeinate copied to clipboard
chore(deps): bump commander from 2.20.3 to 7.2.0
Bumps commander from 2.20.3 to 7.2.0.
Release notes
Sourced from commander's releases.
v7.2.0
Added
- TypeScript typing for
parentproperty onCommand(#1475)- TypeScript typing for
.attributeName()onOption(#1483)- support information in package (#1477)
Changed
- improvements to error messages, README, and tests
- update dependencies
v7.1.0
Added
- support for named imports from ECMAScript modules (#1440)
- add
.cjsto list of expected script file extensions (#1449)- allow using option choices and variadic together (#1454)
Fixed
- replace use of deprecated
process.mainModule(#1448)- regression for legacy
command('*')and call when command line includes options (#1464)- regression for
on('command:*', ...)and call when command line includes unknown options (#1464)- display best error for combination of unknown command and unknown option (i.e. unknown command) (#1464)
Changed
- make TypeScript typings tests stricter (#1453)
- improvements to README and tests
v7.0.0
Added
.enablePositionalOptions()to let program and subcommand reuse same option (#1427).passThroughOptions()to pass options through to other programs without needing--(#1427).allowExcessArguments(false)to show an error message if there are too many command-arguments on command line for the action handler (#1409).configureOutput()to modify use of stdout and stderr or customise display of errors (#1387)- use
.addHelpText()to add text before or after the built-in help, for just current command or also for all subcommands (#1296)- enhance Option class (#1331)
- allow hiding options from help
- allow restricting option arguments to a list of choices
- allow setting how default value is shown in help
.createOption()to support subclassing of automatically created options (like.createCommand()) (#1380)- refactor the code generating the help into a separate public Help class (#1365)
- support sorting subcommands and options in help
- support specifying wrap width (columns)
- allow subclassing Help class
- allow configuring Help class without subclassing
... (truncated)
Changelog
Sourced from commander's changelog.
[7.2.0] (2021-03-26)
Added
- TypeScript typing for
parentproperty onCommand(#1475)- TypeScript typing for
.attributeName()onOption(#1483)- support information in package (#1477)
Changed
- improvements to error messages, README, and tests
- update dependencies
[7.1.0] (2021-02-15)
Added
- support for named imports from ECMAScript modules (#1440)
- add
.cjsto list of expected script file extensions (#1449)- allow using option choices and variadic together (#1454)
Fixed
- replace use of deprecated
process.mainModule(#1448)- regression for legacy
command('*')and call when command line includes options (#1464)- regression for
on('command:*', ...)and call when command line includes unknown options (#1464)- display best error for combination of unknown command and unknown option (i.e. unknown command) (#1464)
Changed
- make TypeScript typings tests stricter (#1453)
- improvements to README and tests
[7.0.0] (2021-01-15)
Added
.enablePositionalOptions()to let program and subcommand reuse same option (#1427).passThroughOptions()to pass options through to other programs without needing--(#1427).allowExcessArguments(false)to show an error message if there are too many command-arguments on command line for the action handler (#1409).configureOutput()to modify use of stdout and stderr or customise display of errors (#1387)- use
.addHelpText()to add text before or after the built-in help, for just current command or also for all subcommands (#1296)- enhance Option class (#1331)
- allow hiding options from help
- allow restricting option arguments to a list of choices
- allow setting how default value is shown in help
.createOption()to support subclassing of automatically created options (like.createCommand()) (#1380)- refactor the code generating the help into a separate public Help class (#1365)
- support sorting subcommands and options in help
- support specifying wrap width (columns)
... (truncated)
Commits
327a3ddUpdate CHANGELOG and dependences for 7.2.07b6567eFix syntactically incorrect command name (#1488)0fa4b8dAdd test for process.exit finishing bunch of if-then-else cases (#1487)82bf30bpassThroughOptions: correct error messaged3a9e7aAdd attributeName to Option typings (#1483)26223d0Add missing word and expand wording for clarity (#1482)b9ffe09Add package support info (#1477)e12ea2eAdd Command parent property to TypeScript (#1475)948796dAdd mock tests to cover subcommand error handling (#1474)c119028Add runtime test that TypeScript imports are working (#1473)- 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 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) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)