Skip to content

Commit

Permalink
Update grpc-web and protobuf dependencies (#3185)
Browse files Browse the repository at this point in the history
* Update grpc-web and protobuf dependencies

* Update grpc-web and protobuf dependencies

* update version

* fixed failing "//examples:examples_protocol_buffers" test target
  • Loading branch information
ronilichtman authored Jan 3, 2022
1 parent d9f3500 commit b2c2dc4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/protocol_buffers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/node": "^15.12.4",
"babel-jest": "^27.0.5",
"google-protobuf": "3.17.3",
"grpc-web": "1.2.1",
"grpc-web": "1.3.0",
"jest": "^27.0.5",
"jest-cli": "^27.0.5",
"rollup": "2.52.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/labs/grpc_web/ts_proto_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ ts_proto_library_aspect = aspect(
allow_files = True,
executable = True,
cfg = "host",
default = Label("@com_github_grpc_grpc_web//javascript/net/grpc/web:protoc-gen-grpc-web"),
default = Label("@com_github_grpc_grpc_web//javascript/net/grpc/web/generator:protoc-gen-grpc-web"),
),
"_well_known_protos": attr.label(
default = "@com_google_protobuf//:well_known_protos",
Expand Down Expand Up @@ -223,7 +223,7 @@ ts_proto_library = rule(
"_protoc_gen_grpc_web": attr.label(
allow_files = True,
cfg = "host",
default = Label("@com_github_grpc_grpc_web//javascript/net/grpc/web:protoc-gen-grpc-web"),
default = Label("@com_github_grpc_grpc_web//javascript/net/grpc/web/generator:protoc-gen-grpc-web"),
executable = True,
),
"_well_known_protos": attr.label(
Expand Down
6 changes: 3 additions & 3 deletions packages/labs/package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ def npm_bazel_labs_dependencies():
_maybe(
http_archive,
name = "com_github_grpc_grpc_web",
sha256 = "8d9b1e9b839a5254aa79cb4068b05fdb6e1de5637c1b8551f95144159a4801f2",
strip_prefix = "grpc-web-1.2.0",
sha256 = "6ba86d2833ad0ed5e98308790bea4ad81214e1f4fc8838fe34c2e5ee053b73e6",
strip_prefix = "grpc-web-1.3.0",
urls = [
"https://github.com/grpc/grpc-web/archive/1.2.0.tar.gz",
"https://github.com/grpc/grpc-web/archive/1.3.0.tar.gz",
],
)

Expand Down
2 changes: 1 addition & 1 deletion packages/worker/src/worker_protocol.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Generated by the protoc-gen-ts. DO NOT EDIT!
* compiler version: 3.9.1
* compiler version: 3.19.1
* source: third_party/github.com/bazelbuild/bazel/src/main/protobuf/worker_protocol.proto
* git: https://github.com/thesayyn/protoc-gen-ts
* buymeacoffee: https://www.buymeacoffee.com/thesayyn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def rules_typescript_dev_dependencies():
_maybe(
http_archive,
name = "com_google_protobuf",
sha256 = "98e615d592d237f94db8bf033fba78cd404d979b0b70351a9e5aaff725398357",
strip_prefix = "protobuf-3.9.1",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.9.1.tar.gz"],
sha256 = "25f1292d4ea6666f460a2a30038eef121e6c3937ae0f61d610611dfb14b0bd32",
strip_prefix = "protobuf-3.19.1",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.19.1.zip"],
)

def _maybe(repo_rule, name, **kwargs):
Expand Down

0 comments on commit b2c2dc4

Please sign in to comment.