Merge pull request #2006 from murgatroid99/proto-loader_yargs_update

proto-loader: Update yargs to version 17
This commit is contained in:
Michael Lumish 2022-01-04 14:16:12 -08:00 committed by GitHub
commit f7c2769390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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
})

View File

@ -1,6 +1,6 @@
{
"name": "@grpc/proto-loader",
"version": "0.6.7",
"version": "0.6.8",
"author": "Google Inc.",
"contributors": [
{
@ -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",