RickWong / wait-run

Wait for a file or directory to change or appear, then run a command once.
16 stars 8 forks source link

Bump commander from 2.9.0 to 4.0.0 #10

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps commander from 2.9.0 to 4.0.0.

Release notes *Sourced from [commander's releases](https://github.com/tj/commander.js/releases).* > ## 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 > > * 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)) > * dev: work in progress GitHub Actions support ([#1027](https://github-redirect.dependabot.com/tj/commander.js/issues/1027)) > > ### Changed > ... (truncated)
Changelog *Sourced from [commander's changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md).* > ## [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)) > > ## [4.0.0-1] Prerelease (2019-10-08) > > (Released in 4.0.0) > > ## [4.0.0-0] Prerelease (2019-10-01) > > (Released in 4.0.0) > > ## [2.20.1] (2019-09-29) > > ### Fixed > > * Improve tracking of executable subcommands. > > ### Changed > > * update development dependencies > > ## [3.0.2] (2019-09-27) > > ### Fixed > > * Improve tracking of executable subcommands. > > ### Changed > ... (truncated)
Commits - [`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 - [`c1c1db6`](https://github.com/tj/commander.js/commit/c1c1db6bdab004ac30e749dc7ebe98f818a021f0) Update Tidelift description to use enterprise wording - [`7fa903f`](https://github.com/tj/commander.js/commit/7fa903f79cf65074cc2371370d2aad8486299786) Remove translated english text, and add new TOC items - [`8b656f9`](https://github.com/tj/commander.js/commit/8b656f9171c83adca89351d122d641812c531544) add requiredOption and exitOverride for Chinese Readme - [`2ef5401`](https://github.com/tj/commander.js/commit/2ef54010a2c37ebb075e363b3b221af70a7bc25c) Merge pull request [#1082](https://github-redirect.dependabot.com/tj/commander.js/issues/1082) from shadowspawn/feature/engines_node6 - [`3fd7913`](https://github.com/tj/commander.js/commit/3fd7913b6d0cc8fd11142c7609b86fd224eabc34) Explicitly require node 6, so hopefully get a warning on install if there is ... - Additional commits viewable in [compare view](https://github.com/tj/commander.js/compare/v2.9.0...v4.0.0)
Maintainer changes This version was pushed to npm by [shadowspawn](https://www.npmjs.com/~shadowspawn), a new releaser for commander since your current version.


Dependabot compatibility score

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)
dependabot-preview[bot] commented 4 years ago

Superseded by #11.