Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Add m96 and m97
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas101 committed Oct 27, 2021
1 parent d44947a commit c3786f9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/chromium-detector.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 29 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,36 @@ const supportsCSSQuery = (query) => {

// https://chromestatus.com/features
const descriptors = {
95: {
97: {
releaseDate: 'Pre-release',
isPreRelease: true,
tests: [
{
url: 'https://chromestatus.com/feature/5693639729610752',
name: 'Array and TypedArray findLast and findLastIndex',
test: () => isFunction([].findLast)
},
{
url: 'https://chromestatus.com/feature/5687325523705856',
name: 'transform: perspective(none)',
test: () => supportsCSSValue('transform', 'perspective(none)')
}
]
},
96: {
releaseDate: 'Pre-release',
isPreRelease: true,
tests: [
{
url: 'https://chromestatus.com/feature/5646323212615680',
name: 'Media Queries: prefers-contrast feature',
test: () => window.matchMedia('(prefers-contrast: more)').media === 'prefers-contrast: more'
}
]
},
95: {
releaseDate: '2021-10-19',
isPreRelease: true,
tests: [
{
url: 'https://chromestatus.com/features/6304275594477568',
Expand All @@ -65,8 +92,7 @@ const descriptors = {
]
},
94: {
releaseDate: 'Pre-release',
isPreRelease: true,
releaseDate: '2021-09-21',
tests: [
{
url: 'https://chromestatus.com/feature/5144822362931200',
Expand Down
Loading

0 comments on commit c3786f9

Please sign in to comment.