Skip to content

Commit

Permalink
chore(deps-dev): upgrade ts-proto to 2.5.1 (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
aikoven authored Jan 6, 2025
1 parent 131c127 commit 6d2b20f
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/nice-grpc-client-middleware-retry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"grpc-tools": "^1.12.4",
"jest-mock-random": "^1.1.1",
"nice-grpc": "^2.1.10",
"ts-proto": "^1.112.0"
"ts-proto": "^2.5.1"
},
"dependencies": {
"abort-controller-x": "^0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/nice-grpc-error-details/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@tsconfig/recommended": "^1.0.1",
"grpc-tools": "^1.12.4",
"nice-grpc": "^2.1.10",
"ts-proto": "^1.112.0"
"ts-proto": "^2.5.1"
},
"dependencies": {
"long": "^5.2.3",
Expand Down
8 changes: 5 additions & 3 deletions packages/nice-grpc-error-details/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,11 @@ describe('server and client', () => {
});
const anyPartial = Any.fromPartial({
typeUrl: `types.googleapis.com/${CustomErrorDetail.$type}`,
value: CustomErrorDetail.encode(
CustomErrorDetail.fromPartial({test: 'custom-test'}),
).finish(),
value: Buffer.from(
CustomErrorDetail.encode(
CustomErrorDetail.fromPartial({test: 'custom-test'}),
).finish(),
),
});

it('should be instance of preconditionFailure when server throws preconditionFailure error', async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/nice-grpc-opentelemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"grpc-tools": "^1.12.4",
"nice-grpc": "^2.1.10",
"protobufjs": "^7.1.2",
"ts-proto": "^1.112.0"
"ts-proto": "^2.5.1"
},
"dependencies": {
"@opentelemetry/api": "^1.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/nice-grpc-prometheus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"grpc-tools": "^1.12.4",
"nice-grpc": "^2.1.10",
"protobufjs": "^7.1.2",
"ts-proto": "^1.112.0"
"ts-proto": "^2.5.1"
},
"dependencies": {
"abort-controller-x": "^0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/nice-grpc-server-health/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"jest-os-detection": "^1.3.1",
"nice-grpc-server-middleware-terminator": "^2.0.12",
"request": "^2.88.2",
"ts-proto": "^1.112.0"
"ts-proto": "^2.5.1"
},
"dependencies": {
"abort-controller-x": "^0.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"defer-promise": "^2.0.1",
"grpc-tools": "^1.12.4",
"nice-grpc": "^2.1.10",
"ts-proto": "^1.112.0"
"ts-proto": "^2.5.1"
},
"dependencies": {
"nice-grpc-common": "^2.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/nice-grpc-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"tcp-port-used": "^1.0.2",
"testcontainers": "^10.2.1",
"ts-node": "^10.9.2",
"ts-proto": "^1.112.0",
"ts-proto": "^2.5.1",
"ts-protoc-gen": "^0.15.0",
"unzipper": "^0.12.1",
"ws": "^8.4.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/nice-grpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"google-protobuf": "^3.14.0",
"grpc-tools": "^1.12.4",
"grpc_tools_node_protoc_ts": "^5.0.1",
"ts-proto": "^1.112.0"
"ts-proto": "^2.5.1"
},
"dependencies": {
"@grpc/grpc-js": "^1.10.8",
Expand Down
30 changes: 17 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,11 @@
axios "^1.7.4"
uuid "9.0.1"

"@bufbuild/protobuf@^2.0.0":
version "2.2.2"
resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-2.2.2.tgz#1a6d89603fb215dc4d4178052d05b30b83c75402"
integrity sha512-UNtPCbrwrenpmrXuRwn9jYpPoweNXj8X5sMvYgsqYyaH8jQ6LfUJSk3dJLnBK+6sfYPrF4iAIo5sd5HQ+tg75A==

"@colors/[email protected]":
version "1.6.0"
resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.6.0.tgz#ec6cd237440700bc23ca23087f513c75508958b0"
Expand Down Expand Up @@ -8767,7 +8772,7 @@ properties-reader@^2.3.0:
dependencies:
mkdirp "^1.0.4"

protobufjs@^7.1.2, protobufjs@^7.2.4, protobufjs@^7.2.5, protobufjs@^7.3.0:
protobufjs@^7.1.2, protobufjs@^7.2.5, protobufjs@^7.3.0:
version "7.4.0"
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.4.0.tgz#7efe324ce9b3b61c82aae5de810d287bc08a248a"
integrity sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==
Expand Down Expand Up @@ -10116,23 +10121,22 @@ ts-poet@^6.7.0:
dependencies:
dprint-node "^1.0.8"

ts-proto-descriptors@1.16.0:
version "1.16.0"
resolved "https://registry.yarnpkg.com/ts-proto-descriptors/-/ts-proto-descriptors-1.16.0.tgz#e9f15d5d23774088f8573fa5a2d75130c64a565a"
integrity sha512-3yKuzMLpltdpcyQji1PJZRfoo4OJjNieKTYkQY8pF7xGKsYz/RHe3aEe4KiRxcinoBmnEhmuI+yJTxLb922ULA==
ts-proto-descriptors@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ts-proto-descriptors/-/ts-proto-descriptors-2.0.0.tgz#3a0e301a91cc6e932ac8dd13f7e07caa8a032c43"
integrity sha512-wHcTH3xIv11jxgkX5OyCSFfw27agpInAd6yh89hKG6zqIXnjW9SYqSER2CVQxdPj4czeOhGagNvZBEbJPy7qkw==
dependencies:
long "^5.2.3"
protobufjs "^7.2.4"
"@bufbuild/protobuf" "^2.0.0"

ts-proto@^1.112.0:
version "1.181.0"
resolved "https://registry.yarnpkg.com/ts-proto/-/ts-proto-1.181.0.tgz#9f87240c3cd9a6ac512fbbdab09ce51664f9c541"
integrity sha512-5+ZnxOgPsSn/lU93x8ApEFQPHE9G8kZubCSF1/EUjyeKImbGRp27iPXHilelQLOdClYHLUgr3hJwqtVqfsjNYQ==
ts-proto@^2.5.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/ts-proto/-/ts-proto-2.5.1.tgz#84c358bcc977a4420043bc5d5763d5a066186ae6"
integrity sha512-S80UVpv8h/855c+ODzx1GbolWMAvgQ52aKH4gLGOkeV5DoyvKjaTPUklZ20R9gqt+LhXXTcpCvsSNu04uZHbbQ==
dependencies:
"@bufbuild/protobuf" "^2.0.0"
case-anything "^2.1.13"
protobufjs "^7.2.4"
ts-poet "^6.7.0"
ts-proto-descriptors "1.16.0"
ts-proto-descriptors "2.0.0"

ts-protoc-gen@^0.15.0:
version "0.15.0"
Expand Down

0 comments on commit 6d2b20f

Please sign in to comment.