-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
chore: map mobile browser data to their desktop version #10814
chore: map mobile browser data to their desktop version #10814
Conversation
Does this depend on browserslist/browserslist#428?
@nicolo-ribaudo Actually it works like browserslist/browserslist#428 by replacing the caniuse mobile desktop agents by their desktop versions. Oh it does depend on that since we will throw on unknown browser versions. Now we have to skip |
The upstream fix has been released |
@nicolo-ribaudo unskipping Therefore, I suggest we merge it as-is. |
@@ -120,7 +120,7 @@ describe("getTargets", () => { | |||
it("does throws on unsupported versions", () => { | |||
expect(() => { | |||
getTargets({ | |||
browsers: "node 15.0.0, chrome 1000", | |||
browsers: "node 1000.0.0, chrome 1000", |
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.
Time flies: node 15 is scheduled at Oct. 2020.
8a005fe
to
551f2d9
Compare
65fb3d6
to
9c34ab8
Compare
* chore: map mobile browser data to their desktop version * chore: skip android until upstream support is resolved * Revert "chore: skip android until upstream support is resolved" This reverts commit 436e9af. * Update fixtures Co-authored-by: Nicolò Ribaudo <[email protected]>
In this PR we map the ES Module support data for mobile browser to their desktop versions. caniuse now preserve only latest version for the mobile browser other than
iOS Safari
. It fixes the issue that whencaniuse-db
is upgraded, theand_chr
andand_ff
will be incorrectly bumped.