Socket
Socket
Sign inDemoInstall

google-gax

Package Overview
Dependencies
Maintainers
4
Versions
362
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-gax - npm Package Compare versions

Comparing version 4.3.4 to 4.3.5

12

build/src/streamingCalls/streaming.js

@@ -183,3 +183,3 @@ "use strict";

let enteredError = false;
const eventsToForward = ['metadata', 'response', 'status', 'data'];
const eventsToForward = ['metadata', 'response', 'status'];
eventsToForward.forEach(event => {

@@ -192,2 +192,6 @@ stream.on(event, this.emit.bind(this, event));

});
stream.on('data', (data) => {
this.retries = 0;
this.emit.bind(this, 'data')(data);
});
stream.on('end', () => {

@@ -331,2 +335,8 @@ if (!enteredError) {

else {
if (maxRetries === 0) {
const e = googleError_1.GoogleError.parseGRPCStatusDetails(error);
e.note = 'Max retries is set to zero.';
this.destroy(e);
return; // end chunk
}
return googleError_1.GoogleError.parseGRPCStatusDetails(error);

@@ -333,0 +343,0 @@ }

2

package.json
{
"name": "google-gax",
"version": "4.3.4",
"version": "4.3.5",
"description": "Google API Extensions",

@@ -5,0 +5,0 @@ "main": "build/src/index.js",

Sorry, the diff of this file is too big to display

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