-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polyfill safari 14 #149
Polyfill safari 14 #149
Conversation
I'll defer to @gary149 on this one |
Did you try on Safari 14 @Grsmto ? |
Yep. Works now. |
Sorry there was one missing bit I had not commited. cc @coyotte508 related to the fix you did on crypto.random. |
@@ -8,7 +8,8 @@ | |||
"resolveJsonModule": true, | |||
"skipLibCheck": true, | |||
"sourceMap": true, | |||
"strict": true | |||
"strict": true, | |||
"target": "ES2018" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually the default is ES3, so in this case it's an upgrade. We don't need it but it's cool to have an explicity target maybe (it's also the value used on moonlanding).
* add core-js and necessary polyfills * set TS target to ES2015 * set ES2018 as default since it's prob enough * remove --host added by mistake * replace usage of array.prototype.at by more compatible alternative * remove core-js and replaceAll polyfill * fix wrong usage of crypto global
closes #141