This repository was archived by the owner on Aug 22, 2023. It is now read-only.
File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
"bugs" : " https://github.com/oclif/command/issues" ,
7
7
"dependencies" : {
8
8
"@oclif/errors" : " ^1.2.2" ,
9
- "@oclif/parser" : " ^3.7 .3" ,
9
+ "@oclif/parser" : " ^3.8 .3" ,
10
10
"debug" : " ^4.1.1" ,
11
11
"semver" : " ^5.6.0"
12
12
},
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export type Input<T extends Parser.flags.Output> = { [P in keyof T]: IFlag<T[P]>
28
28
29
29
export type Definition < T > = {
30
30
( options : { multiple : true } & Partial < IOptionFlag < T > > ) : IOptionFlag < T [ ] >
31
- ( options : { required : true } & Partial < IOptionFlag < T > > ) : IOptionFlag < T >
31
+ ( options : ( { required : true } | { default : Parser . flags . Default < T > } ) & Partial < IOptionFlag < T > > ) : IOptionFlag < T >
32
32
( options ?: Partial < IOptionFlag < T > > ) : IOptionFlag < T | undefined >
33
33
}
34
34
Original file line number Diff line number Diff line change 86
86
chalk "^2.4.1"
87
87
tslib "^1.9.3"
88
88
89
- " @oclif/parser@^3.7 .3 " :
90
- version "3.7 .3"
91
- resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.7 .3.tgz#cb2240f457396e7b1af2f13caa0dca85b92a5a37 "
92
- integrity sha512-yfYpDzVn9ipo4HZtYLfMtd3j3ArpTQlRbQfy9pNnHFd4VedE2PNYQTRWYYMuu1FxEOoknlMZbzsewVvl41TvKg ==
89
+ " @oclif/parser@^3.8 .3 " :
90
+ version "3.8 .3"
91
+ resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.8 .3.tgz#717fbbe5bfafef4270224b8bd41a2d3c80b9554e "
92
+ integrity sha512-zN+3oGuv9Lg8NjFvxZTDKFEmhAMfAvd/JWeQp3Ri8pDezoyJQi4OSHHLM8sdHjBh8sePewfWI7+fDUXdrVbrqg ==
93
93
dependencies :
94
94
" @oclif/linewrap" " ^1.0.0"
95
- chalk "^2.4.1 "
95
+ chalk "^2.4.2 "
96
96
tslib "^1.9.3"
97
97
98
98
" @oclif/plugin-help@^2.1.6 " :
You can’t perform that action at this time.
0 commit comments