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 1.3.5 to 1.3.6

4

build/src/http_proxy.js

@@ -215,2 +215,6 @@ "use strict";

else {
trace('Successfully established a plaintext connection to ' +
options.path +
' through proxy ' +
proxyAddressString);
resolve({

@@ -217,0 +221,0 @@ socket,

@@ -221,2 +221,8 @@ "use strict";

var _a, _b, _c;
if (proxyConnectionResult.realTarget) {
trace(this.subchannelAddressString + ' creating HTTP/2 session through proxy to ' + proxyConnectionResult.realTarget);
}
else {
trace(this.subchannelAddressString + ' creating HTTP/2 session');
}
const targetAuthority = resolver_1.getDefaultAuthority((_a = proxyConnectionResult.realTarget) !== null && _a !== void 0 ? _a : this.channelTarget);

@@ -305,2 +311,3 @@ let connectionOptions = this.credentials._getConnectionOptions() || {};

if (this.session === session) {
trace(this.subchannelAddressString + ' connection closed');
this.transitionToState([channel_1.ConnectivityState.CONNECTING], channel_1.ConnectivityState.TRANSIENT_FAILURE);

@@ -307,0 +314,0 @@ /* Transitioning directly to IDLE here should be OK because we are not

2

package.json
{
"name": "@grpc/grpc-js",
"version": "1.3.5",
"version": "1.3.6",
"description": "gRPC Library for Node - pure JS implementation",

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

@@ -257,2 +257,8 @@ /*

} else {
trace(
'Successfully established a plaintext connection to ' +
options.path +
' through proxy ' +
proxyAddressString
);
resolve({

@@ -259,0 +265,0 @@ socket,

@@ -306,2 +306,7 @@ /*

private createSession(proxyConnectionResult: ProxyConnectionResult) {
if (proxyConnectionResult.realTarget) {
trace(this.subchannelAddressString + ' creating HTTP/2 session through proxy to ' + proxyConnectionResult.realTarget);
} else {
trace(this.subchannelAddressString + ' creating HTTP/2 session');
}
const targetAuthority = getDefaultAuthority(

@@ -407,2 +412,3 @@ proxyConnectionResult.realTarget ?? this.channelTarget

if (this.session === session) {
trace(this.subchannelAddressString + ' connection closed');
this.transitionToState(

@@ -409,0 +415,0 @@ [ConnectivityState.CONNECTING],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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