mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 20:40:06 +00:00
* Add file.data.relativePath to the file.id * Don’t add/overwrite a file if a file with the same id already exsists, issue a warning * override @uppy/tus fingerprint to uppy’s file.id * combine cordove/react native handling, don’t log twice * always use onError for errors in addFile * use file.meta.relativePath instead of file.data.relativePath what do you think, @lakesare? * update tests to include allowing/diallowing duplicates and file.id generation with relativePath * update tus-js-client * refactor error handling for addFile and upload into a mutual _showOrLogErrorAndThrow method * explain duplicate files and relativePath * throw TypeError vs Error when allowedFileTypes is not an array * fix tests * tweak docs * Emit restriction-failed for all restriction errors, move it to _showOrLogErrorAndThrow
32 lines
711 B
JSON
32 lines
711 B
JSON
{
|
|
"name": "@uppy/tus",
|
|
"description": "Resumable uploads for Uppy using Tus.io",
|
|
"version": "1.4.0",
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"types": "types/index.d.ts",
|
|
"keywords": [
|
|
"file uploader",
|
|
"uppy",
|
|
"uppy-plugin",
|
|
"upload",
|
|
"resumable",
|
|
"tus"
|
|
],
|
|
"homepage": "https://uppy.io",
|
|
"bugs": {
|
|
"url": "https://github.com/transloadit/uppy/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/transloadit/uppy.git"
|
|
},
|
|
"dependencies": {
|
|
"@uppy/companion-client": "file:../companion-client",
|
|
"@uppy/utils": "file:../utils",
|
|
"tus-js-client": "^1.8.0-2"
|
|
},
|
|
"peerDependencies": {
|
|
"@uppy/core": "^1.0.0"
|
|
}
|
|
}
|