autoprefixer 10.4.7 → 10.4.10

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,9 +1041,10 @@ f(prefixAnyLink, browsers =>
1041
1041
  )
1042
1042
 
1043
1043
  // unicode-bidi
1044
- let prefixBidi = require('caniuse-lite/data/features/css-unicode-bidi')
1045
1044
 
1046
- f(prefixBidi, browsers =>
1045
+ let bidiIsolate = require('caniuse-lite/data/features/mdn-css-unicode-bidi-isolate')
1046
+
1047
+ f(bidiIsolate, browsers =>
1047
1048
  prefix(['isolate'], {
1048
1049
  props: ['unicode-bidi'],
1049
1050
  feature: 'css-unicode-bidi',
@@ -1051,7 +1052,9 @@ f(prefixBidi, browsers =>
1051
1052
  })
1052
1053
  )
1053
1054
 
1054
- f(prefixBidi, { match: /y x|a x #2/ }, browsers =>
1055
+ let bidiPlaintext = require('caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext')
1056
+
1057
+ f(bidiPlaintext, browsers =>
1055
1058
  prefix(['plaintext'], {
1056
1059
  props: ['unicode-bidi'],
1057
1060
  feature: 'css-unicode-bidi',
@@ -1059,7 +1062,9 @@ f(prefixBidi, { match: /y x|a x #2/ }, browsers =>
1059
1062
  })
1060
1063
  )
1061
1064
 
1062
- f(prefixBidi, { match: /y x/ }, browsers =>
1065
+ let bidiOverride = require('caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override')
1066
+
1067
+ f(bidiOverride, { match: /y x/ }, browsers =>
1063
1068
  prefix(['isolate-override'], {
1064
1069
  props: ['unicode-bidi'],
1065
1070
  feature: 'css-unicode-bidi',
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.7",
3
+ "version": "10.4.10",
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.30001335",
38
+ "browserslist": "^4.21.3",
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",