autoprefixer
Advanced tools
Comparing version 9.4.9 to 9.4.10
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 9.4.10 | ||
* Add warning for named Grid rows. | ||
## 9.4.9 | ||
@@ -5,0 +8,0 @@ * Fix `grid-template` and `@media` case (by Bogdan Dolin). |
@@ -207,2 +207,7 @@ "use strict"; | ||
return undefined; | ||
} else if (/^grid-template/.test(prop) && value.indexOf('[') !== -1) { | ||
result.warn('Autoprefixer currently does not support line names. ' + 'Try using grid-template-areas instead.', { | ||
node: decl, | ||
word: '[' | ||
}); | ||
} | ||
@@ -209,0 +214,0 @@ } |
{ | ||
"name": "autoprefixer", | ||
"version": "9.4.9", | ||
"version": "9.4.10", | ||
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website", | ||
@@ -14,3 +14,3 @@ "keywords": ["autoprefixer", "css", "prefix", "postcss", "postcss-plugin"], | ||
"browserslist": "^4.4.2", | ||
"caniuse-lite": "^1.0.30000939", | ||
"caniuse-lite": "^1.0.30000940", | ||
"normalize-range": "^0.1.2", | ||
@@ -17,0 +17,0 @@ "num2fraction": "^1.2.2", |
@@ -106,6 +106,8 @@ # Autoprefixer [![Cult Of Martians][cult-img]][cult] | ||
Autoprefixer can be used to translate modern CSS Grid syntax into IE 10 and IE 11 syntax, | ||
but this polyfill will not work in 100% of cases. This is why it is disabled by default. | ||
Autoprefixer can be used to translate modern CSS Grid syntax into IE 10 | ||
and IE 11 syntax, but this polyfill will not work in 100% of cases. | ||
This is why it is disabled by default. | ||
First, you need to enable Grid prefixes by using either the `grid: "autoplace"` option or the `/* autoprefixer grid: autoplace */` control comment. | ||
First, you need to enable Grid prefixes by using either the `grid: "autoplace"` | ||
option or the `/* autoprefixer grid: autoplace */` control comment. | ||
@@ -116,5 +118,8 @@ Second, you need to test every fix with Grid in IE. It is not an enable and | ||
Third, there is only very limited auto placement support. Read the [Grid Autoplacement support in IE](#grid-autoplacement-support-in-ie) section for more details. | ||
Third, there is only very limited auto placement support. Read the | ||
[Grid Autoplacement support in IE](#grid-autoplacement-support-in-ie) section | ||
for more details. | ||
Fourth, if you are not using the autoplacement feature, the best way to use Autoprefixer is by using `grid-template` or `grid-template-areas`. | ||
Fourth, if you are not using the autoplacement feature, the best way | ||
to use Autoprefixer is by using `grid-template` or `grid-template-areas`. | ||
@@ -319,3 +324,3 @@ ```css | ||
[postcss-loader]: https://github.com/postcss/postcss-loader | ||
[webpack]: http://webpack.github.io/ | ||
[webpack]: https://webpack.js.org/ | ||
@@ -441,3 +446,3 @@ | ||
I recommend you to learn how to use build tools like [Gulp]. | ||
I recommend you to learn how to use build tools like [Parcel]. | ||
They work much better and will open you a whole new world of useful plugins | ||
@@ -452,4 +457,5 @@ and automation. | ||
* [Visual Studio](https://github.com/madskristensen/WebCompiler) | ||
([how to](https://stackoverflow.com/a/54908636/2440)) | ||
[Gulp]: https://gulpjs.com/ | ||
[Parcel]: https://parceljs.org/ | ||
@@ -601,10 +607,13 @@ | ||
properties. With `"no-2009"` value Autoprefixer will add prefixes only | ||
for final and IE versions of specification. Default is `true`. | ||
* `grid` (false|"autoplace"|"no-autoplace"): should Autoprefixer add IE prefixes for Grid Layout | ||
properties? | ||
* `false` (default): prevent Autoprefixer from outputting CSS Grid translations. | ||
* `"autoplace"`: enable Autoprefixer grid translations and *include* autoplacement | ||
support. You can also use `/* autoprefixer grid: autoplace */` in your CSS. | ||
* `"no-autoplace"`: enable Autoprefixer grid translations but *exclude* autoplacement | ||
support. You can also use `/* autoprefixer grid: no-autoplace */` in your CSS. | ||
for final and IE 10 versions of specification. Default is `true`. | ||
* `grid` (false|"autoplace"|"no-autoplace"): should Autoprefixer | ||
add IE 10-11 prefixes for Grid Layout properties? | ||
* `false` (default): prevent Autoprefixer from outputting | ||
CSS Grid translations. | ||
* `"autoplace"`: enable Autoprefixer grid translations | ||
and *include* autoplacement support. You can also use | ||
`/* autoprefixer grid: autoplace */` in your CSS. | ||
* `"no-autoplace"`: enable Autoprefixer grid translations | ||
but *exclude* autoplacement support. You can also use | ||
`/* autoprefixer grid: no-autoplace */` in your CSS. | ||
(alias for the deprecated `true` value) | ||
@@ -822,7 +831,7 @@ * `stats` (object): custom [usage statistics] for `> 10% in my stats` | ||
Elements must not be manually placed or given column/row spans inside an autoplacement | ||
grid. Only the most basic of autoplacement grids are supported. Grid cells can still be | ||
placed manually outside the the explicit grid though. Support for manually placing | ||
individual grid cells inside an explicit autoplacement grid is planned for a | ||
future release. | ||
Elements must not be manually placed or given column/row spans inside | ||
an autoplacement grid. Only the most basic of autoplacement grids are supported. | ||
Grid cells can still be placed manually outside the the explicit grid though. | ||
Support for manually placing individual grid cells inside an explicit | ||
autoplacement grid is planned for a future release. | ||
@@ -829,0 +838,0 @@ ```css |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
327422
7434
1045
Updatedcaniuse-lite@^1.0.30000940