Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump commander from 3.0.2 to 4.0.0 #4

Merged
merged 1 commit into from
Nov 3, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Nov 1, 2019

Bumps commander from 3.0.2 to 4.0.0.

Release notes

Sourced from commander's releases.

4.0.0

Added

  • automatically wrap and indent help descriptions for options and commands (#1051)
  • .exitOverride() allows override of calls to process.exit for additional error handling and to keep program running (#1040)
  • support for declaring required options with .requiredOptions() (#1071)
  • GitHub Actions support (#1027)
  • translation links in README

Changed

  • dev: switch tests from Sinon+Should to Jest with major rewrite of tests (#1035)
  • call default subcommand even when there are unknown options (#1047)
  • Breaking Commander is only officially supported on Node 8 and above, and requires Node 6 (#1053)

Fixed

  • Breaking keep command object out of program.args when action handler called (#1048)
    • also, action handler now passed array of unknown arguments
  • complain about unknown options when program argument supplied and action handler (#1049)
    • this changes parameters to command:* event to include unknown arguments
  • removed deprecated customFds option from call to child_process.spawn (#1052)
  • rework TypeScript declarations to bring all types into imported namespace (#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)

v4.0.0-0 Prerelease

Added

  • automatically wrap and indent help descriptions for options and commands (#1051)
  • .exitOverride() allows override of calls to process.exit for additional error handling and to keep program running (#1040)
  • dev: work in progress GitHub Actions support (#1027)

Changed

... (truncated)
Changelog

Sourced from commander's changelog.

[4.0.0] (2019-11-02)

Added

  • automatically wrap and indent help descriptions for options and commands (#1051)
  • .exitOverride() allows override of calls to process.exit for additional error handling and to keep program running (#1040)
  • support for declaring required options with .requiredOptions() (#1071)
  • GitHub Actions support (#1027)
  • translation links in README

Changed

  • dev: switch tests from Sinon+Should to Jest with major rewrite of tests (#1035)
  • call default subcommand even when there are unknown options (#1047)
  • Breaking Commander is only officially supported on Node 8 and above, and requires Node 6 (#1053)

Fixed

  • Breaking keep command object out of program.args when action handler called (#1048)
    • also, action handler now passed array of unknown arguments
  • complain about unknown options when program argument supplied and action handler (#1049)
    • this changes parameters to command:* event to include unknown arguments
  • removed deprecated customFds option from call to child_process.spawn (#1052)
  • rework TypeScript declarations to bring all types into imported namespace (#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
Commits
  • f0315b8 Prepare for 4.0.0
  • 0a626bb Updates to CHANGELOG
  • 41c6985 Switch from class to class-like to include all types in commander namespace
  • 08a5f02 Add full width colon in Chinese introducing languages
  • dad5c1a Add translation links
  • c1c1db6 Update Tidelift description to use enterprise wording
  • 7fa903f Remove translated english text, and add new TOC items
  • 8b656f9 add requiredOption and exitOverride for Chinese Readme
  • 2ef5401 Merge pull request #1082 from shadowspawn/feature/engines_node6
  • 3fd7913 Explicitly require node 6, so hopefully get a warning on install if there is ...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by 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:

  • 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 dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 1, 2019
@brodycj
Copy link
Owner

brodycj commented Nov 1, 2019

@dependabot rebase

@brodycj brodycj mentioned this pull request Nov 1, 2019
Bumps [commander](https://github.com/tj/commander.js) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](tj/commander.js@v3.0.2...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/commander-4.0.0 branch from d50c2c4 to 496c961 Compare November 1, 2019 15:34
@brodycj
Copy link
Owner

brodycj commented Nov 3, 2019

@dependabot recreate

@brodycj brodycj merged commit 88f7259 into dev Nov 3, 2019
@brodycj brodycj deleted the dependabot/npm_and_yarn/commander-4.0.0 branch November 3, 2019 02:24
@dependabot-preview
Copy link
Contributor Author

Looks like this PR has already been merged. If you've moved back to an older version of commander a new PR will be created next time Dependabot checks your dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant