autoprefixer 10.4.9 → 10.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/data/prefixes.js +45 -64
  2. package/package.json +2 -2
package/data/prefixes.js CHANGED
@@ -659,21 +659,6 @@ f(prefixPointer, browsers =>
659
659
  // Text decoration
660
660
  let prefixDecoration = require('caniuse-lite/data/features/text-decoration')
661
661
 
662
- f(prefixDecoration, browsers =>
663
- prefix(
664
- [
665
- 'text-decoration-style',
666
- 'text-decoration-color',
667
- 'text-decoration-line',
668
- 'text-decoration'
669
- ],
670
- {
671
- feature: 'text-decoration',
672
- browsers
673
- }
674
- )
675
- )
676
-
677
662
  f(prefixDecoration, { match: /x.*#[235]/ }, browsers =>
678
663
  prefix(['text-decoration-skip', 'text-decoration-skip-ink'], {
679
664
  feature: 'text-decoration',
@@ -681,6 +666,42 @@ f(prefixDecoration, { match: /x.*#[235]/ }, browsers =>
681
666
  })
682
667
  )
683
668
 
669
+ let prefixDecorationShorthand = require('caniuse-lite/data/features/mdn-text-decoration-shorthand')
670
+
671
+ f(prefixDecorationShorthand, browsers =>
672
+ prefix(['text-decoration'], {
673
+ feature: 'text-decoration',
674
+ browsers
675
+ })
676
+ )
677
+
678
+ let prefixDecorationColor = require('caniuse-lite/data/features/mdn-text-decoration-color')
679
+
680
+ f(prefixDecorationColor, browsers =>
681
+ prefix(['text-decoration-color'], {
682
+ feature: 'text-decoration',
683
+ browsers
684
+ })
685
+ )
686
+
687
+ let prefixDecorationLine = require('caniuse-lite/data/features/mdn-text-decoration-line')
688
+
689
+ f(prefixDecorationLine, browsers =>
690
+ prefix(['text-decoration-line'], {
691
+ feature: 'text-decoration',
692
+ browsers
693
+ })
694
+ )
695
+
696
+ let prefixDecorationStyle = require('caniuse-lite/data/features/mdn-text-decoration-style')
697
+
698
+ f(prefixDecorationStyle, browsers =>
699
+ prefix(['text-decoration-style'], {
700
+ feature: 'text-decoration',
701
+ browsers
702
+ })
703
+ )
704
+
684
705
  // Text Size Adjust
685
706
  let prefixTextSizeAdjust = require('caniuse-lite/data/features/text-size-adjust')
686
707
 
@@ -1041,54 +1062,10 @@ f(prefixAnyLink, browsers =>
1041
1062
  )
1042
1063
 
1043
1064
  // unicode-bidi
1044
- // Can I Use DB removed this feature. Here is a copy from the last version.
1045
- let prefixBidi = {
1046
- A: {
1047
- A: { 132: 'J D E F A B 1B' },
1048
- B: {
1049
- 1: 'P Q R S T U V W X Y Z c d e f g h i j k l m n o a H',
1050
- 132: 'C K L G M N O'
1051
- },
1052
- C: {
1053
- 1: 'LB MB NB OB PB QB RB SB TB pB UB qB VB WB b XB YB ZB aB bB cB dB eB fB gB hB iB jB kB P Q R rB S T U V W X Y Z c d e f g h i j k l m n o a H sB',
1054
- 33: '0 1 2 3 4 5 6 7 8 9 N O q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB',
1055
- 132: '2B oB I p J D E F 3B 4B',
1056
- 292: 'A B C K L G M'
1057
- },
1058
- D: {
1059
- 1: 'JB KB LB MB NB OB PB QB RB SB TB pB UB qB VB WB b XB YB ZB aB bB cB dB eB fB gB hB iB jB kB P Q R S T U V W X Y Z c d e f g h i j k l m n o a H sB 5B 6B',
1060
- 132: 'I p J D E F A B C K L G M',
1061
- 548: '0 1 2 3 4 5 6 7 8 9 N O q r s t u v w x y z AB BB CB DB EB FB GB HB IB'
1062
- },
1063
- E: {
1064
- 132: 'I p J D E 7B tB 8B 9B AC',
1065
- 548: 'F A B C K L G BC uB lB mB CC DC EC vB wB xB yB nB FC'
1066
- },
1067
- F: {
1068
- 132: '0 1 2 3 4 5 6 7 8 9 F B C G M N O q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB b XB YB ZB aB bB cB dB eB fB gB hB iB jB kB P Q R rB S T U V W X Y Z GC HC IC JC lB zB KC mB'
1069
- },
1070
- G: {
1071
- 132: 'E tB LC 0B MC NC OC PC',
1072
- 548: 'QC RC SC TC UC VC WC XC YC ZC aC bC cC dC eC vB wB xB yB nB'
1073
- },
1074
- H: { 16: 'fC' },
1075
- I: { 1: 'H', 16: 'oB I gC hC iC jC 0B kC lC' },
1076
- J: { 16: 'D A' },
1077
- K: { 1: 'b', 16: 'A B C lB zB mB' },
1078
- L: { 1: 'H' },
1079
- M: { 1: 'a' },
1080
- N: { 132: 'A B' },
1081
- O: { 16: 'mC' },
1082
- P: { 1: 'nC oC pC qC rC uB sC tC uC vC wC nB xC yC', 16: 'I' },
1083
- Q: { 16: 'zC' },
1084
- R: { 16: '0C' },
1085
- S: { 33: '1C' }
1086
- },
1087
- B: 4,
1088
- C: 'CSS unicode-bidi property'
1089
- }
1090
1065
 
1091
- f(prefixBidi, browsers =>
1066
+ let bidiIsolate = require('caniuse-lite/data/features/mdn-css-unicode-bidi-isolate')
1067
+
1068
+ f(bidiIsolate, browsers =>
1092
1069
  prefix(['isolate'], {
1093
1070
  props: ['unicode-bidi'],
1094
1071
  feature: 'css-unicode-bidi',
@@ -1096,7 +1073,9 @@ f(prefixBidi, browsers =>
1096
1073
  })
1097
1074
  )
1098
1075
 
1099
- f(prefixBidi, { match: /y x|a x #2/ }, browsers =>
1076
+ let bidiPlaintext = require('caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext')
1077
+
1078
+ f(bidiPlaintext, browsers =>
1100
1079
  prefix(['plaintext'], {
1101
1080
  props: ['unicode-bidi'],
1102
1081
  feature: 'css-unicode-bidi',
@@ -1104,7 +1083,9 @@ f(prefixBidi, { match: /y x|a x #2/ }, browsers =>
1104
1083
  })
1105
1084
  )
1106
1085
 
1107
- f(prefixBidi, { match: /y x/ }, browsers =>
1086
+ let bidiOverride = require('caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override')
1087
+
1088
+ f(bidiOverride, { match: /y x/ }, browsers =>
1108
1089
  prefix(['isolate-override'], {
1109
1090
  props: ['unicode-bidi'],
1110
1091
  feature: 'css-unicode-bidi',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "10.4.9",
3
+ "version": "10.4.11",
4
4
  "description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "browserslist": "^4.21.3",
39
- "caniuse-lite": "^1.0.30001394",
39
+ "caniuse-lite": "^1.0.30001399",
40
40
  "fraction.js": "^4.2.0",
41
41
  "normalize-range": "^0.1.2",
42
42
  "picocolors": "^1.0.0",