New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

css-module-builder

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-module-builder - npm Package Compare versions

Comparing version 1.0.0-beta.4 to 1.0.0-beta.5

24

index.js

@@ -29,2 +29,16 @@ 'use strict';

exports.getLocal = getLocal;
function getLocal(module, localName) {
var values;
if (typeof module.locals === 'object') {
values = module.locals[localName];
} else {
values = module[localName];
}
return (values || '');
}
/* Shared counter to guarantee unique ids for nonCSSModule imports */

@@ -50,11 +64,3 @@ var nonCSSModuleImportId = 0;

function eachLocalValue(module, localName, processValue) {
var values;
if (typeof module.locals === 'object') {
values = module.locals[localName];
} else {
values = module[localName];
}
(values || '').split(/\s+/).forEach(processValue);
getLocal(module, localName).split(/\s+/).forEach(processValue);
}

@@ -61,0 +67,0 @@

{
"name": "css-module-builder",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "",

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

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