Skip to content

Commit

Permalink
@uppy/transloadit: remove static properties in favor of exports (#3927)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Aug 2, 2022
1 parent 38089a2 commit a38ae90
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/@uppy/transloadit/src/index.js
Expand Up @@ -855,10 +855,3 @@ export {
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

0 comments on commit a38ae90

Please sign in to comment.