Skip to content

Commit 6847664

Browse files
authored
Merge pull request #2010 from murgatroid99/proto-loader_revert_yargs
Decrease dependency to yargs 16 for compatibility with Node <12
2 parents f7c2769 + ee9226e commit 6847664

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ async function writeAllFiles(protoFiles: string[], options: GeneratorOptions) {
768768
}
769769

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

packages/proto-loader/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grpc/proto-loader",
3-
"version": "0.6.8",
3+
"version": "0.6.9",
44
"author": "Google Inc.",
55
"contributors": [
66
{
@@ -49,14 +49,14 @@
4949
"lodash.camelcase": "^4.3.0",
5050
"long": "^4.0.0",
5151
"protobufjs": "^6.10.0",
52-
"yargs": "^17.3.1"
52+
"yargs": "^16.2.0"
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": "^17.0.8",
59+
"@types/yargs": "^16.0.4",
6060
"clang-format": "^1.2.2",
6161
"gts": "^1.1.0",
6262
"rimraf": "^3.0.2",

0 commit comments

Comments
 (0)