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

When caniuse-db does not have data about the version being queried, assume it has the same capabilities as the highest version that does have data #7

Merged
merged 1 commit into from
Feb 26, 2017

Conversation

papandreou
Copy link
Collaborator

I just upgraded to the latest version of caniuse-db, which, among other things, adds the fact that Opera 45 supports both CSP1 and 2.

Before that update we would return "undecided" for that particular version of Opera and thus keep the original CSP. In such a case it'd seem reasonable to just assume that it has the same capabilities as the highest known one.

…ssume it has the same capabilities as the highest version that does have data.
@coveralls
Copy link

coveralls commented Feb 24, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 40763cc on feature/extrapolateCaniuseDbData into 4d061ef on master.

@Munter Munter merged commit 9c944a6 into master Feb 26, 2017
@Munter
Copy link
Owner

Munter commented Feb 26, 2017

Nice catch

@Munter Munter deleted the feature/extrapolateCaniuseDbData branch February 26, 2017 23:01
@papandreou
Copy link
Collaborator Author

Released in 1.3.0.

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

Successfully merging this pull request may close these issues.

None yet

3 participants