From c78c9cde49dccb2fcd4ce10e4e9f8299d65f6838 Mon Sep 17 00:00:00 2001 From: Stephen Date: Tue, 12 May 2020 09:00:02 -0700 Subject: [PATCH] fix(deps): update gcs-resumable-upload, remove gitnpm usage (#1186) * fix(deps): update dependency gcs-resumable-upload to v3 * fix: replace gitnpm.com links with npmjs.com --- package.json | 2 +- src/bucket.ts | 2 +- src/file.ts | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 4c08de00b..cf231711b 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "duplexify": "^3.5.0", "extend": "^3.0.2", "gaxios": "^3.0.0", - "gcs-resumable-upload": "^2.2.4", + "gcs-resumable-upload": "^3.0.0", "hash-stream-validation": "^0.2.2", "mime": "^2.2.0", "mime-types": "^2.0.8", diff --git a/src/bucket.ts b/src/bucket.ts index 822d0ae0c..a7c9eec38 100644 --- a/src/bucket.ts +++ b/src/bucket.ts @@ -3267,7 +3267,7 @@ class Bucket extends ServiceObject { * input file is larger than 5 MB.* * * For faster crc32c computation, you must manually install - * [`fast-crc32c`](http://www.gitnpm.com/fast-crc32c): + * [`fast-crc32c`](https://www.npmjs.com/package/fast-crc32c): * * $ npm install --save fast-crc32c * diff --git a/src/file.ts b/src/file.ts index b609e8b3d..0a70292de 100644 --- a/src/file.ts +++ b/src/file.ts @@ -1122,7 +1122,7 @@ class File extends ServiceObject { * recourse is to try downloading the file again. * * For faster crc32c computation, you must manually install - * [`fast-crc32c`](http://www.gitnpm.com/fast-crc32c): + * [`fast-crc32c`](https://www.npmjs.com/package/fast-crc32c): * * $ npm install --save fast-crc32c * @@ -1608,21 +1608,21 @@ class File extends ServiceObject { * by setting `options.resumable` to `false`. * * Resumable uploads require write access to the $HOME directory. Through - * [`config-store`](http://www.gitnpm.com/configstore), some metadata is - * stored. By default, if the directory is not writable, we will fall back to - * a simple upload. However, if you explicitly request a resumable upload, and - * we cannot write to the config directory, we will return a + * [`config-store`](https://www.npmjs.com/package/configstore), some metadata + * is stored. By default, if the directory is not writable, we will fall back + * to a simple upload. However, if you explicitly request a resumable upload, + * and we cannot write to the config directory, we will return a * `ResumableUploadError`. * *

* There is some overhead when using a resumable upload that can cause * noticeable performance degradation while uploading a series of small - * files. When uploading files less than 10MB, it is recommended that the - * resumable feature is disabled. + * files. When uploading files less than 10MB, it is recommended that the + * resumable feature is disabled. *

* * For faster crc32c computation, you must manually install - * [`fast-crc32c`](http://www.gitnpm.com/fast-crc32c): + * [`fast-crc32c`](https://www.npmjs.com/package/fast-crc32c): * * $ npm install --save fast-crc32c *