autoprefixer 9.8.4 → 9.8.5
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/CHANGELOG.md +3 -0
- package/lib/processor.js +9 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/lib/processor.js
CHANGED
|
@@ -137,7 +137,13 @@ var Processor = /*#__PURE__*/function () {
|
|
|
137
137
|
node: decl
|
|
138
138
|
});
|
|
139
139
|
} else {
|
|
140
|
-
if (gridPrefixes) {
|
|
140
|
+
if (gridPrefixes && _this.gridStatus(decl, result)) {
|
|
141
|
+
if (decl.value === 'subgrid') {
|
|
142
|
+
result.warn('IE does not support subgrid', {
|
|
143
|
+
node: decl
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
|
|
141
147
|
if (/^(align|justify|place)-items$/.test(prop) && insideGrid(decl)) {
|
|
142
148
|
var fixed = prop.replace('-items', '-self');
|
|
143
149
|
result.warn("IE does not support " + prop + " on grid containers. " + ("Try using " + fixed + " on child elements instead: ") + (decl.parent.selector + " > * { " + fixed + ": " + decl.value + " }"), {
|
|
@@ -295,7 +301,7 @@ var Processor = /*#__PURE__*/function () {
|
|
|
295
301
|
}
|
|
296
302
|
}
|
|
297
303
|
|
|
298
|
-
if (
|
|
304
|
+
if (_this.gridStatus(decl, result) !== false) {
|
|
299
305
|
prefixer = _this.prefixes.add['grid-row-align'];
|
|
300
306
|
|
|
301
307
|
if (prefixer && prefixer.prefixes) {
|
|
@@ -304,9 +310,7 @@ var Processor = /*#__PURE__*/function () {
|
|
|
304
310
|
}
|
|
305
311
|
} else if (decl.prop === 'justify-self') {
|
|
306
312
|
// justify-self flexbox or grid
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
if (_display !== 'flex' && _this.gridStatus(decl, result) !== false) {
|
|
313
|
+
if (_this.gridStatus(decl, result) !== false) {
|
|
310
314
|
prefixer = _this.prefixes.add['grid-column-align'];
|
|
311
315
|
|
|
312
316
|
if (prefixer && prefixer.prefixes) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "9.8.
|
|
3
|
+
"version": "9.8.5",
|
|
4
4
|
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
|
|
5
5
|
"keywords": ["autoprefixer", "css", "prefix", "postcss", "postcss-plugin"],
|
|
6
6
|
"bin": "./bin/autoprefixer",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"repository": "postcss/autoprefixer",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"browserslist": "^4.12.0",
|
|
16
|
-
"caniuse-lite": "^1.0.
|
|
16
|
+
"caniuse-lite": "^1.0.30001097",
|
|
17
17
|
"colorette": "^1.2.0",
|
|
18
18
|
"normalize-range": "^0.1.2",
|
|
19
19
|
"num2fraction": "^1.2.2",
|