Merge pull request #2010 from murgatroid99/proto-loader_revert_yargs

Decrease dependency to yargs 16 for compatibility with Node <12
This commit is contained in:
Michael Lumish 2022-01-05 13:11:22 -08:00 committed by GitHub
commit 6847664da2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -768,7 +768,7 @@ async function writeAllFiles(protoFiles: string[], options: GeneratorOptions) {
}
async function runScript() {
const argv = await yargs
const argv = yargs
.parserConfiguration({
'parse-positional-numbers': false
})

View File

@ -1,6 +1,6 @@
{
"name": "@grpc/proto-loader",
"version": "0.6.8",
"version": "0.6.9",
"author": "Google Inc.",
"contributors": [
{
@ -49,14 +49,14 @@
"lodash.camelcase": "^4.3.0",
"long": "^4.0.0",
"protobufjs": "^6.10.0",
"yargs": "^17.3.1"
"yargs": "^16.2.0"
},
"devDependencies": {
"@types/lodash.camelcase": "^4.3.4",
"@types/mkdirp": "^1.0.1",
"@types/mocha": "^5.2.7",
"@types/node": "^10.17.26",
"@types/yargs": "^17.0.8",
"@types/yargs": "^16.0.4",
"clang-format": "^1.2.2",
"gts": "^1.1.0",
"rimraf": "^3.0.2",