Skip to content

Commit

Permalink
fix(grpc): loosen version range on @grpc/grpc-js (#153)
Browse files Browse the repository at this point in the history
The strict `~` version range on `@grpc/grpc-js` makes `grpc-gcp` difficult to use in conjunction with `gax`, because libraries must be upgraded in step with each other.

Let's leave the dependency strict in gax, but loose in `grpc-gcp`.

_Note: also upgraded mocha to address security warning._
  • Loading branch information
bcoe authored Sep 14, 2022
1 parent 5a0ebcd commit ad35ce7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"node": ">=12"
},
"dependencies": {
"@grpc/grpc-js": "~1.7.0"
"@grpc/grpc-js": "^1.7.0"
},
"devDependencies": {
"@grpc/proto-loader": "^0.7.0",
Expand All @@ -44,7 +44,7 @@
"grpc": "^1.24.10",
"grpc-tools": "^1.11.1",
"gts": "^3.1.0",
"mocha": "^8.4.0",
"mocha": "^9.2.2",
"typescript": "^4.3.2"
},
"files": [
Expand Down

0 comments on commit ad35ce7

Please sign in to comment.