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

postcss-modules

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-modules - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

2

build/index.js

@@ -51,3 +51,3 @@ 'use strict';

function getLoader(opts, plugins) {
var root = opts.root || '/';
var root = typeof opts.root === 'undefined' ? '/' : opts.root;
return typeof opts.Loader === 'function' ? new opts.Loader(root, plugins) : new _fileSystemLoader2.default(root, plugins);

@@ -54,0 +54,0 @@ }

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

## 0.7.1
* Allowed empty string as opts.root by Sharon Rolel (@Mosho1) https://github.com/css-modules/postcss-modules/pull/56
## 0.7.0

@@ -3,0 +6,0 @@ * Allow async getJSON by Philipp A. (@flying-sheep) https://github.com/css-modules/postcss-modules/pull/59

{
"name": "postcss-modules",
"version": "0.7.0",
"version": "0.7.1",
"description": "PostCSS plugin to use CSS Modules everywhere",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -168,3 +168,3 @@ # postcss-modules [![Build Status][ci-img]][ci]

require('postcss-modules')({
root: 'C:\',
root: 'C:\\',
});

@@ -171,0 +171,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