Socket
Socket
Sign inDemoInstall

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.0 to 1.2.1

3

CHANGELOG.md

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

## 1.2.1
* Fix relative `config` parameter resolving (by Simen Bekkhus).
## 1.2

@@ -2,0 +5,0 @@ * Add `config` parameter (by sainthkh).

@@ -51,5 +51,14 @@ var loaderUtils = require('loader-utils');

var callback = loader.async();
var configPath = params.config ?
path.join(process.cwd(), params.config) : path.dirname(file);
var configPath;
if (params.config) {
if (path.isAbsolute(params.config)) {
configPath = params.config;
} else {
configPath = path.join(process.cwd(), params.config);
}
} else {
configPath = path.dirname(file);
}
Promise.resolve().then(function () {

@@ -56,0 +65,0 @@ if ( typeof options !== 'undefined' ) {

2

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

@@ -5,0 +5,0 @@ "engines": {

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