@google-cloud/storage
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "@google-cloud/storage", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"license": "Apache-2.0", | ||
@@ -64,3 +64,3 @@ "author": "Google Inc.", | ||
"extend": "^3.0.0", | ||
"gcs-resumable-upload": "^0.8.0", | ||
"gcs-resumable-upload": "^0.8.2", | ||
"hash-stream-validation": "^0.2.1", | ||
@@ -77,3 +77,3 @@ "is": "^3.0.1", | ||
"devDependencies": { | ||
"@google-cloud/nodejs-repo-tools": "^2.0.0-beta.12", | ||
"@google-cloud/nodejs-repo-tools": "^2.0.3", | ||
"codecov": "^2.3.0", | ||
@@ -101,5 +101,5 @@ "eslint": "^4.7.1", | ||
"scripts": { | ||
"docs": "node_modules/.bin/jsdoc -c .jsdoc.js", | ||
"docs": "repo-tools exec -- jsdoc -c .jsdoc.js", | ||
"lint": "repo-tools lint --cmd eslint -- src/ samples/ system-test/ test/", | ||
"prettier": "prettier --write src/**/*.js samples/*.js samples/**/*.js system-test/**/*.js test/**/*.js", | ||
"prettier": "repo-tools exec -- prettier --write src/**/*.js samples/*.js samples/**/*.js system-test/**/*.js test/**/*.js", | ||
"cover": "nyc --reporter=lcov mocha --require intelli-espower-loader test/*.js --no-timeouts && nyc report", | ||
@@ -106,0 +106,0 @@ "test-no-cover": "repo-tools test run --cmd mocha -- test/*.js --no-timeouts", |
@@ -100,2 +100,3 @@ <img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/> | ||
| Files | [documentation](https://cloud.google.com/storage/docs) | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/files.js) | | ||
| Requester Pays | [documentation](https://cloud.google.com/storage/docs) | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/requesterPays.js) | | ||
@@ -102,0 +103,0 @@ ## Versioning |
@@ -334,3 +334,3 @@ /*! | ||
/** | ||
* Delete access controls on a {module:storage/bucket} or {module:storage/file}. | ||
* Delete access controls on a {@link Bucket} or {@link File}. | ||
* | ||
@@ -536,3 +536,3 @@ * @see [BucketAccessControls: delete API Documentation]{@link https://cloud.google.com/storage/docs/json_api/v1/bucketAccessControls/delete} | ||
/** | ||
* Update access controls on a {module:storage/bucket} or {module:storage/file}. | ||
* Update access controls on a {@link Bucket} or {@link File}. | ||
* | ||
@@ -545,3 +545,3 @@ * @see [BucketAccessControls: update API Documentation]{@link https://cloud.google.com/storage/docs/json_api/v1/bucketAccessControls/update} | ||
* @param {string} options.role Permissions allowed for the defined entity. | ||
* See {module:storage#acl}. | ||
* See {@link Storage.acl}. | ||
* @param {number} [options.generation] **File Objects Only** Select a specific | ||
@@ -654,3 +654,3 @@ * revision of this file (as opposed to the latest version, the default). | ||
/** | ||
* Attach functionality to a {module:storage/acl} instance. This will add an | ||
* Attach functionality to a {@link Storage.acl} instance. This will add an | ||
* object for each role group (owners, readers, and writers), with each object | ||
@@ -657,0 +657,0 @@ * containing methods to add or delete a type of entity. |
@@ -226,11 +226,11 @@ /** | ||
* @example <caption>include:samples/iam.js</caption> | ||
* region_tag:view_bucket_iam_members | ||
* region_tag:storage_view_bucket_iam_members | ||
* Example of retrieving a bucket's IAM policy: | ||
* | ||
* @example <caption>include:samples/iam.js</caption> | ||
* region_tag:add_bucket_iam_member | ||
* region_tag:storage_add_bucket_iam_member | ||
* Example of adding to a bucket's IAM policy: | ||
* | ||
* @example <caption>include:samples/iam.js</caption> | ||
* region_tag:remove_bucket_iam_member | ||
* region_tag:storage_remove_bucket_iam_member | ||
* Example of removing from a bucket's IAM policy: | ||
@@ -758,2 +758,6 @@ */ | ||
* }); | ||
* | ||
* @example <caption>include:samples/requesterPays.js</caption> | ||
* region_tag:storage_disable_requester_pays | ||
* Example of disabling requester pays: | ||
*/ | ||
@@ -811,2 +815,6 @@ Bucket.prototype.disableRequesterPays = function(callback) { | ||
* }); | ||
* | ||
* @example <caption>include:samples/requesterPays.js</caption> | ||
* region_tag:storage_enable_requester_pays | ||
* Example of enabling requester pays: | ||
*/ | ||
@@ -1271,2 +1279,6 @@ Bucket.prototype.enableRequesterPays = function(callback) { | ||
* }); | ||
* | ||
* @example <caption>include:samples/requesterPays.js</caption> | ||
* region_tag:storage_get_requester_pays_status | ||
* Example of retrieving the requester pays status of a bucket: | ||
*/ | ||
@@ -1273,0 +1285,0 @@ Bucket.prototype.getMetadata = function(options, callback) { |
@@ -78,3 +78,3 @@ /*! | ||
* @example <caption>include:samples/iam.js</caption> | ||
* region_tag:view_bucket_iam_members | ||
* region_tag:storage_view_bucket_iam_members | ||
* Example of retrieving a bucket's IAM policy: | ||
@@ -140,7 +140,7 @@ */ | ||
* @example <caption>include:samples/iam.js</caption> | ||
* region_tag:add_bucket_iam_member | ||
* region_tag:storage_add_bucket_iam_member | ||
* Example of adding to a bucket's IAM policy: | ||
* | ||
* @example <caption>include:samples/iam.js</caption> | ||
* region_tag:remove_bucket_iam_member | ||
* region_tag:storage_remove_bucket_iam_member | ||
* Example of removing from a bucket's IAM policy: | ||
@@ -147,0 +147,0 @@ */ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
202406
5658
132
0
Updatedgcs-resumable-upload@^0.8.2