Socket
Socket
Sign inDemoInstall

postcss-loader

Package Overview
Dependencies
9
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.2.0

3

ChangeLog.md

@@ -0,2 +1,5 @@

## 0.2
* Use PostCSS 3.0.
## 0.1
* Initial release.

16

package.json
{
"name": "postcss-loader",
"version": "0.1.0",
"version": "0.2.0",
"description": "PostCSS loader for webpack",

@@ -14,13 +14,13 @@ "keywords": ["webpack", "postcss", "loader", "css", "postproccessor"],

"loader-utils": "^0.2.4",
"postcss": "^2.2.5"
"postcss": "^3.0.0"
},
"devDependencies": {
"jshint-stylish": "1.0.0",
"gulp-webpack": "0.4.1",
"gulp-jshint": "1.8.4",
"gulp-mocha": "1.1.0",
"raw-loader": "0.5.0",
"gulp-webpack": "1.0.0",
"gulp-jshint": "1.9.0",
"gulp-mocha": "1.1.1",
"raw-loader": "0.5.1",
"fs-extra": "0.12.0",
"should": "4.0.4",
"gulp": "3.8.8"
"chai": "1.10.0",
"gulp": "3.8.10"
},

@@ -27,0 +27,0 @@ "scripts": {

@@ -39,11 +39,2 @@ # PostCSS for Webpack [![Build Status](https://travis-ci.org/postcss/postcss-loader.png)](https://travis-ci.org/postcss/postcss-loader)

## Safe Mode
If you add `?safe=1` to requirement, PostCSS will try to correct any syntax
error that it finds in the CSS. For example, it will parse `a {` as `a {}`.
```js
var css = require('postcss?safe=1!./broken')
```
## Plugins Packs

@@ -69,6 +60,16 @@

postcss: {
default: [autoprefixer, csswring],
cleaner: [autoprefixer({ browsers: [] })]
defaults: [autoprefixer, csswring],
cleaner: [autoprefixer({ browsers: [] })]
}
}
```
## Safe Mode
If you add `?safe=1` to requirement, PostCSS will try to correct any syntax
error that it finds in the CSS. For example, it will parse `a {` as `a {}`.
```js
var css = require('postcss?safe=1!./broken')
```
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