From 096b73d0b3e1796cadb59b0b65c38e777fc35de7 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 1 Aug 2022 15:46:35 +0200 Subject: [PATCH] @uppy/transloadit: remove static properties in favor of exports --- packages/@uppy/transloadit/src/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/@uppy/transloadit/src/index.js b/packages/@uppy/transloadit/src/index.js index 22a664493b..5d3db46601 100644 --- a/packages/@uppy/transloadit/src/index.js +++ b/packages/@uppy/transloadit/src/index.js @@ -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