Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/storage

Package Overview
Dependencies
Maintainers
1
Versions
185
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 3.0.4 to 3.1.0

5

build/src/file.d.ts

@@ -101,2 +101,3 @@ /*!

export interface CreateResumableUploadOptions {
configPath?: string;
metadata?: Metadata;

@@ -388,2 +389,6 @@ origin?: string;

* @typedef {object} CreateWriteStreamOptions Configuration options for File#createWriteStream().
* @property {string} [configPath] **This only applies to resumable
* uploads.** Where the `gcs-resumable-upload` configuration file should
* be stored on your system. This maps to the [configstore option by the same
* name](https://github.com/yeoman/configstore/tree/0df1ec950d952b1f0dfb39ce22af8e505dffc71a#configpath).
* @property {string} [contentType] Alias for

@@ -390,0 +395,0 @@ * `options.metadata.contentType`. If set to `auto`, the file name is used

4

build/src/storage.js

@@ -92,5 +92,7 @@ "use strict";

options.apiEndpoint = options.apiEndpoint || 'www.googleapis.com';
const url = process.env.STORAGE_EMULATOR_HOST ||
`https://${options.apiEndpoint}/storage/v1`;
const config = {
apiEndpoint: options.apiEndpoint,
baseUrl: `https://${options.apiEndpoint}/storage/v1`,
baseUrl: url,
projectIdRequired: false,

@@ -97,0 +99,0 @@ scopes: [

@@ -7,2 +7,19 @@ # Changelog

## [3.1.0](https://www.github.com/googleapis/nodejs-storage/compare/v3.0.4...v3.1.0) (2019-08-09)
### Bug Fixes
* **deps:** update dependency @google-cloud/paginator to v2 ([#781](https://www.github.com/googleapis/nodejs-storage/issues/781)) ([23244e9](https://www.github.com/googleapis/nodejs-storage/commit/23244e9))
* **deps:** update dependency @google-cloud/pubsub to ^0.30.0 ([#778](https://www.github.com/googleapis/nodejs-storage/issues/778)) ([7256650](https://www.github.com/googleapis/nodejs-storage/commit/7256650))
* allow calls with no request, add JSON proto ([30fff15](https://www.github.com/googleapis/nodejs-storage/commit/30fff15))
* **deps:** update dependency date-and-time to ^0.8.0 ([#779](https://www.github.com/googleapis/nodejs-storage/issues/779)) ([ab2734d](https://www.github.com/googleapis/nodejs-storage/commit/ab2734d))
* **deps:** upgrade @google-cloud/common version to show original… ([#795](https://www.github.com/googleapis/nodejs-storage/issues/795)) ([ea63cbe](https://www.github.com/googleapis/nodejs-storage/commit/ea63cbe))
* **deps:** use the latest extend ([#800](https://www.github.com/googleapis/nodejs-storage/issues/800)) ([a7f0172](https://www.github.com/googleapis/nodejs-storage/commit/a7f0172))
### Features
* **file:** allow setting configPath of resumable upload ([#642](https://www.github.com/googleapis/nodejs-storage/issues/642)) ([a8ceb78](https://www.github.com/googleapis/nodejs-storage/commit/a8ceb78))
### [3.0.4](https://www.github.com/googleapis/nodejs-storage/compare/v3.0.3...v3.0.4) (2019-07-25)

@@ -9,0 +26,0 @@

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

@@ -50,7 +50,8 @@ "author": "Google Inc.",

"docs-test": "linkinator docs",
"predocs-test": "npm run docs"
"predocs-test": "npm run docs",
"benchwrapper": "node bin/benchwrapper.js"
},
"dependencies": {
"@google-cloud/common": "^2.0.0",
"@google-cloud/paginator": "^1.0.0",
"@google-cloud/common": "^2.1.0",
"@google-cloud/paginator": "^2.0.0",
"@google-cloud/promisify": "^1.0.0",

@@ -60,5 +61,5 @@ "arrify": "^2.0.0",

"concat-stream": "^2.0.0",
"date-and-time": "^0.7.0",
"date-and-time": "^0.8.0",
"duplexify": "^3.5.0",
"extend": "^3.0.0",
"extend": "^3.0.2",
"gaxios": "^2.0.1",

@@ -78,3 +79,4 @@ "gcs-resumable-upload": "^2.0.0",

"devDependencies": {
"@google-cloud/pubsub": "^0.29.0",
"@google-cloud/pubsub": "^0.30.0",
"@grpc/proto-loader": "^0.5.1",
"@types/compressible": "^2.0.0",

@@ -99,10 +101,11 @@ "@types/concat-stream": "^1.6.0",

"codecov": "^3.0.0",
"eslint": "^5.0.0",
"eslint-config-prettier": "^4.0.0",
"eslint": "^6.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-node": "^9.0.0",
"eslint-plugin-prettier": "^3.0.0",
"grpc": "^1.22.2",
"gts": "^1.0.0",
"intelli-espower-loader": "^1.0.1",
"jsdoc": "^3.6.2",
"jsdoc-baseline": "^0.1.0",
"jsdoc-fresh": "^1.0.1",
"linkinator": "^1.5.0",

@@ -121,4 +124,5 @@ "mocha": "^6.0.0",

"typescript": "~3.5.0",
"uuid": "^3.1.0"
"uuid": "^3.1.0",
"yargs": "^13.3.0"
}
}

@@ -96,2 +96,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

| Bucket Lock | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/bucketLock.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/bucketLock.js,samples/README.md) |
| Storage Get Bucket Metadata. | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/bucketMetadata.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/bucketMetadata.js,samples/README.md) |
| Buckets | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/buckets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/buckets.js,samples/README.md) |

@@ -98,0 +99,0 @@ | Encryption | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/encryption.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/encryption.js,samples/README.md) |

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