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

[Snyk] Upgrade commander from 11.0.0 to 11.1.0 #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DrPaulBrewer
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade commander from 11.0.0 to 11.1.0.

ℹ️ 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.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 4 days ago, on 2023-10-13.
Release notes
Package name: commander
  • 11.1.0 - 2023-10-13

    Fixed

    • TypeScript: update OptionValueSource to allow any string, to match supported use of custom sources (#1983)
    • TypeScript: add that Command.version() can also be used as getter (#1982)
    • TypeScript: add null return type to Commands.executableDir(), for when not configured (#1965)
    • subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command (#1930)

    Added

    • registeredArguments property on Command with the array of defined Argument (like Command.options for Option) (#2010)
    • TypeScript declarations for Option properties: envVar, presetArg (#2019)
    • TypeScript declarations for Argument properties: argChoices, defaultValue, defaultValueDescription (#2019)
    • example file which shows how to configure help to display any custom usage in the list of subcommands (#1896)

    Changed

    • (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors (#1969)

    Deprecated

    • Command._args was private anyway, but now available as registeredArguments (#2010)
  • 11.0.0 - 2023-06-16

    Fixed

    • help command works when help option is disabled (#1864)

    Changed

    • leading and trailing spaces are now ignored by the .arguments() method (#1874)
    • refine "types" exports for ESM to follow TypeScript guidelines (#1886)
    • Breaking: Commander 11 requires Node.js v16 or higher
from commander GitHub release notes
Commit messages
Package name: commander
  • f1ae2db Update CHANGELOG for 11.1.0 (#2025)
  • 591fc4b Merge branch 'fix/grammar' of github.com:aweebit/commander.js into aweebit-fix/grammar
  • 03dea00 Refactor headings (#2028)
  • 67c9180 Comment out new misuse check until a major version (#2026)
  • 96c6c25 Refactor type-checking setup (#1969)
  • 744ee3f Add more Option and Argument properties to typings (#2019)
  • 26a34e6 Replace {any} with {*} as native JSDoc (#2015)
  • 14edbca Revert factory function reexport (#2014)
  • 384f17b Explicitly export factory functions (#2013)
  • 58820a4 Bump actions/checkout from 3 to 4 (#2012)
  • 7d23437 Add public Arguments property (#2010)
  • 8edcfd9 Work-around bug in Jest (#2011)
  • e85e05a Rework option inline doc (#2009)
  • c7d39ca Move Jest configuration to config file (#2005)
  • 0d432ba Make OptionValueSource a string with well-known values for auto-complete. (#1983)
  • f5413db Types for version getter (#1982)
  • 4c095d1 Refactor to wrap invalid argument (#1977)
  • 5740e59 Improve chain variable name (#1958)
  • f76a734 Use _getCommandAndAncestors() less aggressively
  • 25ebead Use _getCommandAndAncestors() consistently
  • 1f90b11 Introduce _getCommandAndAncestors()
  • 96f076d Call storeOptionsAsProperties() with appropriate parameter value in test
  • 6871e68 Add test for storeOptionsAsProperties() after setting option value
  • ff0fd9e Throw error on options-as-properties config after setting option values

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

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