@uppy/tus
Advanced tools
Comparing version 4.0.0-beta.4 to 4.0.0-beta.5
@@ -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 @@ |
@@ -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), |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
104137
1250
+ Addedtus-js-client@4.2.3(transitive)
- Removedtus-js-client@3.1.3(transitive)
Updated@uppy/utils@^6.0.0-beta.7
Updatedtus-js-client@^4.1.0