Skip to content

Commit e027c91

Browse files
Changing mechanism (#77)
* Changing mechanism * Being more explicit * Removing partial implementation on dir * Fixing focus visible * Better prefixing * Updating deps * Fixing settings * Generated * Regenerating after upgrading * Do not count pre-releases as vendor implementation * Updating CHANGELOG * Honoring editorconfig * Removing extra line
1 parent 8bedc4e commit e027c91

File tree

10 files changed

+224
-183
lines changed

10 files changed

+224
-183
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changes to cssdb
22

3+
### 6.0.2 (January 21, 2022)
4+
5+
- Updated mechanism to calculate browser versions to be more reliable. This also introduces the option through `allow_partial_implementation` if we want to allow something such as Autoprefixer to take care with prefixing a given feature such as `:any-link`.
6+
- Ensuring pre-releases aren't counted as vendor implementation. This was flagging that `:has` had 1 vendor implementation, but it's not in stable Safari yet.
7+
- Removed `media-query-ranges` support data as it was not correct that Firefox supports it fully. See [#57](https://github.com/csstools/cssdb/issues/57) and [mdn/browser-compat-data#14593](https://github.com/mdn/browser-compat-data/issues/14593)
8+
- Updated `@mdn/browser-compat-data` to `4.1.4` (patch)
9+
- Updated `astro` to `0.22.16` (patch)
10+
- Updated `caniuse-lite` to `1.0.30001300` (patch)
11+
312
### 6.0.1 (January 7, 2022)
413

514
- Updated: Conditional media queries now Stage 2 and has links to an official spec! 🎉 (minor)

cssdb.json

Lines changed: 68 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"safari": "10",
1313
"opera": "24",
1414
"ios_saf": "9.3",
15-
"android": "96",
15+
"android": "97",
1616
"op_mob": "64",
17-
"and_chr": "96",
17+
"and_chr": "97",
1818
"and_ff": "95",
1919
"and_uc": "12.12",
2020
"samsung": "4",
@@ -40,19 +40,17 @@
4040
"specification": "https://www.w3.org/TR/selectors-4/#any-link-pseudo",
4141
"stage": 2,
4242
"browser_support": {
43+
"chrome": "1",
44+
"and_chr": "18",
4345
"edge": "79",
44-
"firefox": "50",
45-
"chrome": "65",
46-
"safari": "9",
47-
"opera": "52",
48-
"ios_saf": "9",
49-
"android": "96",
50-
"op_mob": "64",
51-
"and_chr": "96",
52-
"and_ff": "95",
53-
"samsung": "9.2",
54-
"and_qq": "10.4",
55-
"baidu": "7.12"
46+
"firefox": "1",
47+
"and_ff": "4",
48+
"opera": "15",
49+
"op_mob": "14",
50+
"safari": "3",
51+
"ios_saf": "1",
52+
"samsung": "1.0",
53+
"android": "65"
5654
},
5755
"docs": {
5856
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link"
@@ -129,9 +127,9 @@
129127
"safari": "9",
130128
"opera": "36",
131129
"ios_saf": "9",
132-
"android": "96",
130+
"android": "97",
133131
"op_mob": "64",
134-
"and_chr": "96",
132+
"and_chr": "97",
135133
"and_ff": "95",
136134
"and_uc": "12.12",
137135
"samsung": "5",
@@ -307,9 +305,9 @@
307305
"safari": "10",
308306
"opera": "36",
309307
"ios_saf": "10",
310-
"android": "96",
308+
"android": "97",
311309
"op_mob": "64",
312-
"and_chr": "96",
310+
"and_chr": "97",
313311
"and_ff": "95",
314312
"and_uc": "12.12",
315313
"samsung": "5",
@@ -364,7 +362,7 @@
364362
"stage": 2,
365363
"browser_support": {
366364
"firefox": "49",
367-
"and_ff": "95"
365+
"and_ff": "49"
368366
},
369367
"docs": {
370368
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/:dir"
@@ -431,9 +429,9 @@
431429
"safari": "12",
432430
"opera": "56",
433431
"ios_saf": "11.3",
434-
"android": "96",
432+
"android": "97",
435433
"op_mob": "64",
436-
"and_chr": "96",
434+
"and_chr": "97",
437435
"and_ff": "95",
438436
"samsung": "10.1"
439437
},
@@ -473,15 +471,15 @@
473471
"specification": "https://www.w3.org/TR/selectors-4/#focus-visible-pseudo",
474472
"stage": 2,
475473
"browser_support": {
476-
"edge": "86",
474+
"chrome": "67",
475+
"and_chr": "67",
476+
"edge": "79",
477477
"firefox": "85",
478-
"chrome": "86",
479-
"opera": "72",
480-
"android": "96",
481-
"op_mob": "64",
482-
"and_chr": "96",
483-
"and_ff": "95",
484-
"samsung": "14"
478+
"and_ff": "85",
479+
"opera": "54",
480+
"op_mob": "48",
481+
"samsung": "14.0",
482+
"android": "86"
485483
},
486484
"docs": {
487485
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible"
@@ -511,9 +509,9 @@
511509
"safari": "11",
512510
"opera": "47",
513511
"ios_saf": "10.3",
514-
"android": "96",
512+
"android": "97",
515513
"op_mob": "64",
516-
"and_chr": "96",
514+
"and_chr": "97",
517515
"and_ff": "95",
518516
"samsung": "8.2",
519517
"and_qq": "10.4"
@@ -636,9 +634,9 @@
636634
"safari": "11",
637635
"opera": "44",
638636
"ios_saf": "10.3",
639-
"android": "96",
637+
"android": "97",
640638
"op_mob": "64",
641-
"and_chr": "96",
639+
"and_chr": "97",
642640
"and_ff": "95",
643641
"and_uc": "12.12",
644642
"samsung": "6.2",
@@ -678,7 +676,7 @@
678676
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/css-has-pseudo"
679677
}
680678
],
681-
"vendors_implementations": 1
679+
"vendors_implementations": 0
682680
},
683681
{
684682
"id": "hexadecimal-alpha-notation",
@@ -693,9 +691,9 @@
693691
"safari": "10",
694692
"opera": "52",
695693
"ios_saf": "10",
696-
"android": "96",
694+
"android": "97",
697695
"op_mob": "64",
698-
"and_chr": "96",
696+
"and_chr": "97",
699697
"and_ff": "95",
700698
"samsung": "8.2"
701699
},
@@ -717,6 +715,8 @@
717715
"specification": "https://www.w3.org/TR/css-color-4/#funcdef-hwb",
718716
"stage": 2,
719717
"browser_support": {
718+
"firefox": "96",
719+
"and_ff": "96",
720720
"safari": "15",
721721
"ios_saf": "15"
722722
},
@@ -729,15 +729,18 @@
729729
"link": "https://github.com/postcss/postcss-color-hwb"
730730
}
731731
],
732-
"vendors_implementations": 1
732+
"vendors_implementations": 2
733733
},
734734
{
735735
"id": "ic-unit",
736736
"title": "`ic` length unit",
737737
"description": "Equal to the used advance measure of the \"\" (CJK water ideograph, U+6C34) glyph found in the font used to render it",
738738
"specification": "https://www.w3.org/TR/css-values-4/#ic",
739739
"stage": 2,
740-
"browser_support": {},
740+
"browser_support": {
741+
"firefox": "97",
742+
"and_ff": "97"
743+
},
741744
"docs": {
742745
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Values_and_Units#dimensions"
743746
},
@@ -747,7 +750,7 @@
747750
"link": "https://github.com/JLHwung/postcss-ic-unit"
748751
}
749752
],
750-
"vendors_implementations": 0
753+
"vendors_implementations": 1
751754
},
752755
{
753756
"id": "image-set-function",
@@ -780,9 +783,9 @@
780783
"safari": "11",
781784
"opera": "40",
782785
"ios_saf": "10.3",
783-
"android": "96",
786+
"android": "97",
784787
"op_mob": "64",
785-
"and_chr": "96",
788+
"and_chr": "97",
786789
"and_ff": "95",
787790
"and_uc": "12.12",
788791
"samsung": "5",
@@ -807,9 +810,9 @@
807810
"safari": "14",
808811
"opera": "75",
809812
"ios_saf": "14",
810-
"android": "96",
813+
"android": "97",
811814
"op_mob": "64",
812-
"and_chr": "96",
815+
"and_chr": "97",
813816
"and_ff": "95",
814817
"samsung": "15"
815818
},
@@ -873,9 +876,9 @@
873876
"safari": "15",
874877
"opera": "76",
875878
"ios_saf": "15",
876-
"android": "96",
879+
"android": "97",
877880
"op_mob": "64",
878-
"and_chr": "96",
881+
"and_chr": "97",
879882
"and_ff": "95",
880883
"samsung": "15"
881884
},
@@ -903,9 +906,9 @@
903906
"safari": "14",
904907
"opera": "75",
905908
"ios_saf": "14",
906-
"android": "96",
909+
"android": "97",
907910
"op_mob": "64",
908-
"and_chr": "96",
911+
"and_chr": "97",
909912
"and_ff": "95",
910913
"samsung": "15"
911914
},
@@ -926,10 +929,7 @@
926929
"description": "A syntax for defining media query ranges using ordinary comparison operators",
927930
"specification": "https://www.w3.org/TR/mediaqueries-4/#range-context",
928931
"stage": 3,
929-
"browser_support": {
930-
"firefox": "63",
931-
"and_ff": "63"
932-
},
932+
"browser_support": {},
933933
"docs": {
934934
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries#Syntax_improvements_in_Level_4"
935935
},
@@ -939,7 +939,7 @@
939939
"link": "https://github.com/postcss/postcss-media-minmax"
940940
}
941941
],
942-
"vendors_implementations": 1
942+
"vendors_implementations": 0
943943
},
944944
{
945945
"id": "nesting-rules",
@@ -969,9 +969,9 @@
969969
"safari": "9",
970970
"opera": "75",
971971
"ios_saf": "9",
972-
"android": "96",
972+
"android": "97",
973973
"op_mob": "64",
974-
"and_chr": "96",
974+
"and_chr": "97",
975975
"and_ff": "95",
976976
"samsung": "15"
977977
},
@@ -1046,10 +1046,10 @@
10461046
"safari": "7",
10471047
"opera": "15",
10481048
"ios_saf": "8",
1049-
"android": "96",
1049+
"android": "97",
10501050
"bb": "10",
10511051
"op_mob": "64",
1052-
"and_chr": "96",
1052+
"and_chr": "97",
10531053
"and_ff": "95",
10541054
"and_uc": "12.12",
10551055
"samsung": "4",
@@ -1078,9 +1078,9 @@
10781078
"firefox": "59",
10791079
"chrome": "65",
10801080
"opera": "52",
1081-
"android": "96",
1081+
"android": "97",
10821082
"op_mob": "64",
1083-
"and_chr": "96",
1083+
"and_chr": "97",
10841084
"and_ff": "95",
10851085
"samsung": "8.2",
10861086
"and_qq": "10.4"
@@ -1133,9 +1133,9 @@
11331133
"safari": "13",
11341134
"opera": "62",
11351135
"ios_saf": "13",
1136-
"android": "96",
1136+
"android": "97",
11371137
"op_mob": "64",
1138-
"and_chr": "96",
1138+
"and_chr": "97",
11391139
"and_ff": "95",
11401140
"samsung": "12"
11411141
},
@@ -1167,9 +1167,9 @@
11671167
"safari": "11",
11681168
"opera": "64",
11691169
"ios_saf": "10.3",
1170-
"android": "96",
1170+
"android": "97",
11711171
"op_mob": "64",
1172-
"and_chr": "96",
1172+
"and_chr": "97",
11731173
"and_ff": "95",
11741174
"samsung": "11.1"
11751175
},
@@ -1191,10 +1191,10 @@
11911191
"safari": "9",
11921192
"opera": "23",
11931193
"ios_saf": "9",
1194-
"android": "96",
1194+
"android": "97",
11951195
"bb": "10",
11961196
"op_mob": "64",
1197-
"and_chr": "96",
1197+
"and_chr": "97",
11981198
"and_ff": "95",
11991199
"and_uc": "12.12",
12001200
"samsung": "4",
@@ -1219,9 +1219,9 @@
12191219
"safari": "7",
12201220
"opera": "25",
12211221
"ios_saf": "8",
1222-
"android": "96",
1222+
"android": "97",
12231223
"op_mob": "64",
1224-
"and_chr": "96",
1224+
"and_chr": "97",
12251225
"and_ff": "95",
12261226
"and_uc": "12.12",
12271227
"samsung": "4",
@@ -1253,9 +1253,9 @@
12531253
"safari": "11",
12541254
"opera": "43",
12551255
"ios_saf": "11",
1256-
"android": "96",
1256+
"android": "97",
12571257
"op_mob": "64",
1258-
"and_chr": "96",
1258+
"and_chr": "97",
12591259
"and_ff": "95",
12601260
"and_uc": "12.12",
12611261
"samsung": "6.2",

0 commit comments

Comments
 (0)