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 1.8.7 to 1.9.0

14

lib/index.js

@@ -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);

8

package.json
{
"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

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