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 1.2.2 to 1.3.0

3

CHANGELOG.md

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

## 1.3
* Allow object in syntax options, not only path for require (by Jeff Escalante).
## 1.2.2

@@ -2,0 +5,0 @@ * Watch `postcss.config.js` for changes (by Michael Ciniawsky).

@@ -94,9 +94,21 @@ var loaderUtils = require('loader-utils');

if ( params.syntax ) {
opts.syntax = require(params.syntax);
if ( typeof params.syntax === 'string' ) {
opts.syntax = require(params.syntax);
} else {
opts.syntax = params.syntax;
}
}
if ( params.parser ) {
opts.parser = require(params.parser);
if ( typeof params.parser === 'string' ) {
opts.parser = require(params.parser);
} else {
opts.parser = params.parser;
}
}
if ( params.stringifier ) {
opts.stringifier = require(params.stringifier);
if ( typeof params.stringifier === 'string' ) {
opts.stringifier = require(params.stringifier);
} else {
opts.stringifier = params.stringifier;
}
}

@@ -103,0 +115,0 @@

12

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

@@ -20,10 +20,10 @@ "engines": {

"loader-utils": "^0.2.16",
"object-assign": "^4.1.0",
"postcss": "^5.2.9",
"object-assign": "^4.1.1",
"postcss": "^5.2.12",
"postcss-load-config": "^1.1.0"
},
"devDependencies": {
"eslint": "^3.13.1",
"eslint": "^3.15.0",
"eslint-config-postcss": "^2.0.2",
"fs-extra": "^1.0.0",
"fs-extra": "^2.0.0",
"gulp": "^3.9.1",

@@ -34,3 +34,3 @@ "gulp-eslint": "^3.0.1",

"json-loader": "^0.5.4",
"lint-staged": "^3.2.6",
"lint-staged": "^3.3.0",
"postcss-js": "^0.2.0",

@@ -37,0 +37,0 @@ "postcss-safe-parser": "^2.0.0",

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