mirror of https://github.com/grpc/grpc-node.git
proto-loader: Update yargs to version 17
This commit is contained in:
parent
f263b091b4
commit
9f3001eb97
|
@ -767,8 +767,8 @@ async function writeAllFiles(protoFiles: string[], options: GeneratorOptions) {
|
|||
}
|
||||
}
|
||||
|
||||
function runScript() {
|
||||
const argv = yargs
|
||||
async function runScript() {
|
||||
const argv = await yargs
|
||||
.parserConfiguration({
|
||||
'parse-positional-numbers': false
|
||||
})
|
||||
|
|
|
@ -49,14 +49,14 @@
|
|||
"lodash.camelcase": "^4.3.0",
|
||||
"long": "^4.0.0",
|
||||
"protobufjs": "^6.10.0",
|
||||
"yargs": "^16.1.1"
|
||||
"yargs": "^17.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash.camelcase": "^4.3.4",
|
||||
"@types/mkdirp": "^1.0.1",
|
||||
"@types/mocha": "^5.2.7",
|
||||
"@types/node": "^10.17.26",
|
||||
"@types/yargs": "^15.0.5",
|
||||
"@types/yargs": "^17.0.8",
|
||||
"clang-format": "^1.2.2",
|
||||
"gts": "^1.1.0",
|
||||
"rimraf": "^3.0.2",
|
||||
|
|
Loading…
Reference in New Issue