autoprefixer-stylus
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -21,2 +21,6 @@ var ap = require('autoprefixer'), | ||
// pull `hideWarnings` out so we can pass opts to autoprefixer | ||
var showWarnings = !opts.hideWarnings; | ||
delete opts.hideWarnings; | ||
return function(style){ | ||
@@ -56,3 +60,5 @@ style = this || style; | ||
res.warnings().forEach(console.error); | ||
if (showWarnings) { | ||
res.warnings().forEach(console.error); | ||
} | ||
@@ -59,0 +65,0 @@ // return the css output |
{ | ||
"name": "autoprefixer-stylus", | ||
"description": "autoprefixer for stylus", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"license": "MIT", | ||
@@ -12,7 +12,7 @@ "repository": { | ||
"chai": "3.5.0", | ||
"coffee-script": "1.10.0", | ||
"coveralls": "2.11.12", | ||
"coffee-script": "1.11.1", | ||
"coveralls": "2.11.14", | ||
"css-parse": "2.0.0", | ||
"istanbul": "0.4.5", | ||
"mocha": "3.0.2", | ||
"mocha": "3.1.0", | ||
"mocha-lcov-reporter": "1.2.0", | ||
@@ -32,6 +32,6 @@ "stylus": "0.54.5" | ||
"dependencies": { | ||
"autoprefixer": "6.4.1", | ||
"autoprefixer": "6.5.0", | ||
"multi-stage-sourcemap": "0.2.1", | ||
"postcss": "5.1.2" | ||
"postcss": "5.2.4" | ||
} | ||
} |
@@ -37,2 +37,9 @@ Autoprefixer Stylus | ||
By default, this plugin will display any warnings. You can disable this with the `hideWarnings` option. Example below: | ||
```js | ||
stylus(css) | ||
.use(autoprefixer({hideWarnings: true}); | ||
``` | ||
If you'd like to install globally and run from the command line, you can do it like this: | ||
@@ -39,0 +46,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5626
55
50
0
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedautoprefixer@6.5.0(transitive)
+ Addedbrowserslist@1.4.0(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedpostcss@5.2.4(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
- Removedautoprefixer@6.4.1(transitive)
- Removedbrowserslist@1.3.6(transitive)
- Removedpostcss@5.1.2(transitive)
Updatedautoprefixer@6.5.0
Updatedpostcss@5.2.4