diff --git a/package.json b/package.json index f3dba53dd..19407bc51 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@grpc/grpc-js": "~1.6.0", - "@grpc/proto-loader": "0.6.9", + "@grpc/proto-loader": "^0.6.12", "@types/long": "^4.0.0", "abort-controller": "^3.0.0", "duplexify": "^4.0.0", @@ -60,6 +60,7 @@ "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "^5.0.0", "linkinator": "^2.0.0", + "long": "^4.0.0", "mkdirp": "^1.0.0", "mocha": "^9.0.0", "ncp": "^2.0.0", @@ -73,7 +74,7 @@ "ts-loader": "^9.0.0", "typescript": "^3.8.3", "walkdir": "^0.4.0", - "webpack": "^4.34.0", + "webpack": "^5.0.0", "webpack-cli": "^4.0.0" }, "scripts": { diff --git a/protos/iam_service.d.ts b/protos/iam_service.d.ts index 513c7f8e0..37203e496 100644 --- a/protos/iam_service.d.ts +++ b/protos/iam_service.d.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import * as Long from 'long'; +import Long = require('long'); import * as $protobuf from "protobufjs"; /** Namespace google. */ export namespace google { diff --git a/protos/operations.d.ts b/protos/operations.d.ts index 34ad70a14..b76e34b6d 100644 --- a/protos/operations.d.ts +++ b/protos/operations.d.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import * as Long from 'long'; +import Long = require('long'); import * as $protobuf from "protobufjs"; /** Namespace google. */ export namespace google { diff --git a/test/fixtures/google-gax-packaging-test-app/protos/protos.d.ts b/test/fixtures/google-gax-packaging-test-app/protos/protos.d.ts index bd0bdd676..4197aca53 100644 --- a/test/fixtures/google-gax-packaging-test-app/protos/protos.d.ts +++ b/test/fixtures/google-gax-packaging-test-app/protos/protos.d.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as Long from "long"; +import Long = require('long'); import {protobuf as $protobuf} from "../../../../src"; /** Namespace google. */ export namespace google {