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.5.3 to 6.5.4

8

build/src/storage.js

@@ -426,8 +426,4 @@ "use strict";

options = Object.assign({}, options, { apiEndpoint });
// Note: EMULATOR_HOST, if present and not overridden, has been applied to
// `options` at this point. Also, this uses string concatenation because the
// endpoint may contain a base path, and any trailing slash on that will
// have been removed, so using the two-arg URL constructor for relative path
// resolution won't work.
const baseUrl = new URL(options.apiEndpoint + '/storage/v1').href;
// Note: EMULATOR_HOST is an experimental configuration variable. Use apiEndpoint instead.
const baseUrl = EMULATOR_HOST || `${options.apiEndpoint}/storage/v1`;
const config = {

@@ -434,0 +430,0 @@ apiEndpoint: options.apiEndpoint,

{
"name": "@google-cloud/storage",
"description": "Cloud Storage Client Library for Node.js",
"version": "6.5.3",
"version": "6.5.4",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc