Socket
Socket
Sign inDemoInstall

@uppy/tus

Package Overview
Dependencies
35
Maintainers
7
Versions
111
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.2 to 3.0.3

3

lib/index.js

@@ -20,3 +20,3 @@ function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }

const packageJson = {
"version": "3.0.2"
"version": "3.0.3"
};

@@ -529,2 +529,3 @@ /** @typedef {import('..').TusOptions} TusOptions */

const serverToken = await _classPrivateFieldLooseBase(this, _queueRequestSocketToken)[_queueRequestSocketToken](file);
if (this.getState().files[file.id]) return undefined;
this.uppy.setFileState(file.id, {

@@ -531,0 +532,0 @@ serverToken

{
"name": "@uppy/tus",
"description": "Resumable uploads for Uppy using Tus.io",
"version": "3.0.2",
"version": "3.0.3",
"license": "MIT",

@@ -34,4 +34,4 @@ "main": "lib/index.js",

"peerDependencies": {
"@uppy/core": "^3.0.2"
"@uppy/core": "^3.0.3"
}
}

@@ -477,2 +477,4 @@ import BasePlugin from '@uppy/core/lib/BasePlugin.js'

if (this.getState().files[file.id]) return undefined
this.uppy.setFileState(file.id, { serverToken })

@@ -479,0 +481,0 @@ return this.connectToServerSocket(this.uppy.getFile(file.id))

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc