-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
caniuse-lite
includes features not shown on caniuse.com
#119
Comments
|
Seems like including the |
I didn't consider other consumers of this—I don't know who else is using this or why. 🤷 I can see now that it would be a bad choice to omit those features and agree that a better option is to include the (Though I'm skeptical that features not shown on caniuse are as well-maintained and accurate as the ones that are—there's going to be a lot fewer eyes on those features.) |
Does somebody really need a filter to show only features shown on Can I Use. If yes, we can add this key (send PR).
It is better than nothing (for the case of Autoprefixer, for instance) |
Some of the features in https://github.com/Fyrd/caniuse/tree/main/features-json aren't actually shown on caniuse, such as
css-grid-animation
(they haveshown: false
set). However,caniuse-lite
includes these features.Would you consider omitting those features, or including the
shown
key from caniuse? I'd prefer to be able to use only those features that I can link to on caniuse.com.What I expected
"css-grid-animation" in lite.features
→false
Alternatively:
lite.feature(lite.features["css-grid-animation"]).shown
→false
What I get:
"css-grid-animation" in lite.features
→true
lite.feature(lite.features["css-grid-animation"]).shown
→undefined
The text was updated successfully, but these errors were encountered: