-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Question in checkModule of compat.js #1344
Comments
@zloirock Thank you. |
This was referenced Aug 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In core-js-compat, the version list is retrieved via browserslist in targets-parser.js. For iOS version 15.7.2, browserslist returns the minimum version as 16. Subsequently, the minimum version is set to 16, and the necessary polyfill list is retrieved through checkModule in compat.js.
The problem here is that for cases like es.array.to-sorted, where the minimum version is 16, checkModule uses < for comparison, so the necessary polyfills are not included. Should this be considered an error in browserslist, or is there a need for a separate handling for this version?
Thank you!
The text was updated successfully, but these errors were encountered: