@uppy/transloadit
Advanced tools
Comparing version 3.0.0-beta.3 to 3.0.0-beta.4
# @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 @@ |
@@ -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
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
235905
3561
Updated@uppy/tus@^3.0.0-beta.2