close
The Wayback Machine - https://web.archive.org/web/20201020211224/https://github.com/amilajack/eslint-plugin-compat/issues/85
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

Use caniuse-lite #85

Open
ai opened this issue May 24, 2017 · 6 comments
Open

Use caniuse-lite #85

ai opened this issue May 24, 2017 · 6 comments

Comments

@ai
Copy link
Collaborator

@ai ai commented May 24, 2017

We loved caniuse-db, but it uses 7 MB and contains many irrelevant data.

This is why @ben-eb created caniuse-lite. It is just a copy of latest caniuse-db (he wrote autorelease script) with less data and better compression. Only 1 MB.

Autoprefixer and Browserslist moved to caniuse-lite. So let’s use it here too. It is very easy, API is the same.

@ai ai mentioned this issue May 24, 2017
@amilajack
Copy link
Owner

@amilajack amilajack commented May 25, 2017

Somewhat reluctant to depend on a dependency that doesn't have any tests. Maybe we could use it after it adds some tests?

@ai
Copy link
Collaborator Author

@ai ai commented May 25, 2017

Sure, adding tests to caniuse-lite will be great.

@amilajack
Copy link
Owner

@amilajack amilajack commented Mar 24, 2019

@ai it's been some time since this ticket was filed and it looks like the project has matured more since I initially looked at it. Would you like to PR for this?

@ai
Copy link
Collaborator Author

@ai ai commented Mar 24, 2019

caniuse-lite now has tests https://github.com/ben-eb/caniuse-lite/blob/master/src/agents.test.js

Also, caniuse-lite is 2x time more popular than caniuse-db https://www.npmtrends.com/caniuse-lite-vs-caniuse-db

@amilajack
Copy link
Owner

@amilajack amilajack commented Mar 25, 2019

Awesome! Would you be interested in putting together a PR for this?

@ai
Copy link
Collaborator Author

@ai ai commented Mar 25, 2019

Not in the next few weeks, sorry. Need to finish docs for my another open source project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.