postcss-modules-local-by-default
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -0,0 +0,0 @@ # Change Log |
@@ -192,2 +192,5 @@ var postcss = require('postcss'); | ||
module.exports = postcss.plugin('postcss-modules-local-by-default', function (options) { | ||
if (typeof options !== 'object') { | ||
options = {}; // If options is undefined or not an object the plugin fails | ||
} | ||
if(options && options.mode) { | ||
@@ -194,0 +197,0 @@ if(options.mode !== "global" && options.mode !== "local" && options.mode !== "pure") { |
{ | ||
"name": "postcss-modules-local-by-default", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "A CSS Modules transform to make local scope the default", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,0 +0,0 @@ [![Build Status][ci-img]][ci] [![codecov][codecov-img]][codecov] [![npm][npm-img]][npm] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
15609
242
1