Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@uppy/transloadit

Package Overview
Dependencies
Maintainers
8
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/transloadit - npm Package Compare versions

Comparing version 3.0.0-beta.3 to 3.0.0-beta.4

14

CHANGELOG.md
# @uppy/transloadit
## 3.0.0-beta.4
Released: 2022-08-03
Included in: Uppy v3.0.0-beta.4
- @uppy/transloadit: remove static properties in favor of exports (Antoine du Hamel / #3927)
## 3.0.0-beta

@@ -10,2 +17,9 @@

## 2.3.6
Released: 2022-08-02
Included in: Uppy v2.13.2
- @uppy/transloadit: send `assembly-cancelled` only once (Antoine du Hamel / #3937)
## 2.3.5

@@ -12,0 +26,0 @@

19

lib/index.js

@@ -18,3 +18,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": "3.0.0-beta.3"
"version": "3.0.0-beta.4"
};

@@ -750,5 +750,2 @@

assembly.close();
this.client.cancelAssembly(newAssembly).catch(() => {
/* ignore potential errors */
});
this.uppy.off(fileRemovedHandler);

@@ -761,5 +758,7 @@ } else if (fileRemoved.id in updatedFiles) {

assembly.close();
this.client.cancelAssembly(newAssembly).catch(() => {
_classPrivateFieldLooseBase(this, _cancelAssembly)[_cancelAssembly](newAssembly).catch(() => {
/* ignore potential errors */
});
this.uppy.off(fileRemovedHandler);

@@ -969,10 +968,2 @@ } else {

Transloadit.VERSION = packageJson.version;
export { ALLOWED_COMPANION_PATTERN, COMPANION, ALLOWED_COMPANION_PATTERN as COMPANION_PATTERN }; // Backward compatibility: we want `COMPANION` and `COMPANION_PATTERN`
// to keep being accessible as static properties of `Transloadit` to avoid a
// breaking change.
Transloadit.ALLOWED_COMPANION_PATTERN = ALLOWED_COMPANION_PATTERN; // TODO: remove this line on the next major
Transloadit.COMPANION = COMPANION; // TODO: remove this line on the next major
Transloadit.COMPANION_PATTERN = ALLOWED_COMPANION_PATTERN; // TODO: remove this line on the next major
export { ALLOWED_COMPANION_PATTERN, COMPANION, ALLOWED_COMPANION_PATTERN as COMPANION_PATTERN };
{
"name": "@uppy/transloadit",
"description": "The Transloadit plugin can be used to upload files to Transloadit for all kinds of processing, such as transcoding video, resizing images, zipping/unzipping, and more",
"version": "3.0.0-beta.3",
"version": "3.0.0-beta.4",
"license": "MIT",

@@ -33,3 +33,3 @@ "main": "lib/index.js",

"@uppy/provider-views": "^3.0.0-beta.2",
"@uppy/tus": "^3.0.0-beta.1",
"@uppy/tus": "^3.0.0-beta.2",
"@uppy/utils": "^5.0.0-beta",

@@ -40,3 +40,3 @@ "component-emitter": "^1.2.1",

"peerDependencies": {
"@uppy/core": "^3.0.0-beta.2"
"@uppy/core": "^3.0.0-beta.3"
},

@@ -43,0 +43,0 @@ "devDependencies": {

@@ -241,3 +241,2 @@ import hasProperty from '@uppy/utils/lib/hasProperty'

assembly.close()
this.client.cancelAssembly(newAssembly).catch(() => { /* ignore potential errors */ })
this.uppy.off(fileRemovedHandler)

@@ -249,3 +248,3 @@ } else if (fileRemoved.id in updatedFiles) {

assembly.close()
this.client.cancelAssembly(newAssembly).catch(() => { /* ignore potential errors */ })
this.#cancelAssembly(newAssembly).catch(() => { /* ignore potential errors */ })
this.uppy.off(fileRemovedHandler)

@@ -860,8 +859,1 @@ } else {

}
// Backward compatibility: we want `COMPANION` and `COMPANION_PATTERN`
// to keep being accessible as static properties of `Transloadit` to avoid a
// breaking change.
Transloadit.ALLOWED_COMPANION_PATTERN = ALLOWED_COMPANION_PATTERN // TODO: remove this line on the next major
Transloadit.COMPANION = COMPANION // TODO: remove this line on the next major
Transloadit.COMPANION_PATTERN = ALLOWED_COMPANION_PATTERN // TODO: remove this line on the next major

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