You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created the following snippet to demonstrate the issue. The code then being down leveled with babel (present-env targeting browsers >1%) and bundled with rollup.
This final bundle works fine on Chrome and Firefox. But not Safari. As Safari is ES6 compatible, so I removed all the core-js modules in babel output and bundled it again, as a result, Safari also prints the right output.
Then I put core-js modules back in one by one and found the culprit is core-js/modules/es.typed-array.uint8-array.
To be clear, this is tested with core-js 3.3.5. Please see the package.json and yarn.lock in the linked repo for the complete dependency.
The text was updated successfully, but these errors were encountered:
I created the following snippet to demonstrate the issue. The code then being down leveled with babel (present-env targeting browsers >1%) and bundled with rollup.
Please find the source at https://github.com/ashi009/corejs-typedarray-bug-on-safari.
The final bundle looks as follow:
This final bundle works fine on Chrome and Firefox. But not Safari. As Safari is ES6 compatible, so I removed all the core-js modules in babel output and bundled it again, as a result, Safari also prints the right output.
Then I put core-js modules back in one by one and found the culprit is
core-js/modules/es.typed-array.uint8-array
.To be clear, this is tested with core-js 3.3.5. Please see the package.json and yarn.lock in the linked repo for the complete dependency.
The text was updated successfully, but these errors were encountered: