-
Notifications
You must be signed in to change notification settings - Fork 11
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
fix(deps): update dependency commander to v12 #406
base: main
Are you sure you want to change the base?
Conversation
|
746ed0a
to
8e20302
Compare
bdc58c4
to
3cc63df
Compare
5698736
to
73fcc22
Compare
d493568
to
306c0ed
Compare
306c0ed
to
be9aad8
Compare
3614cad
to
4d69908
Compare
7153d85
to
ba9a55d
Compare
ba9a55d
to
ff02a0a
Compare
bd2cd61
to
de0375a
Compare
6c550f4
to
7cc514a
Compare
f87dccd
to
3aea5b0
Compare
d1625fd
to
420826c
Compare
420826c
to
55973b9
Compare
3fe1013
to
591e7d7
Compare
591e7d7
to
d8a5e4c
Compare
d8a5e4c
to
c7d770f
Compare
This PR contains the following updates:
^11.0.0
->^12.0.0
Release Notes
tj/commander.js (commander)
v12.1.0
Compare Source
Added
v12.0.0
Compare Source
Added
.addHelpOption()
as another way of configuring built-in help option ([#2006]).helpCommand()
for configuring built-in help command ([#2087])Fixed
passThroughOptions
constraints when using.addCommand
and throw if parent command does not have.enablePositionalOptions()
enabled ([#1937])Changed
.storeOptionsAsProperties()
after setting an option value ([#1928])@api private
with documented@private
([#1949]).addHelpCommand()
now takes a Command (passing string or boolean still works as before but deprecated) ([#2087])Deprecated
.addHelpCommand()
passing string or boolean (use.helpCommand()
or pass a Command) ([#2087])Removed
program
export instead) ([#2017])Migration Tips
global program
If you are using the deprecated default import of the global Command object, you need to switch to using a named import (or create a new
Command
).option and command clashes
A couple of configuration problems now throw an error, which will pick up issues in existing programs:
v11.1.0
Compare Source
Fixed
OptionValueSource
to 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
registeredArguments
property onCommand
with the array of definedArgument
(likeCommand.options
forOption
) ([#2010])envVar
,presetArg
([#2019])argChoices
,defaultValue
,defaultValueDescription
([#2019])Changed
Deprecated
Command._args
was private anyway, but now available asregisteredArguments
([#2010])Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.