Socket
Socket
Sign inDemoInstall

grunt-autoprefixer

Package Overview
Dependencies
47
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.2.0

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc