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.4 to 3.0.5

7

CHANGELOG.md
# @uppy/tus
## 3.0.5
Released: 2022-11-10
Included in: Uppy v3.3.0
- @uppy/aws-s3-multipart,@uppy/tus: fix `Timed out waiting for socket` (Antoine du Hamel / #4177)
## 3.0.4

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

6

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.4"
"version": "3.0.5"
};

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

this.handleUpload = this.handleUpload.bind(this);
_classPrivateFieldLooseBase(this, _queueRequestSocketToken)[_queueRequestSocketToken] = this.requests.wrapPromiseFunction(_classPrivateFieldLooseBase(this, _requestSocketToken)[_requestSocketToken]);
_classPrivateFieldLooseBase(this, _queueRequestSocketToken)[_queueRequestSocketToken] = this.requests.wrapPromiseFunction(_classPrivateFieldLooseBase(this, _requestSocketToken)[_requestSocketToken], {
priority: -1
});
}

@@ -151,0 +153,0 @@

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

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

"dependencies": {
"@uppy/companion-client": "^3.0.2",
"@uppy/utils": "^5.0.2",
"@uppy/companion-client": "^3.1.0",
"@uppy/utils": "^5.1.0",
"tus-js-client": "^3.0.0"

@@ -30,0 +30,0 @@ },

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

this.handleUpload = this.handleUpload.bind(this)
this.#queueRequestSocketToken = this.requests.wrapPromiseFunction(this.#requestSocketToken)
this.#queueRequestSocketToken = this.requests.wrapPromiseFunction(this.#requestSocketToken, { priority: -1 })
}

@@ -109,0 +109,0 @@

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