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

gcs-resumable-upload

Package Overview
Dependencies
Maintainers
6
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gcs-resumable-upload - npm Package Compare versions

Comparing version 4.0.2 to 5.0.0

2

build/src/cli.js

@@ -18,3 +18,3 @@ #!/usr/bin/env node

process.stdin
.pipe(_1.upload(opts))
.pipe((0, _1.upload)(opts))
.on('error', console.error)

@@ -21,0 +21,0 @@ .on('response', (resp, metadata) => {

@@ -104,3 +104,3 @@ "use strict";

key: base64Key,
hash: crypto_1.createHash('sha256').update(cfg.key).digest('base64'),
hash: (0, crypto_1.createHash)('sha256').update(cfg.key).digest('base64'),
};

@@ -167,2 +167,3 @@ }

this.startUploading();
return;
});

@@ -357,3 +358,3 @@ }

maxTimeout: this.maxRetryDelay * 1000,
maxRetryTime: this.maxRetryTotalTimeout * 1000,
maxRetryTime: this.maxRetryTotalTimeout * 1000, //convert to milliseconds
});

@@ -660,2 +661,3 @@ this.uri = uri;

this.startUploading();
return;
});

@@ -662,0 +664,0 @@ }

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

## [5.0.0](https://github.com/googleapis/gcs-resumable-upload/compare/v4.0.2...v5.0.0) (2022-05-20)
### ⚠ BREAKING CHANGES
* update library to use Node 12 (#520)
### Build System
* update library to use Node 12 ([#520](https://github.com/googleapis/gcs-resumable-upload/issues/520)) ([f90175d](https://github.com/googleapis/gcs-resumable-upload/commit/f90175d7779f69a53ee0ba584b5bf98847a1469f))
### [4.0.2](https://github.com/googleapis/gcs-resumable-upload/compare/v4.0.1...v4.0.2) (2022-01-26)

@@ -9,0 +20,0 @@

{
"name": "gcs-resumable-upload",
"version": "4.0.2",
"version": "5.0.0",
"description": "Upload a file to Google Cloud Storage with built-in resumable behavior",

@@ -42,3 +42,3 @@ "repository": "googleapis/gcs-resumable-upload",

"engines": {
"node": ">=10"
"node": ">=12.0.0"
},

@@ -51,3 +51,3 @@ "dependencies": {

"gaxios": "^4.0.0",
"google-auth-library": "^7.0.0",
"google-auth-library": "^8.0.2",
"pumpify": "^2.0.0",

@@ -61,3 +61,3 @@ "stream-events": "^1.0.4"

"@types/extend": "^3.0.1",
"@types/mocha": "^8.0.0",
"@types/mocha": "^9.0.0",
"@types/mockery": "^1.4.29",

@@ -68,10 +68,10 @@ "@types/node": "^16.0.0",

"c8": "^7.0.0",
"gts": "^2.0.0",
"gts": "^3.1.0",
"linkinator": "^2.0.0",
"mocha": "^8.0.0",
"mocha": "^9.2.2",
"mockery": "^2.1.0",
"nock": "^13.0.0",
"sinon": "^12.0.0",
"typescript": "^3.8.3"
"sinon": "^14.0.0",
"typescript": "^4.6.4"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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