Socket
Socket
Sign inDemoInstall

@google-cloud/storage

Package Overview
Dependencies
Maintainers
1
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/storage - npm Package Compare versions

Comparing version 5.18.0 to 5.18.1

16

build/src/gcs-resumable-upload/index.js

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

});
// This should be 'once' as `startUploading` can be called again for
// multi chunk uploads and each request would have its own response.
this.once('response', resp => {
responseReceived = true;
this.responseHandler(resp);
});
let headers = {};

@@ -473,3 +467,7 @@ // If using multiple chunk upload, set appropriate header

try {
await this.makeRequestStream(reqOpts);
const resp = await this.makeRequestStream(reqOpts);
if (resp) {
responseReceived = true;
this.responseHandler(resp);
}
}

@@ -647,5 +645,5 @@ catch (err) {

const res = await this.authClient.request(combinedReqOpts);
this.onResponse(res);
const successfulRequest = this.onResponse(res);
this.removeListener('error', errorCallback);
return res;
return successfulRequest ? res : null;
}

@@ -652,0 +650,0 @@ restart() {

{
"name": "@google-cloud/storage",
"description": "Cloud Storage Client Library for Node.js",
"version": "5.18.0",
"version": "5.18.1",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "author": "Google Inc.",

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