Socket
Socket
Sign inDemoInstall

@uppy/tus

Package Overview
Dependencies
Maintainers
7
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/tus - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

7

CHANGELOG.md
# @uppy/tus
## 3.0.4
Released: 2022-10-24
Included in: Uppy v3.2.2
- @uppy/aws-s3,@uppy/tus,@uppy/xhr-upload: replace `this.getState().files` with `this.uppy.getState().files` (Artur Paikin / #4167)
## 3.0.2

@@ -4,0 +11,0 @@

4

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.3"
"version": "3.0.4"
};

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

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

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

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

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

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

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

if (this.getState().files[file.id]) return undefined
if (!this.uppy.getState().files[file.id]) return undefined

@@ -480,0 +480,0 @@ this.uppy.setFileState(file.id, { serverToken })

Sorry, the diff of this file is not supported yet

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