Socket
Socket
Sign inDemoInstall

@uppy/tus

Package Overview
Dependencies
Maintainers
5
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 4.0.0-beta.4 to 4.0.0-beta.5

7

CHANGELOG.md

@@ -17,2 +17,9 @@ # @uppy/tus

## 3.5.5
Released: 2024-05-22
Included in: Uppy v3.25.4
- @uppy/tus: fix no headers passed to companion if argument is a function (netdown / #5182)
## 3.5.1

@@ -19,0 +26,0 @@

5

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": "4.0.0-beta.4"
"version": "4.0.0-beta.5"
};

@@ -498,2 +498,5 @@ /**

}
if (typeof opts.headers === 'function') {
opts.headers = opts.headers(file);
}
return {

@@ -500,0 +503,0 @@ ...((_file$remote = file.remote) == null ? void 0 : _file$remote.body),

10

package.json
{
"name": "@uppy/tus",
"description": "Resumable uploads for Uppy using Tus.io",
"version": "4.0.0-beta.4",
"version": "4.0.0-beta.5",
"license": "MIT",

@@ -25,5 +25,5 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/companion-client": "^4.0.0-beta.5",
"@uppy/utils": "^6.0.0-beta.5",
"tus-js-client": "^3.1.3"
"@uppy/companion-client": "^4.0.0-beta.6",
"@uppy/utils": "^6.0.0-beta.7",
"tus-js-client": "^4.1.0"
},

@@ -34,5 +34,5 @@ "devDependencies": {

"peerDependencies": {
"@uppy/core": "^4.0.0-beta.5"
"@uppy/core": "^4.0.0-beta.8"
},
"stableVersion": "3.5.4"
}

@@ -549,2 +549,6 @@ import BasePlugin, {

if (typeof opts.headers === 'function') {
opts.headers = opts.headers(file)
}
return {

@@ -551,0 +555,0 @@ ...file.remote?.body,

Sorry, the diff of this file is not supported yet

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