Socket
Socket
Sign inDemoInstall

@google-cloud/storage

Package Overview
Dependencies
Maintainers
1
Versions
182
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 6.9.4 to 6.9.5

4

build/src/acl.js

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

accessMethods.forEach(accessMethod => {
let method = accessMethod + entity[0].toUpperCase() + entity.substr(1);
let method = accessMethod + entity[0].toUpperCase() + entity.substring(1);
if (isPrefix) {

@@ -503,3 +503,3 @@ method = method.replace('-', '');

* the only argument.
* @param {string} [options.entity] Whose permissions will be fetched.
* @param {string} options.entity Whose permissions will be fetched.
* @param {number} [options.generation] **File Objects Only** Select a specific

@@ -506,0 +506,0 @@ * revision of this file (as opposed to the latest version, the default).

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

const autoAuthFailed = err &&
typeof err.message === 'string' &&
err.message.indexOf('Could not load the default credentials') > -1;

@@ -362,0 +363,0 @@ if (autoAuthFailed) {

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

}
return Math.round(expiresInMSeconds / 1000); // The API expects seconds.
return Math.floor(expiresInMSeconds / 1000); // The API expects seconds.
}

@@ -270,0 +270,0 @@ parseAccessibleAt(accessibleAt) {

@@ -105,2 +105,5 @@ "use strict";

if (typeof err.code === 'string') {
if (['408', '429', '500', '502', '503', '504'].indexOf(err.code) !== -1) {
return true;
}
const reason = err.code.toLowerCase();

@@ -107,0 +110,0 @@ if (isConnectionProblem(reason)) {

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

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

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

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