mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
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:
commit
6847664da2
@ -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
|
||||
})
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user