-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
New data is replacing old data #6048
Comments
There is an old reply from @Fyrd: #3518 (comment) But maybe it's time now - feel free to leave open to have him respond. |
@lyml I'm curious as to why your browserslist configuration is set up to specify particular browser versions? Chrome releases updates now on a 4-week cadence so I believe most configurations use things like "last 2 versions" or set a usage threshold to avoid having to regularly update manually. |
I was being a bit sloppy in my formulation there, I meant that the result of our configuration included Since the data replacement isn't a mistake I have since then read the inner workings of how babel solves this problem and if I have understood it correctly it seems that they simply assume that the mobile browsers match their desktop variants. This is of course less than ideal but we can use this workaround as well. I have read the earlier answers and understand it is an issue about having access to older versions of mobile browsers. I understand if you do not wish to change the methodology, but would it be possible to append the table with whatever new information about a mobile browser you manage to ascertain instead of removing the old data? For specifically
Which we could then use to see that version |
Yeah, I have been thinking of changing it to just the last 10 or so versions instead of just one. Glad to hear you have a workaround for now. |
I was recently debugging why a polyfill of
Object.Entries
was being bundled even though our browserslist targets is fairly modern.In doing so I noticed that
and_chr 93
was added to our browserslist configuration. That was expected but surelyand_chr 93
should support Object.Entries however when look at the caniuse data it seems to be replacing the history of support with whatever version is the latest.https://github.com/Fyrd/caniuse/blob/main/features-json/object-entries.json
This contains only a single entry for android chrome:
And sure enough, this is visible on the caniuse website as if there was only a single version of chrome for android. This leads to our build tools determining that
and_chr 93
does not have support forObject.Entries
. Looking through the blame history this seems to have been ongoing for a long time, with each update of the containing only a single row forand_chr
.The general problem does not seem to be limited to
Object.Entries
andand_chr
.The text was updated successfully, but these errors were encountered: