tj/commander.js (commander)
### [`v11.1.0`](https://togithub.com/tj/commander.js/blob/HEAD/CHANGELOG.md#1110-2023-10-13)
[Compare Source](https://togithub.com/tj/commander.js/compare/v11.0.0...v11.1.0)
##### Fixed
- TypeScript: update `OptionValueSource` to allow any string, to match supported use of custom sources (\[[#1983](https://togithub.com/tj/commander.js/issues/1983)])
- TypeScript: add that `Command.version()` can also be used as getter (\[[#1982](https://togithub.com/tj/commander.js/issues/1982)])
- TypeScript: add null return type to `Commands.executableDir()`, for when not configured (\[[#1965](https://togithub.com/tj/commander.js/issues/1965)])
- subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command (\[[#1930](https://togithub.com/tj/commander.js/issues/1930)])
##### Added
- `registeredArguments` property on `Command` with the array of defined `Argument` (like `Command.options` for `Option`) (\[[#2010](https://togithub.com/tj/commander.js/issues/2010)])
- TypeScript declarations for Option properties: `envVar`, `presetArg` (\[[#2019](https://togithub.com/tj/commander.js/issues/2019)])
- TypeScript declarations for Argument properties: `argChoices`, `defaultValue`, `defaultValueDescription` (\[[#2019](https://togithub.com/tj/commander.js/issues/2019)])
- example file which shows how to configure help to display any custom usage in the list of subcommands (\[[#1896](https://togithub.com/tj/commander.js/issues/1896)])
##### Changed
- (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors (\[[#1969](https://togithub.com/tj/commander.js/issues/1969)])
##### Deprecated
- `Command._args` was private anyway, but now available as `registeredArguments` (\[[#2010](https://togithub.com/tj/commander.js/issues/2010)])
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
:warning: We detected 2 security issues in this pull request:
Vulnerable Libraries (2)
Severity | Details
:-: | :--
High | [pkg:npm/gitmoji-changelog@2.3.0](https://github.com/koromerzhin/js-commands/blob/ce685bc323ed5b52f4ca0c984b62276ff9dd5d31/package.json) (t) upgrade to: *> 2.3.0*
Informational | [pkg:npm/semantic-git-commit-cli@3.7.0](https://github.com/koromerzhin/js-commands/blob/ce685bc323ed5b52f4ca0c984b62276ff9dd5d31/package.json) (t) upgrade to: *> 3.7.0*
More info on how to fix Vulnerable Libraries in [JavaScript](https://docs.guardrails.io/docs/en/vulnerabilities/javascript/using_vulnerable_libraries.html?utm_source=ghpr).
This PR contains the following updates:
11.0.*
->11.1.*
Release Notes
tj/commander.js (commander)
### [`v11.1.0`](https://togithub.com/tj/commander.js/blob/HEAD/CHANGELOG.md#1110-2023-10-13) [Compare Source](https://togithub.com/tj/commander.js/compare/v11.0.0...v11.1.0) ##### Fixed - TypeScript: update `OptionValueSource` to allow any string, to match supported use of custom sources (\[[#1983](https://togithub.com/tj/commander.js/issues/1983)]) - TypeScript: add that `Command.version()` can also be used as getter (\[[#1982](https://togithub.com/tj/commander.js/issues/1982)]) - TypeScript: add null return type to `Commands.executableDir()`, for when not configured (\[[#1965](https://togithub.com/tj/commander.js/issues/1965)]) - subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command (\[[#1930](https://togithub.com/tj/commander.js/issues/1930)]) ##### Added - `registeredArguments` property on `Command` with the array of defined `Argument` (like `Command.options` for `Option`) (\[[#2010](https://togithub.com/tj/commander.js/issues/2010)]) - TypeScript declarations for Option properties: `envVar`, `presetArg` (\[[#2019](https://togithub.com/tj/commander.js/issues/2019)]) - TypeScript declarations for Argument properties: `argChoices`, `defaultValue`, `defaultValueDescription` (\[[#2019](https://togithub.com/tj/commander.js/issues/2019)]) - example file which shows how to configure help to display any custom usage in the list of subcommands (\[[#1896](https://togithub.com/tj/commander.js/issues/1896)]) ##### Changed - (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors (\[[#1969](https://togithub.com/tj/commander.js/issues/1969)]) ##### Deprecated - `Command._args` was private anyway, but now available as `registeredArguments` (\[[#2010](https://togithub.com/tj/commander.js/issues/2010)])Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.