@uppy/tus
Advanced tools
Comparing version 1.8.7 to 1.9.0
@@ -750,3 +750,15 @@ var _class, _temp; | ||
if (file.isRemote) { | ||
// We emit upload-started here, so that it's also emitted for files | ||
// that have to wait due to the `limit` option. | ||
// Don't double-emit upload-started for Golden Retriever-restored files that were already started | ||
if (!file.progress.uploadStarted || !file.isRestored) { | ||
_this9.uppy.emit('upload-started', file); | ||
} | ||
return _this9.uploadRemote(file, current, total); | ||
} // Don't double-emit upload-started for Golden Retriever-restored files that were already started | ||
if (!file.progress.uploadStarted || !file.isRestored) { | ||
_this9.uppy.emit('upload-started', file); | ||
} | ||
@@ -812,2 +824,2 @@ | ||
return Tus; | ||
}(Plugin), _class.VERSION = "1.8.7", _temp); | ||
}(Plugin), _class.VERSION = "1.9.0", _temp); |
{ | ||
"name": "@uppy/tus", | ||
"description": "Resumable uploads for Uppy using Tus.io", | ||
"version": "1.8.7", | ||
"version": "1.9.0", | ||
"license": "MIT", | ||
@@ -25,4 +25,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/companion-client": "^1.9.0", | ||
"@uppy/utils": "^3.5.0", | ||
"@uppy/companion-client": "^1.10.0", | ||
"@uppy/utils": "^3.6.0", | ||
"tus-js-client": "^2.1.1" | ||
@@ -33,3 +33,3 @@ }, | ||
}, | ||
"gitHead": "6771545fe70134088a5441ef5c2f7b872e32d812" | ||
"gitHead": "12b7bd34e8f193e86561dd623024279103865a85" | ||
} |
@@ -650,4 +650,14 @@ const { Plugin } = require('@uppy/core') | ||
} if (file.isRemote) { | ||
// We emit upload-started here, so that it's also emitted for files | ||
// that have to wait due to the `limit` option. | ||
// Don't double-emit upload-started for Golden Retriever-restored files that were already started | ||
if (!file.progress.uploadStarted || !file.isRestored) { | ||
this.uppy.emit('upload-started', file) | ||
} | ||
return this.uploadRemote(file, current, total) | ||
} | ||
// Don't double-emit upload-started for Golden Retriever-restored files that were already started | ||
if (!file.progress.uploadStarted || !file.isRestored) { | ||
this.uppy.emit('upload-started', file) | ||
} | ||
return this.upload(file, current, total) | ||
@@ -654,0 +664,0 @@ }) |
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
105175
1365
Updated@uppy/utils@^3.6.0