autoprefixer 10.4.7 → 10.4.8

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/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.8",
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.30001373",
40
40
  "fraction.js": "^4.2.0",
41
41
  "normalize-range": "^0.1.2",
42
42
  "picocolors": "^1.0.0",