gcs-resumable-upload
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -37,3 +37,3 @@ "use strict"; | ||
const cacheKeyElements = [cfg.bucket, cfg.file]; | ||
if (cfg.generation) { | ||
if (typeof cfg.generation === 'number') { | ||
cacheKeyElements.push(`${cfg.generation}`); | ||
@@ -40,0 +40,0 @@ } |
@@ -7,2 +7,9 @@ # Changelog | ||
### [2.2.1](https://www.github.com/googleapis/gcs-resumable-upload/compare/v2.2.0...v2.2.1) (2019-07-17) | ||
### Bug Fixes | ||
* handle a `0` generation ([#247](https://www.github.com/googleapis/gcs-resumable-upload/issues/247)) ([0b991d5](https://www.github.com/googleapis/gcs-resumable-upload/commit/0b991d5)), closes [#246](https://www.github.com/googleapis/gcs-resumable-upload/issues/246) | ||
## [2.2.0](https://www.github.com/googleapis/gcs-resumable-upload/compare/v2.1.1...v2.2.0) (2019-07-14) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "gcs-resumable-upload", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Upload a file to Google Cloud Storage with built-in resumable behavior", | ||
@@ -5,0 +5,0 @@ "repository": "googleapis/gcs-resumable-upload", |
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
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
55055