Socket
Socket
Sign inDemoInstall

postcss-modules-local-by-default

Package Overview
Dependencies
14
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

9

index.js

@@ -267,5 +267,8 @@ var postcss = require('postcss');

}
rule.nodes.forEach(function(decl) {
localizeDecl(decl, context);
});
// Less-syntax mixins parse as rules with no nodes
if (rule.nodes) {
rule.nodes.forEach(function(decl) {
localizeDecl(decl, context);
});
}
rule.selector = Tokenizer.stringify(newSelector);

@@ -272,0 +275,0 @@ });

{
"name": "postcss-modules-local-by-default",
"version": "1.0.1",
"version": "1.0.2",
"description": "A CSS Modules transform to make local scope the default",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc