IMPORTANT: macOS Safari does not work with Uppy
JamMaster1999 opened this issue · comments
Initial checklist
- I understand this is a bug report and questions should be posted in the Community Forum
- I searched issues and couldn’t find anything (or linked relevant results below)
Link to runnable example
https://uflo-platform.webflow.io/dashboard/teacher-copy
Steps to reproduce
<script type="module"> import { Uppy, Dashboard, } from "https://releases.transloadit.com/uppy/v3.24.3/uppy.min.mjs"; </script>This throws this error in safari version
SyntaxError: Unexpected token '{'
(anonymous function) — uppy.min.js:2
I am on Safari 16.2 on macOS running Ventura
Expected behavior
No syntax errors should be logged. This works on chrome and even iPhone and iPad. Only macOS safari produces this error.
Actual behavior
Does not load Uppy's interface.
The issue only exists on Safari 16 and is not replicated on Safari 17.
Any idea why or how that can be fixed?
Uppy only supports ever green browsers, Safari 16 came out in 2022. If you want to support older browsers, you have to polyfill APIs yourself and/or use something like https://github.com/zloirock/core-js.