Skip to content
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

Fix computation of last queries for Android #765

Merged
merged 1 commit into from May 29, 2023

Conversation

steverep
Copy link
Contributor

Fixes #764 by directly finding the correct array index. This simply assumes that Chrome 37 exists and that the latest release of Chrome equals that of Android, rather than assuming anything about the version history.

A few tests failed after the change, but they are all flawed. After adjusting, I think there is good coverage.

Note Prettier made a few extra changes so you might want to turn off white space on the diffs.

@ai ai merged commit 44df5bc into browserslist:main May 29, 2023
7 checks passed
@ai
Copy link
Member

ai commented May 29, 2023

Thanks. Released in 4.21.7.

@steverep steverep deleted the fix-last-android-versions branch May 30, 2023 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android "last" queries incorrectly include Android 36
2 participants