autoprefixer 10.4.6 → 10.4.9

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.
package/README.md CHANGED
@@ -33,9 +33,6 @@ of Autoprefixer.
33
33
  ::-moz-placeholder {
34
34
  color: gray;
35
35
  }
36
- :-ms-input-placeholder {
37
- color: gray;
38
- }
39
36
  ::placeholder {
40
37
  color: gray;
41
38
  }
package/data/prefixes.js CHANGED
@@ -1041,7 +1041,52 @@ f(prefixAnyLink, browsers =>
1041
1041
  )
1042
1042
 
1043
1043
  // unicode-bidi
1044
- let prefixBidi = require('caniuse-lite/data/features/css-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
+ }
1045
1090
 
1046
1091
  f(prefixBidi, browsers =>
1047
1092
  prefix(['isolate'], {
@@ -5,7 +5,11 @@ class PrintColorAdjust extends Declaration {
5
5
  * Change property name for WebKit-based browsers
6
6
  */
7
7
  prefixed(prop, prefix) {
8
- return prefix + 'print-color-adjust'
8
+ if (prefix === '-moz-') {
9
+ return 'color-adjust'
10
+ } else {
11
+ return prefix + 'print-color-adjust'
12
+ }
9
13
  }
10
14
 
11
15
  /**
package/lib/processor.js CHANGED
@@ -113,11 +113,13 @@ class Processor {
113
113
  let value = decl.value
114
114
 
115
115
  if (prop === 'color-adjust') {
116
- result.warn(
117
- 'Replace color-adjust to print-color-adjust. ' +
118
- 'The color-adjust shorthand is currently deprecated.',
119
- { node: decl }
120
- )
116
+ if (parent.every(i => i.prop !== 'print-color-adjust')) {
117
+ result.warn(
118
+ 'Replace color-adjust to print-color-adjust. ' +
119
+ 'The color-adjust shorthand is currently deprecated.',
120
+ { node: decl }
121
+ )
122
+ }
121
123
  } else if (prop === 'grid-row-span') {
122
124
  result.warn(
123
125
  'grid-row-span is not part of final Grid Layout. Use grid-row.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "10.4.6",
3
+ "version": "10.4.9",
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"
@@ -35,8 +35,8 @@
35
35
  "postcss": "^8.1.0"
36
36
  },
37
37
  "dependencies": {
38
- "browserslist": "^4.20.3",
39
- "caniuse-lite": "^1.0.30001334",
38
+ "browserslist": "^4.21.3",
39
+ "caniuse-lite": "^1.0.30001394",
40
40
  "fraction.js": "^4.2.0",
41
41
  "normalize-range": "^0.1.2",
42
42
  "picocolors": "^1.0.0",