gcs-resumable-upload
Advanced tools
Comparing version 4.0.2 to 5.0.0
@@ -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
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
101376
1121
+ Addedgaxios@5.1.3(transitive)
+ Addedgcp-metadata@5.3.0(transitive)
+ Addedgoogle-auth-library@8.9.0(transitive)
+ Addedgoogle-p12-pem@4.0.1(transitive)
+ Addedgtoken@6.1.2(transitive)
- Removedgcp-metadata@4.3.1(transitive)
- Removedgoogle-auth-library@7.14.1(transitive)
- Removedgoogle-p12-pem@3.1.4(transitive)
- Removedgtoken@5.3.2(transitive)
Updatedgoogle-auth-library@^8.0.2