Release notes
*Sourced from [commander's releases](https://github.com/tj/commander.js/releases).*
> ## 4.0.1
> ### Fixed
>
> * display help when requested, even if there are missing required options ([#1091](https://github-redirect.dependabot.com/tj/commander.js/issues/1091))
>
> ## 4.0.0
> ### Added
>
> * automatically wrap and indent help descriptions for options and commands ([#1051](https://github-redirect.dependabot.com/tj/commander.js/issues/1051))
> * `.exitOverride()` allows override of calls to `process.exit` for additional error handling and to keep program running ([#1040](https://github-redirect.dependabot.com/tj/commander.js/issues/1040))
> * support for declaring required options with `.requiredOptions()` ([#1071](https://github-redirect.dependabot.com/tj/commander.js/issues/1071))
> * GitHub Actions support ([#1027](https://github-redirect.dependabot.com/tj/commander.js/issues/1027))
> * translation links in README
>
> ### Changed
>
> * dev: switch tests from Sinon+Should to Jest with major rewrite of tests ([#1035](https://github-redirect.dependabot.com/tj/commander.js/issues/1035))
> * call default subcommand even when there are unknown options ([#1047](https://github-redirect.dependabot.com/tj/commander.js/issues/1047))
> * *Breaking* Commander is only officially supported on Node 8 and above, and requires Node 6 ([#1053](https://github-redirect.dependabot.com/tj/commander.js/issues/1053))
>
> ### Fixed
>
> * *Breaking* keep command object out of program.args when action handler called ([#1048](https://github-redirect.dependabot.com/tj/commander.js/issues/1048))
> * also, action handler now passed array of unknown arguments
> * complain about unknown options when program argument supplied and action handler ([#1049](https://github-redirect.dependabot.com/tj/commander.js/issues/1049))
> * this changes parameters to `command:*` event to include unknown arguments
> * removed deprecated `customFds` option from call to `child_process.spawn` ([#1052](https://github-redirect.dependabot.com/tj/commander.js/issues/1052))
> * rework TypeScript declarations to bring all types into imported namespace ([#1081](https://github-redirect.dependabot.com/tj/commander.js/issues/1081))
>
> ### Migration Tips
>
> #### Testing for no arguments
>
> If you were previously using code like:
> ```
> if (!program.args.length) ...
> ```
> a partial replacement is:
> ```
> if (program.rawArgs.length < 3) ...
> ```
>
> ## v4.0.0-1 Prerelease
> ### Added
>
> * support for declaring required options with `.requiredOptions()` ([#1071](https://github-redirect.dependabot.com/tj/commander.js/issues/1071))
>
> ## v4.0.0-0 Prerelease
> ### Added
>
> ... (truncated)
Changelog
*Sourced from [commander's changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md).*
> ## [4.0.1] (2019-11-12)
>
> ### Fixed
>
> * display help when requested, even if there are missing required options [([#1091](https://github-redirect.dependabot.com/tj/commander.js/issues/1091))]
>
> ## [4.0.0] (2019-11-02)
>
> ### Added
>
> * automatically wrap and indent help descriptions for options and commands ([#1051](https://github-redirect.dependabot.com/tj/commander.js/issues/1051))
> * `.exitOverride()` allows override of calls to `process.exit` for additional error handling and to keep program running ([#1040](https://github-redirect.dependabot.com/tj/commander.js/issues/1040))
> * support for declaring required options with `.requiredOptions()` ([#1071](https://github-redirect.dependabot.com/tj/commander.js/issues/1071))
> * GitHub Actions support ([#1027](https://github-redirect.dependabot.com/tj/commander.js/issues/1027))
> * translation links in README
>
> ### Changed
>
> * dev: switch tests from Sinon+Should to Jest with major rewrite of tests ([#1035](https://github-redirect.dependabot.com/tj/commander.js/issues/1035))
> * call default subcommand even when there are unknown options ([#1047](https://github-redirect.dependabot.com/tj/commander.js/issues/1047))
> * *Breaking* Commander is only officially supported on Node 8 and above, and requires Node 6 ([#1053](https://github-redirect.dependabot.com/tj/commander.js/issues/1053))
>
> ### Fixed
>
> * *Breaking* keep command object out of program.args when action handler called ([#1048](https://github-redirect.dependabot.com/tj/commander.js/issues/1048))
> * also, action handler now passed array of unknown arguments
> * complain about unknown options when program argument supplied and action handler ([#1049](https://github-redirect.dependabot.com/tj/commander.js/issues/1049))
> * this changes parameters to `command:*` event to include unknown arguments
> * removed deprecated `customFds` option from call to `child_process.spawn` ([#1052](https://github-redirect.dependabot.com/tj/commander.js/issues/1052))
> * rework TypeScript declarations to bring all types into imported namespace ([#1081](https://github-redirect.dependabot.com/tj/commander.js/issues/1081))
>
> ### Migration Tips
>
> #### Testing for no arguments
>
> If you were previously using code like:
>
> ```js
> if (!program.args.length) ...
> ```
>
> a partial replacement is:
>
> ```js
> if (program.rawArgs.length < 3) ...
> ```
>
> ## [4.0.0-1] Prerelease (2019-10-08)
>
> (Released in 4.0.0)
> ... (truncated)
Commits
- [`5083e14`](https://github.com/tj/commander.js/commit/5083e1463ef4a7d91e42d430965246a7a80439a0) Merge pull request [#1094](https://github-redirect.dependabot.com/tj/commander.js/issues/1094) from shadowspawn/release/4.0.1
- [`b38f262`](https://github.com/tj/commander.js/commit/b38f262b101495b94b74e39e893faace01e238ed) Bump version for 4.0.1
- [`88d1341`](https://github.com/tj/commander.js/commit/88d1341d461ceae0226242a2df726a7d891bd548) Update CHANGELOG for 4.0.1
- [`36082ba`](https://github.com/tj/commander.js/commit/36082ba093430385433b7fe03cb64791057bce50) Check for missing required options after check for displaying help
- [`6bfc580`](https://github.com/tj/commander.js/commit/6bfc58055863391a79611717f8a75948f6409c5f) Adding migration tips to match manual additions on GitHub release notes
- [`f0315b8`](https://github.com/tj/commander.js/commit/f0315b892d0425dcb8589d19a8ef61c2f965071e) Prepare for 4.0.0
- [`0a626bb`](https://github.com/tj/commander.js/commit/0a626bb96cfc4651cdd32223d63de2c4f099234f) Updates to CHANGELOG
- [`41c6985`](https://github.com/tj/commander.js/commit/41c69851e2c8dcb28bf532698e36c6c6065b176b) Switch from class to class-like to include all types in commander namespace
- [`08a5f02`](https://github.com/tj/commander.js/commit/08a5f02e758eb6b1edd5a477988c86bb307c98c2) Add full width colon in Chinese introducing languages
- [`dad5c1a`](https://github.com/tj/commander.js/commit/dad5c1a4a5fa75e65b073b90805d7490fad21445) Add translation links
- Additional commits viewable in [compare view](https://github.com/tj/commander.js/compare/v3.0.0...4.0.1)
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 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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will 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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps commander from 3.0.0 to 4.0.1.
Release notes
*Sourced from [commander's releases](https://github.com/tj/commander.js/releases).* > ## 4.0.1 > ### Fixed > > * display help when requested, even if there are missing required options ([#1091](https://github-redirect.dependabot.com/tj/commander.js/issues/1091)) > > ## 4.0.0 > ### Added > > * automatically wrap and indent help descriptions for options and commands ([#1051](https://github-redirect.dependabot.com/tj/commander.js/issues/1051)) > * `.exitOverride()` allows override of calls to `process.exit` for additional error handling and to keep program running ([#1040](https://github-redirect.dependabot.com/tj/commander.js/issues/1040)) > * support for declaring required options with `.requiredOptions()` ([#1071](https://github-redirect.dependabot.com/tj/commander.js/issues/1071)) > * GitHub Actions support ([#1027](https://github-redirect.dependabot.com/tj/commander.js/issues/1027)) > * translation links in README > > ### Changed > > * dev: switch tests from Sinon+Should to Jest with major rewrite of tests ([#1035](https://github-redirect.dependabot.com/tj/commander.js/issues/1035)) > * call default subcommand even when there are unknown options ([#1047](https://github-redirect.dependabot.com/tj/commander.js/issues/1047)) > * *Breaking* Commander is only officially supported on Node 8 and above, and requires Node 6 ([#1053](https://github-redirect.dependabot.com/tj/commander.js/issues/1053)) > > ### Fixed > > * *Breaking* keep command object out of program.args when action handler called ([#1048](https://github-redirect.dependabot.com/tj/commander.js/issues/1048)) > * also, action handler now passed array of unknown arguments > * complain about unknown options when program argument supplied and action handler ([#1049](https://github-redirect.dependabot.com/tj/commander.js/issues/1049)) > * this changes parameters to `command:*` event to include unknown arguments > * removed deprecated `customFds` option from call to `child_process.spawn` ([#1052](https://github-redirect.dependabot.com/tj/commander.js/issues/1052)) > * rework TypeScript declarations to bring all types into imported namespace ([#1081](https://github-redirect.dependabot.com/tj/commander.js/issues/1081)) > > ### Migration Tips > > #### Testing for no arguments > > If you were previously using code like: > ``` > if (!program.args.length) ... > ``` > a partial replacement is: > ``` > if (program.rawArgs.length < 3) ... > ``` > > ## v4.0.0-1 Prerelease > ### Added > > * support for declaring required options with `.requiredOptions()` ([#1071](https://github-redirect.dependabot.com/tj/commander.js/issues/1071)) > > ## v4.0.0-0 Prerelease > ### Added > > ... (truncated)Changelog
*Sourced from [commander's changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md).* > ## [4.0.1] (2019-11-12) > > ### Fixed > > * display help when requested, even if there are missing required options [([#1091](https://github-redirect.dependabot.com/tj/commander.js/issues/1091))] > > ## [4.0.0] (2019-11-02) > > ### Added > > * automatically wrap and indent help descriptions for options and commands ([#1051](https://github-redirect.dependabot.com/tj/commander.js/issues/1051)) > * `.exitOverride()` allows override of calls to `process.exit` for additional error handling and to keep program running ([#1040](https://github-redirect.dependabot.com/tj/commander.js/issues/1040)) > * support for declaring required options with `.requiredOptions()` ([#1071](https://github-redirect.dependabot.com/tj/commander.js/issues/1071)) > * GitHub Actions support ([#1027](https://github-redirect.dependabot.com/tj/commander.js/issues/1027)) > * translation links in README > > ### Changed > > * dev: switch tests from Sinon+Should to Jest with major rewrite of tests ([#1035](https://github-redirect.dependabot.com/tj/commander.js/issues/1035)) > * call default subcommand even when there are unknown options ([#1047](https://github-redirect.dependabot.com/tj/commander.js/issues/1047)) > * *Breaking* Commander is only officially supported on Node 8 and above, and requires Node 6 ([#1053](https://github-redirect.dependabot.com/tj/commander.js/issues/1053)) > > ### Fixed > > * *Breaking* keep command object out of program.args when action handler called ([#1048](https://github-redirect.dependabot.com/tj/commander.js/issues/1048)) > * also, action handler now passed array of unknown arguments > * complain about unknown options when program argument supplied and action handler ([#1049](https://github-redirect.dependabot.com/tj/commander.js/issues/1049)) > * this changes parameters to `command:*` event to include unknown arguments > * removed deprecated `customFds` option from call to `child_process.spawn` ([#1052](https://github-redirect.dependabot.com/tj/commander.js/issues/1052)) > * rework TypeScript declarations to bring all types into imported namespace ([#1081](https://github-redirect.dependabot.com/tj/commander.js/issues/1081)) > > ### Migration Tips > > #### Testing for no arguments > > If you were previously using code like: > > ```js > if (!program.args.length) ... > ``` > > a partial replacement is: > > ```js > if (program.rawArgs.length < 3) ... > ``` > > ## [4.0.0-1] Prerelease (2019-10-08) > > (Released in 4.0.0) > ... (truncated)Commits
- [`5083e14`](https://github.com/tj/commander.js/commit/5083e1463ef4a7d91e42d430965246a7a80439a0) Merge pull request [#1094](https://github-redirect.dependabot.com/tj/commander.js/issues/1094) from shadowspawn/release/4.0.1 - [`b38f262`](https://github.com/tj/commander.js/commit/b38f262b101495b94b74e39e893faace01e238ed) Bump version for 4.0.1 - [`88d1341`](https://github.com/tj/commander.js/commit/88d1341d461ceae0226242a2df726a7d891bd548) Update CHANGELOG for 4.0.1 - [`36082ba`](https://github.com/tj/commander.js/commit/36082ba093430385433b7fe03cb64791057bce50) Check for missing required options after check for displaying help - [`6bfc580`](https://github.com/tj/commander.js/commit/6bfc58055863391a79611717f8a75948f6409c5f) Adding migration tips to match manual additions on GitHub release notes - [`f0315b8`](https://github.com/tj/commander.js/commit/f0315b892d0425dcb8589d19a8ef61c2f965071e) Prepare for 4.0.0 - [`0a626bb`](https://github.com/tj/commander.js/commit/0a626bb96cfc4651cdd32223d63de2c4f099234f) Updates to CHANGELOG - [`41c6985`](https://github.com/tj/commander.js/commit/41c69851e2c8dcb28bf532698e36c6c6065b176b) Switch from class to class-like to include all types in commander namespace - [`08a5f02`](https://github.com/tj/commander.js/commit/08a5f02e758eb6b1edd5a477988c86bb307c98c2) Add full width colon in Chinese introducing languages - [`dad5c1a`](https://github.com/tj/commander.js/commit/dad5c1a4a5fa75e65b073b90805d7490fad21445) Add translation links - Additional commits viewable in [compare view](https://github.com/tj/commander.js/compare/v3.0.0...4.0.1)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 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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will 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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)