Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-loader

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-loader - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 0.4.4
* Fix error on empty PostCSS config.
## 0.4.3

@@ -2,0 +5,0 @@ * Better check for `CssSyntaxError`.

8

index.js

@@ -21,3 +21,5 @@ var loaderUtils = require('loader-utils');

var plugins = this.options.postcss;
if ( params.pack ) {
if ( typeof plugins === 'undefined' ) {
plugins = [];
} else if ( params.pack ) {
plugins = plugins[params.pack];

@@ -28,4 +30,4 @@ } else if ( !Array.isArray(plugins) ) {

var loader = this;
var callback = this.async();
var loader = this;
var callback = this.async();

@@ -32,0 +34,0 @@ postcss(plugins)

{
"name": "postcss-loader",
"version": "0.4.3",
"version": "0.4.4",
"description": "PostCSS loader for webpack",

@@ -14,10 +14,10 @@ "keywords": ["webpack", "loader", "css", "postcss", "postcss-runner"],

"loader-utils": "^0.2.7",
"postcss": "^4.1.9"
"postcss": "^4.1.11"
},
"devDependencies": {
"gulp-webpack": "1.4.0",
"gulp-eslint": "0.11.1",
"gulp-mocha": "2.0.1",
"gulp-eslint": "0.12.0",
"gulp-mocha": "2.1.0",
"raw-loader": "0.5.1",
"fs-extra": "0.18.2",
"fs-extra": "0.18.4",
"chai": "2.3.0",

@@ -24,0 +24,0 @@ "gulp": "3.8.11"

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc