[Snyk] Upgrade commander from 11.0.0 to 11.1.0 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 on 7 months ago.
Release notes
Package name: commander
-
11.1.0 - 2023-10-13
- TypeScript: update
- TypeScript: add that
- TypeScript: add null return type to
- subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command (#1930)
- TypeScript declarations for Option properties:
- TypeScript declarations for Argument properties:
- example file which shows how to configure help to display any custom usage in the list of subcommands (#1896)
- (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors (#1969)
-
11.0.0 - 2023-06-16
- help command works when help option is disabled (#1864)
- 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 notesFixed
OptionValueSourceto allow any string, to match supported use of custom sources (#1983)Command.version()can also be used as getter (#1982)Commands.executableDir(), for when not configured (#1965)Added
registeredArgumentsproperty onCommandwith the array of definedArgument(likeCommand.optionsforOption) (#2010)envVar,presetArg(#2019)argChoices,defaultValue,defaultValueDescription(#2019)Changed
Deprecated
Command._argswas private anyway, but now available asregisteredArguments(#2010)Fixed
Changed
Important
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: