grunt-autoprefixer
Advanced tools
Comparing version 2.1.0 to 2.2.0
{ | ||
"name": "grunt-autoprefixer", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Parse CSS and add vendor-prefixed CSS properties using the Can I Use database. Based on Autoprefixer.", | ||
@@ -29,3 +29,3 @@ "author": { | ||
"dependencies": { | ||
"autoprefixer-core": "^4.0.0", | ||
"autoprefixer-core": "^5.0.0", | ||
"diff": "~1.2.1", | ||
@@ -32,0 +32,0 @@ "chalk": "~0.5.0" |
@@ -45,5 +45,5 @@ # grunt-autoprefixer | ||
Type: `Array` | ||
Default value: `['> 1%', 'last 2 versions', 'Firefox ESR', 'Opera 12.1']` | ||
Default value: an array with [default browsers](https://github.com/ai/browserslist) | ||
You can specify browsers actual for your project: | ||
You can specify browsers actual for your project using this option: | ||
@@ -56,4 +56,13 @@ ```js | ||
[Read more](https://github.com/postcss/autoprefixer#browsers). | ||
Or using a global config file named `browserslist` at the root of your project: | ||
``` | ||
# Browsers that we support | ||
> 5% in US | ||
Last 2 versions | ||
``` | ||
Read more about browserslist [here](https://github.com/ai/browserslist). | ||
#### options.cascade | ||
@@ -97,3 +106,3 @@ Type: `Boolean` | ||
* `annotation` (boolean or string): set this option to `true` or `false` to enable or disable annotation comments. You can also overwrite an output sourcemap path using this option, e.g. `path/file.css.map` (by default, Autoprefixer will save your sourcemap to a directory where you save CSS). This option requires `inline` to be `false` or undefined. | ||
* `sourceContent` (boolean): whether original contents (e.g. Sass sources) will be included to a sourcemap. By default, Autoprefixer will add contents only for new sourcemaps or if a previous sourcemap has them. | ||
* `sourcesContent` (boolean): whether original contents (e.g. Sass sources) will be included to a sourcemap. By default, Autoprefixer will add contents only for new sourcemaps or if a previous sourcemap has them. | ||
@@ -112,7 +121,7 @@ #### options.silent | ||
#### options.safw | ||
#### options.safe | ||
Type: `Boolean` | ||
Default value: `false` | ||
Enable or disable (https://github.com/postcss/postcss#safe-mode)[PostCSS safe mode]. | ||
Enable or disable [PostCSS safe mode](https://github.com/postcss/postcss#safe-mode). | ||
@@ -119,0 +128,0 @@ ```js |
@@ -59,2 +59,3 @@ 'use strict'; | ||
options = this.options({ | ||
browsers: undefined, | ||
cascade: true, | ||
@@ -61,0 +62,0 @@ diff: false, |
Sorry, the diff of this file is not supported yet
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
13478
83
204
+ Addedautoprefixer-core@5.2.1(transitive)
+ Addedbrowserslist@0.4.0(transitive)
+ Addedes6-promise@2.3.0(transitive)
+ Addednum2fraction@1.2.2(transitive)
+ Addedpostcss@4.1.16(transitive)
+ Addedsource-map@0.4.4(transitive)
- Removedautoprefixer-core@4.0.2(transitive)
- Removedpostcss@3.0.7(transitive)
- Removedsource-map@0.1.43(transitive)
Updatedautoprefixer-core@^5.0.0