Skip to content

Commit 9f3001e

Browse files
committed
proto-loader: Update yargs to version 17
1 parent f263b09 commit 9f3001e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/proto-loader/bin/proto-loader-gen-types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,8 +767,8 @@ async function writeAllFiles(protoFiles: string[], options: GeneratorOptions) {
767767
}
768768
}
769769

770-
function runScript() {
771-
const argv = yargs
770+
async function runScript() {
771+
const argv = await yargs
772772
.parserConfiguration({
773773
'parse-positional-numbers': false
774774
})

packages/proto-loader/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@
4949
"lodash.camelcase": "^4.3.0",
5050
"long": "^4.0.0",
5151
"protobufjs": "^6.10.0",
52-
"yargs": "^16.1.1"
52+
"yargs": "^17.3.1"
5353
},
5454
"devDependencies": {
5555
"@types/lodash.camelcase": "^4.3.4",
5656
"@types/mkdirp": "^1.0.1",
5757
"@types/mocha": "^5.2.7",
5858
"@types/node": "^10.17.26",
59-
"@types/yargs": "^15.0.5",
59+
"@types/yargs": "^17.0.8",
6060
"clang-format": "^1.2.2",
6161
"gts": "^1.1.0",
6262
"rimraf": "^3.0.2",

0 commit comments

Comments
 (0)