@tus/gcs-store
Advanced tools
Comparing version 1.2.2 to 1.3.0
@@ -27,2 +27,3 @@ "use strict"; | ||
const gcs_file = this.bucket.file(file.id); | ||
file.storage = { type: 'gcs', path: file.id, bucket: this.bucket.name }; | ||
const options = { | ||
@@ -36,2 +37,3 @@ metadata: { | ||
metadata: JSON.stringify(file.metadata), | ||
storage: JSON.stringify(file.storage), | ||
}, | ||
@@ -72,2 +74,3 @@ }, | ||
metadata: JSON.stringify(upload.metadata), | ||
storage: JSON.stringify(upload.storage), | ||
}, | ||
@@ -137,2 +140,3 @@ }, | ||
metadata: meta ? JSON.parse(meta) : undefined, | ||
storage: { type: 'gcs', path: id, bucket: this.bucket.name }, | ||
})); | ||
@@ -139,0 +143,0 @@ }); |
{ | ||
"$schema": "https://json.schemastore.org/package.json", | ||
"name": "@tus/gcs-store", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"description": "Google Cloud Storage for @tus/server", | ||
@@ -24,3 +24,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@tus/utils": "^0.2.0", | ||
"@tus/utils": "^0.3.0", | ||
"debug": "^4.3.4" | ||
@@ -30,3 +30,3 @@ }, | ||
"@google-cloud/storage": "^6.12.0", | ||
"@tus/server": "^1.6.0", | ||
"@tus/server": "^1.7.0", | ||
"@types/debug": "^4.1.12", | ||
@@ -33,0 +33,0 @@ "@types/mocha": "^10.0.6", |
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
11790
171
+ Added@tus/utils@0.3.0(transitive)
- Removed@tus/utils@0.2.0(transitive)
Updated@tus/utils@^0.3.0