Skip to content

Commit

Permalink
Merge pull request #2006 from murgatroid99/proto-loader_yargs_update
Browse files Browse the repository at this point in the history
proto-loader: Update yargs to version 17
  • Loading branch information
murgatroid99 committed Jan 4, 2022
2 parents 90d855c + 9f5187f commit f7c2769
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/proto-loader/bin/proto-loader-gen-types.ts
Expand Up @@ -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
})
Expand Down
6 changes: 3 additions & 3 deletions packages/proto-loader/package.json
@@ -1,6 +1,6 @@
{
"name": "@grpc/proto-loader",
"version": "0.6.7",
"version": "0.6.8",
"author": "Google Inc.",
"contributors": [
{
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit f7c2769

Please sign in to comment.