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

last 2 chrome versions returns [ 'chrome 78', 'chrome 77' ] - latest version is 79 #437

Closed
uditalias opened this issue Jan 19, 2020 · 10 comments

Comments

@uditalias
Copy link

browserslist v4.8.3

browserslist("last 2 chrome versions") outputs [ 'chrome 78', 'chrome 77' ]

Expected output:
[ 'chrome 79', 'chrome 78' ]

Am I missing something? the latest stable Chrome version is 79

@ai
Copy link
Member

ai commented Jan 19, 2020

You need to update caniuse-lite in your node_modules to see the latest data (also Can I Use can have a few days lag)

@ai ai closed this as completed Jan 19, 2020
@uditalias
Copy link
Author

Thanks @ai, I'll give it a try.

@uditalias
Copy link
Author

@ai I just updated to the latest caniuse-lite@1.0.30001021 (released 5 days ago).
browserslist("last 2 chrome versions") still outputs [ 'chrome 78', 'chrome 77' ]
Chrome 79 released on Dec 10, 2019 (40 days ago).

browserslist("last 2 firefox versions") outputs [ 'firefox 71', 'firefox 70' ] althoug 72 is the latest firefox version.

Should I open this issue in caniuse-lites repo?

@ai
Copy link
Member

ai commented Jan 19, 2020

caniuse-lite is just a repack of caniuse-db.

Wait a second, I will invastigate the problem.

@ai ai reopened this Jan 19, 2020
@ai
Copy link
Member

ai commented Jan 20, 2020

Seems like caniuse-db again changed the format 1e61852

Thanks for the notice.

@ai
Copy link
Member

ai commented Jan 20, 2020

Released at 4.8.4

@ai
Copy link
Member

ai commented Jan 20, 2020

@ai ai closed this as completed Jan 20, 2020
@eligao
Copy link
Contributor

eligao commented Jan 21, 2020

The commit 1e61852 was not necessary, we should simply wait for caniuse-db to update instead.
See #439

@uditalias
Copy link
Author

@eligao @ai I just updated caniuse-lite to 1.0.30001022 and it works with browserslist@4.8.3

Thanks

@ai
Copy link
Member

ai commented Jan 21, 2020

Fixed at 4.8.5

tats-u pushed a commit to tats-u/browserslist that referenced this issue Apr 8, 2023
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

No branches or pull requests

3 participants