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

Update commander to the latest version 🚀 #1057

Merged
merged 2 commits into from
Nov 1, 2019
Merged

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Nov 1, 2019

The dependency commander was updated from 3.0.2 to 4.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: shadowspawn
License: MIT

Release Notes for 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)
Commits

The new version differs by 49 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 an older version of node.
  • a98f35a Add 'pull_request' to GitHub Actions trigger (#1076)
  • e9929fb 4.0.0-1
  • 82fd44a Add .requiredOption to CHANGELOG
  • 7f9edba Add .requiredOption() for mandatory options (#1071)
  • 57e9d98 Examples: use "require" that works from git repo, and lint. (#1072)

There are 49 commits in total.

See the full diff


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@greenkeeper greenkeeper bot requested a review from a team as a code owner November 1, 2019 10:16
@gr2m gr2m merged commit 1d87b2d into master Nov 1, 2019
@greenkeeper greenkeeper bot deleted the greenkeeper/commander-4.0.0 branch November 1, 2019 17:25
@probotbot
Copy link

🎉 This PR is included in version 9.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants