Skip to content

Commit c78c9cd

Browse files
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
1 parent 51460e7 commit c78c9cd

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"duplexify": "^3.5.0",
6161
"extend": "^3.0.2",
6262
"gaxios": "^3.0.0",
63-
"gcs-resumable-upload": "^2.2.4",
63+
"gcs-resumable-upload": "^3.0.0",
6464
"hash-stream-validation": "^0.2.2",
6565
"mime": "^2.2.0",
6666
"mime-types": "^2.0.8",

src/bucket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3267,7 +3267,7 @@ class Bucket extends ServiceObject {
32673267
* input file is larger than 5 MB.*
32683268
*
32693269
* For faster crc32c computation, you must manually install
3270-
* [`fast-crc32c`](http://www.gitnpm.com/fast-crc32c):
3270+
* [`fast-crc32c`](https://www.npmjs.com/package/fast-crc32c):
32713271
*
32723272
* $ npm install --save fast-crc32c
32733273
*

src/file.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ class File extends ServiceObject<File> {
11221122
* recourse is to try downloading the file again.
11231123
*
11241124
* For faster crc32c computation, you must manually install
1125-
* [`fast-crc32c`](http://www.gitnpm.com/fast-crc32c):
1125+
* [`fast-crc32c`](https://www.npmjs.com/package/fast-crc32c):
11261126
*
11271127
* $ npm install --save fast-crc32c
11281128
*
@@ -1608,21 +1608,21 @@ class File extends ServiceObject<File> {
16081608
* by setting `options.resumable` to `false`.
16091609
*
16101610
* Resumable uploads require write access to the $HOME directory. Through
1611-
* [`config-store`](http://www.gitnpm.com/configstore), some metadata is
1612-
* stored. By default, if the directory is not writable, we will fall back to
1613-
* a simple upload. However, if you explicitly request a resumable upload, and
1614-
* we cannot write to the config directory, we will return a
1611+
* [`config-store`](https://www.npmjs.com/package/configstore), some metadata
1612+
* is stored. By default, if the directory is not writable, we will fall back
1613+
* to a simple upload. However, if you explicitly request a resumable upload,
1614+
* and we cannot write to the config directory, we will return a
16151615
* `ResumableUploadError`.
16161616
*
16171617
* <p class="notice">
16181618
* There is some overhead when using a resumable upload that can cause
16191619
* noticeable performance degradation while uploading a series of small
1620-
* files. When uploading files less than 10MB, it is recommended that the
1621-
* resumable feature is disabled.
1620+
* files. When uploading files less than 10MB, it is recommended that the
1621+
* resumable feature is disabled.
16221622
* </p>
16231623
*
16241624
* For faster crc32c computation, you must manually install
1625-
* [`fast-crc32c`](http://www.gitnpm.com/fast-crc32c):
1625+
* [`fast-crc32c`](https://www.npmjs.com/package/fast-crc32c):
16261626
*
16271627
* $ npm install --save fast-crc32c
16281628
*

0 commit comments

Comments
 (0)