From ad35ce7f582b206884fc556f533edc02269ee064 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Wed, 14 Sep 2022 14:48:20 -0400 Subject: [PATCH] fix(grpc): loosen version range on @grpc/grpc-js (#153) 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._ --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 797c958..a5e3154 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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": [