Skip to content

[Snyk] Upgrade commander from 5.0.0 to 6.1.0 #1603

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

Closed

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented Oct 8, 2020

Snyk has created this PR to upgrade commander from 5.0.0 to 6.1.0.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 4 versions ahead of your current version.
  • The recommended version was released a month ago, on 2020-08-28.
Release notes
Package name: commander
  • 6.1.0 - 2020-08-28

    Added

    • include URL to relevant section of README for error for potential conflict between Command properties and option values (#1306)
    • .combineFlagAndOptionalValue(false) to ease upgrade path from older versions of Commander (#1326)
    • allow disabling the built-in help option using .helpOption(false) (#1325)
    • allow just some arguments in argumentDescription to .description() (#1323)

    Changed

    • tidy async test and remove lint override (#1312)

    Fixed

    • executable subcommand launching when script path not known (#1322)
  • 6.0.0 - 2020-07-19

    Added

    • add support for variadic options (#1250)
    • allow options to be added with just a short flag (#1256)
      • Breaking the option property has same case as flag. e.g. flag -n accessed as opts().n (previously uppercase)
    • Breaking throw an error if there might be a clash between option name and a Command property, with advice on how to resolve (#1275)

    Fixed

    • Options which contain -no- in the middle of the option flag should not be treated as negatable. (#1301)
  • 6.0.0-0 - 2020-06-20

    Added

    • add support for variadic options (#1250)
    • allow options to be added with just a short flag (#1256)
    • throw an error if there might be a clash between option name and a Command property, with advice on how to resolve (#1275)
  • 5.1.0 - 2020-04-25

    Added

    • support for multiple command aliases, the first of which is shown in the auto-generated help (#531, #1236)
    • configuration support in addCommand() for hidden and isDefault (#1232)

    Fixed

    • omit masked help flags from the displayed help (#645, #1247)
    • remove old short help flag when change help flags using helpOption (#1248)

    Changed

    • remove use of arguments to improve auto-generated help in editors (#1235)
    • rename .command() configuration noHelp to hidden (but not remove old support) (#1232)
    • improvements to documentation
    • update dependencies
    • update tested versions of node
    • eliminate lint errors in TypeScript (#1208)
  • 5.0.0 - 2020-03-14
    Read more
from commander GitHub release notes
Commit messages
Package name: commander

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@davimacedo davimacedo closed this Oct 9, 2020
@mtrezza mtrezza deleted the snyk-upgrade-86f8986e33c7eace1285916925b58928 branch September 23, 2021 11:49
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