uppy/packages/@uppy/utils/src
Merlijn Vos 49522ec5cb
Remove preact/compat (#5935)
We drag it in unneccesarily in the bundle and it can cause JSX clashes
in React apps with `"jsx": "preserve"` in their `tsconfig.json`
(https://github.com/preactjs/preact/issues/4908)

- Remove `@types/react` from companion (unused)
- Fix tsconfig's for @uppy/utils (build was fine, but editor diagnostics
weren't)
2025-08-28 16:57:07 +02:00
..
getDroppedFiles Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
AbortController.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
AbortController.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
canvasToBlob.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
CompanionClientProvider.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
CompanionFile.ts @uppy/google-photos: fix various issues (#5275) 2024-06-27 10:31:30 +02:00
dataURItoBlob.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
dataURItoBlob.ts @uppy/utils: improve return type of dataURItoFile (#5112) 2024-04-24 10:48:26 +02:00
dataURItoFile.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
dataURItoFile.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
delay.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
delay.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
emaFilter.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
emaFilter.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
ErrorWithCause.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
ErrorWithCause.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
fetcher.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
fetchWithNetworkError.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
fileFilters.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
FileProgress.ts Companion stream upload unknown size files (#5489) 2024-12-07 10:30:00 +08:00
findAllDOMElements.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
findDOMElement.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
FOCUSABLE_ELEMENTS.ts @uppy/utils: update export maps (#5900) 2025-08-19 12:25:27 +02:00
generateFileID.test.ts @uppy/utils: update export maps (#5900) 2025-08-19 12:25:27 +02:00
generateFileID.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
getAllowedMetaFields.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
getBytesRemaining.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
getBytesRemaining.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
getETA.test.ts @uppy/utils: update export maps (#5900) 2025-08-19 12:25:27 +02:00
getETA.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
getFileNameAndExtension.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
getFileNameAndExtension.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
getFileType.test.ts Fix type check ci (#5714) 2025-04-09 14:56:38 +02:00
getFileType.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
getFileTypeExtension.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
getFileTypeExtension.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
getSocketHost.test.ts @uppy/utils: do not strip www in getSocketHost (#5621) 2025-02-03 15:22:02 +01:00
getSocketHost.ts @uppy/utils: do not strip www in getSocketHost (#5621) 2025-02-03 15:22:02 +01:00
getSpeed.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
getSpeed.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
getTextDirection.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
getTimeStamp.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
hasProperty.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
index.ts @uppy/utils: update export maps (#5900) 2025-08-19 12:25:27 +02:00
isDOMElement.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
isDragDropSupported.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
isMobileDevice.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
isMobileDevice.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
isNetworkError.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
isNetworkError.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
isObjectURL.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
isObjectURL.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
isPreviewSupported.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
isPreviewSupported.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
isTouchDevice.test.ts @uppy/utils: update export maps (#5900) 2025-08-19 12:25:27 +02:00
isTouchDevice.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
microtip.scss meta: run Prettier on existing files (#4713) 2023-09-29 11:11:28 +02:00
mimeTypes.ts @uppy/utils: add msg mimetype (#5699) 2025-04-02 19:08:06 +02:00
NetworkError.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
prettyETA.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
prettyETA.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
ProgressTimeout.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
RateLimitedQueue.test.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
RateLimitedQueue.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
remoteFileObjToLocal.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
sampleImageDataURI.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
secondsToTime.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
secondsToTime.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
toArray.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
toArray.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
Translator.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
Translator.ts lint fix 2025-08-21 14:34:12 +05:30
truncateString.test.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
truncateString.ts @uppy/utils: refactor to TS (#4699) 2023-11-06 15:01:50 +01:00
UppyFile.ts Use .js(x) for all imports instead .ts(x) (#5573) 2025-01-06 13:29:55 +01:00
UserFacingApiError.ts @uppy/companion-client: migrate to TS (#4864) 2024-01-24 14:19:38 +01:00
VirtualList.tsx Remove preact/compat (#5935) 2025-08-28 16:57:07 +02:00