nicolaspearson / grpc.ts.health.check Goto Github PK
View Code? Open in Web Editor NEWAn implementation of gRPC health checks, written in typescript.
License: MIT License
An implementation of gRPC health checks, written in typescript.
License: MIT License
Hello,
I integrated this health check into my GRPC application (thanks for providing this btw) and noticed that the lib requires google-protobuf
as a dependency (not only as a dev dependency).
In "proto/health_pb.js" google-protobuf
is required in the code:
var jspb = require('google-protobuf');
var goog = jspb;
var global = Function('return this')();
goog.exportSymbol('proto.grpc.health.v1.HealthCheckRequest', null, global);
goog.exportSymbol('proto.grpc.health.v1.HealthCheckResponse', null, global);
goog.exportSymbol('proto.grpc.health.v1.HealthCheckResponse.ServingStatus', null, global);
goog.exportSymbol('proto.grpc.health.v1.SetStatusRequest', null, global);
goog.exportSymbol('proto.grpc.health.v1.SetStatusResponse', null, global);
...
In my app I'm only using grpc
as a dependency (which is not dependent on google-protobuf
), as all protofiles are parsed and processed dynamically.
Suggested solution: change google-protobuf
into a regular dependency
Thanks & Regards
Hi,
any chance to migrate from using grpc to @grpc/grpc-js?
This library is now only receiving bug fixes and runtime compatibility updates. In April 2021 it will be deprecated and will no longer receive any updates. We recommend using @grpc/grpc-js instead.
Can you switch to or add support for grpc-js?
Would you accept merge request?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.