Merge branch 'develop' of git.lumeweb.com:LumeWeb/portal-dashboard into develop

This commit is contained in:
Juan Di Toro 2024-03-28 23:59:19 +01:00
commit 0d2a73b508
3 changed files with 118 additions and 78 deletions

View File

@ -42,7 +42,7 @@
"@tanstack/react-query": "^5.28.6",
"@tanstack/react-table": "^8.13.2",
"@uppy/core": "^3.9.3",
"@uppy/tus": "^3.5.3",
"@uppy/tus": "^3.5.4",
"@uppy/utils": "^5.7.4",
"@visx/visx": "^3.10.2",
"class-variance-authority": "^0.7.0",
@ -52,6 +52,7 @@
"react-dom": "^18.2.0",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"tus-js-client": "^4.1.0",
"zod": "^3.22.4"
},
"devDependencies": {
@ -76,5 +77,8 @@
"engines": {
"node": ">=18.0.0"
},
"overrides": {
"tus-js-client": "^4.1.0"
},
"packageManager": "npm"
}

View File

@ -0,0 +1,36 @@
diff --git a/node_modules/tus-js-client/lib.es5/upload.js b/node_modules/tus-js-client/lib.es5/upload.js
index fc3734c..e4ea6cb 100644
--- a/node_modules/tus-js-client/lib.es5/upload.js
+++ b/node_modules/tus-js-client/lib.es5/upload.js
@@ -731,7 +731,6 @@ var BaseUpload = /*#__PURE__*/function () {
parallelUploads: 1,
// Reset this option as we are not doing a parallel upload.
parallelUploadBoundaries: null,
- metadata: {},
// Add the header to indicate the this is a partial upload.
headers: _objectSpread(_objectSpread({}, _this3.options.headers), {}, {
'Upload-Concat': 'partial'
diff --git a/node_modules/tus-js-client/lib.esm/upload.js b/node_modules/tus-js-client/lib.esm/upload.js
index 99cc7ff..f8f832d 100644
--- a/node_modules/tus-js-client/lib.esm/upload.js
+++ b/node_modules/tus-js-client/lib.esm/upload.js
@@ -279,7 +279,6 @@ var BaseUpload = /*#__PURE__*/function () {
parallelUploads: 1,
// Reset this option as we are not doing a parallel upload.
parallelUploadBoundaries: null,
- metadata: {},
// Add the header to indicate the this is a partial upload.
headers: _objectSpread(_objectSpread({}, _this3.options.headers), {}, {
'Upload-Concat': 'partial'
diff --git a/node_modules/tus-js-client/lib/upload.js b/node_modules/tus-js-client/lib/upload.js
index e564de3..10fba60 100644
--- a/node_modules/tus-js-client/lib/upload.js
+++ b/node_modules/tus-js-client/lib/upload.js
@@ -332,7 +332,6 @@ class BaseUpload {
parallelUploads: 1,
// Reset this option as we are not doing a parallel upload.
parallelUploadBoundaries: null,
- metadata: {},
// Add the header to indicate the this is a partial upload.
headers: {
...this.options.headers,