Skip to content

Commit

Permalink
chore(deps): gcs-resumable-upload migration (#1736)
Browse files Browse the repository at this point in the history
* begin gcs-resumable-upload migration

* moved test

* moved system test

* unit tests passing

* fixed system tests

* 馃 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* removed log

* rename

* added index.ts

* updated headers

* temp file

* 2022 headers

* fixed buffer write

* 馃 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* changed file name

* pulled in new resumable code

* 馃 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* closed stream

* feat: Import fixes from `googleapis/gcs-resumable-upload/pull/491`

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Bankhead <danielbankhead@google.com>
  • Loading branch information
3 people committed Jan 6, 2022
1 parent 00392a4 commit 437d400
Show file tree
Hide file tree
Showing 7 changed files with 3,882 additions and 7 deletions.
14 changes: 10 additions & 4 deletions package.json
Expand Up @@ -53,28 +53,32 @@
"@google-cloud/common": "^3.8.1",
"@google-cloud/paginator": "^3.0.0",
"@google-cloud/promisify": "^2.0.0",
"abort-controller": "^3.0.0",
"arrify": "^2.0.0",
"async-retry": "^1.3.1",
"async-retry": "^1.3.3",
"compressible": "^2.0.12",
"configstore": "^5.0.0",
"date-and-time": "^2.0.0",
"duplexify": "^4.0.0",
"extend": "^3.0.2",
"gcs-resumable-upload": "^3.6.0",
"gaxios": "^4.0.0",
"get-stream": "^6.0.0",
"google-auth-library": "^7.0.0",
"hash-stream-validation": "^0.2.2",
"mime": "^3.0.0",
"mime-types": "^2.0.8",
"p-limit": "^3.0.1",
"pumpify": "^2.0.0",
"snakeize": "^0.1.0",
"stream-events": "^1.0.1",
"stream-events": "^1.0.4",
"xdg-basedir": "^4.0.0"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.7",
"@google-cloud/pubsub": "^2.0.0",
"@grpc/grpc-js": "^1.0.3",
"@grpc/proto-loader": "^0.6.0",
"@types/async-retry": "^1.4.2",
"@types/async-retry": "^1.4.3",
"@types/compressible": "^2.0.0",
"@types/concat-stream": "^1.6.0",
"@types/configstore": "^5.0.0",
Expand All @@ -83,6 +87,7 @@
"@types/mime": "^2.0.0",
"@types/mime-types": "^2.1.0",
"@types/mocha": "^8.0.0",
"@types/mockery": "^1.4.29",
"@types/node": "^16.0.0",
"@types/node-fetch": "^2.1.3",
"@types/proxyquire": "^1.3.28",
Expand All @@ -99,6 +104,7 @@
"jsdoc-region-tag": "^1.0.2",
"linkinator": "^2.0.0",
"mocha": "^8.0.0",
"mockery": "^2.1.0",
"nock": "~13.2.0",
"node-fetch": "^2.2.0",
"proxyquire": "^2.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/file.ts
Expand Up @@ -35,7 +35,7 @@ import * as mime from 'mime';
import * as os from 'os';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const pumpify = require('pumpify');
import * as resumableUpload from 'gcs-resumable-upload';
import * as resumableUpload from './gcs-resumable-upload';
import {Duplex, Writable, Readable, PassThrough} from 'stream';
import * as streamEvents from 'stream-events';
import * as xdgBasedir from 'xdg-basedir';
Expand Down

0 comments on commit 437d400

Please sign in to comment.