Socket
Socket
Sign inDemoInstall

@grpc/grpc-js

Package Overview
Dependencies
Maintainers
3
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grpc/grpc-js - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6

9

build/src/load-balancer-pick-first.js

@@ -138,2 +138,3 @@ "use strict";

if (newState !== channel_1.ConnectivityState.READY) {
this.currentPick = null;
subchannel.unref();

@@ -160,4 +161,7 @@ subchannel.removeConnectivityStateListener(this.pickedSubchannelStateListener);

else {
this.connectToAddressList();
this.channelControlHelper.requestReresolution();
/* We don't need to backoff here because this only happens if a
* subchannel successfully connects then disconnects, so it will not
* create a loop of attempting to connect to an unreachable backend
*/
this.updateState(channel_1.ConnectivityState.IDLE, new picker_1.QueuePicker(this));
}

@@ -279,2 +283,3 @@ }

if (this.currentState === channel_1.ConnectivityState.IDLE) {
this.channelControlHelper.requestReresolution();
if (this.latestAddressList.length > 0) {

@@ -281,0 +286,0 @@ this.connectToAddressList();

{
"name": "@grpc/grpc-js",
"version": "0.6.5",
"version": "0.6.6",
"description": "gRPC Library for Node - pure JS implementation",

@@ -5,0 +5,0 @@ "homepage": "https://grpc.io/",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc