RickWong / wait-run

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

Update commander requirement from 2.9.0 to 3.0.0 #7

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Updates the requirements on commander to permit the latest version.

Release notes *Sourced from [commander's releases](https://github.com/tj/commander.js/releases).* > ## v3.0.0 > * Add option to specify executable file name ([#999](https://github-redirect.dependabot.com/tj/commander.js/issues/999)) > * e.g. `.command('clone', 'clone description', { executableFile: 'myClone' })` > * Change docs for `.command` to contrast action handler vs git-style executable. ([#938](https://github-redirect.dependabot.com/tj/commander.js/issues/938) [#990](https://github-redirect.dependabot.com/tj/commander.js/issues/990)) > * **Breaking** Change TypeScript to use overloaded function for `.command`. ([#938](https://github-redirect.dependabot.com/tj/commander.js/issues/938) [#990](https://github-redirect.dependabot.com/tj/commander.js/issues/990)) > * Change to use straight quotes around strings in error messages (like 'this' instead of `this') ([#915](https://github-redirect.dependabot.com/tj/commander.js/issues/915)) > * Add TypeScript "reference types" for node ([#974](https://github-redirect.dependabot.com/tj/commander.js/issues/974)) > * Add support for hyphen as an option argument in subcommands ([#697](https://github-redirect.dependabot.com/tj/commander.js/issues/697)) > * Add support for a short option flag and its value to be concatenated for action handler subcommands ([#599](https://github-redirect.dependabot.com/tj/commander.js/issues/599)) > * e.g. `-p 80` can also be supplied as `-p80` > * Add executable arguments to spawn in win32, for git-style executables ([#611](https://github-redirect.dependabot.com/tj/commander.js/issues/611)) > * e.g. `node --harmony myCommand.js clone` > * Add parent command as prefix of subcommand in help ([#980](https://github-redirect.dependabot.com/tj/commander.js/issues/980)) > * Add optional custom description to `.version` ([#963](https://github-redirect.dependabot.com/tj/commander.js/issues/963)) > * e.g. `program.version('0.0.1', '-v, --vers', 'output the current version')` > * Add `.helpOption(flags, description)` routine to customise help flags and description ([#963](https://github-redirect.dependabot.com/tj/commander.js/issues/963)) > * e.g. `.helpOption('-e, --HELP', 'read more information')` > * Fix behavior of --no-* options ([#795](https://github-redirect.dependabot.com/tj/commander.js/issues/795)) > * can now define both `--foo` and `--no-foo` > * **Breaking** custom event listeners: `--no-foo` on cli now emits `option:no-foo` (previously `option:foo`) > * **Breaking** default value: defining `--no-foo` after defining `--foo` leaves the default value unchanged (previously set it to false) > * allow boolean default value, such as from environment ([#987](https://github-redirect.dependabot.com/tj/commander.js/issues/987)) > * Increment inspector port for spawned subcommands ([#991](https://github-redirect.dependabot.com/tj/commander.js/issues/991)) > * e.g. `node --inspect myCommand.js clone` > > Example Breaking Changes > ------------------------ > > The custom event for a negated option like `--no-foo` is `option:no-foo` (previously `option:foo`). > > ```js > program > .option('--no-foo') > .on('option:no-foo', () => { > console.log('removing foo'); > }); > ``` > > When using TypeScript, adding a command does not allow an explicit `undefined` for an unwanted executable description (e.g. for a command with an action handler). > > ```js > program > .command('action1', undefined, { noHelp: true }) // No longer valid > .command('action2', { noHelp: true }) // Correct > ```
Changelog *Sourced from [commander's changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md).* > 3.0.0 / 2019-08-08 > ================= > > * Add option to specify executable file name ([#999](https://github-redirect.dependabot.com/tj/commander.js/issues/999)) > * e.g. `.command('clone', 'clone description', { executableFile: 'myClone' })` > * Change docs for `.command` to contrast action handler vs git-style executable. ([#938](https://github-redirect.dependabot.com/tj/commander.js/issues/938) [#990](https://github-redirect.dependabot.com/tj/commander.js/issues/990)) > * **Breaking** Change TypeScript to use overloaded function for `.command`. ([#938](https://github-redirect.dependabot.com/tj/commander.js/issues/938) [#990](https://github-redirect.dependabot.com/tj/commander.js/issues/990)) > * Change to use straight quotes around strings in error messages (like 'this' instead of `this') ([#915](https://github-redirect.dependabot.com/tj/commander.js/issues/915)) > * Add TypeScript "reference types" for node ([#974](https://github-redirect.dependabot.com/tj/commander.js/issues/974)) > * Add support for hyphen as an option argument in subcommands ([#697](https://github-redirect.dependabot.com/tj/commander.js/issues/697)) > * Add support for a short option flag and its value to be concatenated for action handler subcommands ([#599](https://github-redirect.dependabot.com/tj/commander.js/issues/599)) > * e.g. `-p 80` can also be supplied as `-p80` > * Add executable arguments to spawn in win32, for git-style executables ([#611](https://github-redirect.dependabot.com/tj/commander.js/issues/611)) > * e.g. `node --harmony myCommand.js clone` > * Add parent command as prefix of subcommand in help ([#980](https://github-redirect.dependabot.com/tj/commander.js/issues/980)) > * Add optional custom description to `.version` ([#963](https://github-redirect.dependabot.com/tj/commander.js/issues/963)) > * e.g. `program.version('0.0.1', '-v, --vers', 'output the current version')` > * Add `.helpOption(flags, description)` routine to customise help flags and description ([#963](https://github-redirect.dependabot.com/tj/commander.js/issues/963)) > * e.g. `.helpOption('-e, --HELP', 'read more information')` > * Fix behavior of --no-* options ([#795](https://github-redirect.dependabot.com/tj/commander.js/issues/795)) > * can now define both `--foo` and `--no-foo` > * **Breaking** custom event listeners: `--no-foo` on cli now emits `option:no-foo` (previously `option:foo`) > * **Breaking** default value: defining `--no-foo` after defining `--foo` leaves the default value unchanged (previously set it to false) > * allow boolean default value, such as from environment ([#987](https://github-redirect.dependabot.com/tj/commander.js/issues/987)) > * Increment inspector port for spawned subcommands ([#991](https://github-redirect.dependabot.com/tj/commander.js/issues/991)) > * e.g. `node --inspect myCommand.js clone` > > Example Breaking Changes > ------------------------ > > The custom event for a negated option like `--no-foo` is `option:no-foo` (previously `option:foo`). > > ```js > program > .option('--no-foo') > .on('option:no-foo', () => { > console.log('removing foo'); > }); > ``` > > When using TypeScript, adding a command does not allow an explicit `undefined` for an unwanted executable description (e.g > for a command with an action handler). > > ```js > program > .command('action1', undefined, { noHelp: true }) // No longer valid > .command('action2', { noHelp: true }) // Correct > ``` > > [#599](https://github-redirect.dependabot.com/tj/commander.js/issues/599): [#599](https://github-redirect.dependabot.com/tj/commander.js/issues/599) > ... (truncated)
Commits - [`bfcd39a`](https://github.com/tj/commander.js/commit/bfcd39a433d8ef34feaca511a9b9f401dc92ed90) Set release date for 3.0.0 - [`d1469c0`](https://github.com/tj/commander.js/commit/d1469c04ca4c140980ea5b0eb569e0cc2ecfd727) Bump version for release - [`41d0bdb`](https://github.com/tj/commander.js/commit/41d0bdbe18cb3a743a53f9ad717879d97da3c8e5) Add explicit breaking notes ([#1006](https://github-redirect.dependabot.com/tj/commander.js/issues/1006)) - [`5b1b2fe`](https://github.com/tj/commander.js/commit/5b1b2fe3d909769c335feee45e22da08a2558f56) Add links for issues (so work for direct viewing of CHANGELOG) - [`fb56370`](https://github.com/tj/commander.js/commit/fb563708098b6f92679dbf906edba7d1978b6834) Add Tidelift links ([#1004](https://github-redirect.dependabot.com/tj/commander.js/issues/1004)) - [`f743bf4`](https://github.com/tj/commander.js/commit/f743bf456bbda392dbc4a106fc196bc9ef5c8b76) Expand changelog for prerelease - [`e5bce2f`](https://github.com/tj/commander.js/commit/e5bce2fc763f1a3f79a815186391116fb161aaa2) Add [#987](https://github-redirect.dependabot.com/tj/commander.js/issues/987) to CHANGELOG - [`a9503bb`](https://github.com/tj/commander.js/commit/a9503bb60dd21af6b584dee358391af5e2007aa2) Allow boolean default for flag option ([#987](https://github-redirect.dependabot.com/tj/commander.js/issues/987)) - [`55e88dc`](https://github.com/tj/commander.js/commit/55e88dca4fdec85c1914a88a0c65172465eb6f8b) Add missing changes to v3.0.0 changelog - [`fb00b0e`](https://github.com/tj/commander.js/commit/fb00b0e2a48b0edb4d9b4f9fcdd1e07cfae68523) Merge branch 'master' into release/3.0.0 - Additional commits viewable in [compare view](https://github.com/tj/commander.js/compare/v2.9.0...v3.0.0)


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) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

Superseded by #8.