Skip to content

Commit

Permalink
fix: revert ts-proto, because @bufbuild/protobuf encode wrong message…
Browse files Browse the repository at this point in the history
… format
  • Loading branch information
htdangkhoa committed Oct 9, 2024
1 parent 923e8ca commit a508cde
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 19 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"@bufbuild/protobuf": "^2.2.0",
"@grpc/grpc-js": "^1.12.1",
"deepmerge": "^4.3.1",
"log4js": "^6.9.1"
"log4js": "^6.9.1",
"protobufjs": "^7.4.0"
},
"devDependencies": {
"@types/node": "^22.7.5",
Expand All @@ -67,7 +68,7 @@
"fast-glob": "^3.3.2",
"googleapis": "^144.0.0",
"ts-node": "^10.9.2",
"ts-proto": "^2.2.3",
"ts-proto": "1.181.2",
"typescript": "5.6.3",
"vitest": "^2.1.2"
},
Expand Down
48 changes: 31 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@bufbuild/protobuf@^2.0.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-2.1.0.tgz#6925f30c25789b4f74d7c505e731c96f79fb48a7"
integrity sha512-+2Mx67Y3skJ4NCD/qNSdBJNWtu6x6Qr53jeNg+QcwiL6mt0wK+3jwHH2x1p7xaYH6Ve2JKOVn0OxU35WsmqI9A==

"@bufbuild/protobuf@^2.2.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-2.2.0.tgz#3c63dcbb6ef4f6a9f587e3d412c08f9a8f5bcd00"
Expand Down Expand Up @@ -1213,7 +1208,7 @@ log4js@^6.9.1:
rfdc "^1.3.0"
streamroller "^3.1.5"

long@^5.0.0:
long@^5.0.0, long@^5.2.3:
version "5.2.3"
resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1"
integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==
Expand Down Expand Up @@ -1374,6 +1369,24 @@ postcss@^8.4.43:
picocolors "^1.1.0"
source-map-js "^1.2.1"

protobufjs@^7.2.4, protobufjs@^7.4.0:
version "7.4.0"
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.4.0.tgz#7efe324ce9b3b61c82aae5de810d287bc08a248a"
integrity sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==
dependencies:
"@protobufjs/aspromise" "^1.1.2"
"@protobufjs/base64" "^1.1.2"
"@protobufjs/codegen" "^2.0.4"
"@protobufjs/eventemitter" "^1.1.0"
"@protobufjs/fetch" "^1.1.0"
"@protobufjs/float" "^1.0.2"
"@protobufjs/inquire" "^1.1.0"
"@protobufjs/path" "^1.1.2"
"@protobufjs/pool" "^1.1.0"
"@protobufjs/utf8" "^1.1.0"
"@types/node" ">=13.7.0"
long "^5.0.0"

protobufjs@^7.2.5:
version "7.3.2"
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.3.2.tgz#60f3b7624968868f6f739430cfbc8c9370e26df4"
Expand Down Expand Up @@ -1647,22 +1660,23 @@ ts-poet@^6.7.0:
dependencies:
dprint-node "^1.0.8"

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==
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==
dependencies:
"@bufbuild/protobuf" "^2.0.0"
long "^5.2.3"
protobufjs "^7.2.4"

ts-proto@^2.2.3:
version "2.2.3"
resolved "https://registry.yarnpkg.com/ts-proto/-/ts-proto-2.2.3.tgz#693714e83e17141af2dd749b07a929a432930010"
integrity sha512-sI9qyTcMg7syJjk0CvkRVxZyAuCbpweO2Kq5Dz/JXaRwpaB9ujMHdFF06raXj5nLxDknzV5cUIcdCuUThPXuYg==
ts-proto@1.181.2:
version "1.181.2"
resolved "https://registry.yarnpkg.com/ts-proto/-/ts-proto-1.181.2.tgz#62696b4d84666bd6e237afc7090ba19e865ebfd0"
integrity sha512-knJ8dtjn2Pd0c5ZGZG8z9DMiD4PUY8iGI9T9tb8DvGdWRMkLpf0WcPO7G+7cmbZyxvNTAG6ci3fybEaFgMZIvg==
dependencies:
"@bufbuild/protobuf" "^2.0.0"
case-anything "^2.1.13"
protobufjs "^7.2.4"
ts-poet "^6.7.0"
ts-proto-descriptors "2.0.0"
ts-proto-descriptors "1.16.0"

[email protected]:
version "5.6.3"
Expand Down

0 comments on commit a508cde

Please sign in to comment.