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

@tus/gcs-store

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tus/gcs-store - npm Package Compare versions

Comparing version 1.2.2 to 1.3.0

4

dist/index.js

@@ -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 @@ });

6

package.json
{
"$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",

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