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

classnames-loader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classnames-loader - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

12

index.js

@@ -14,5 +14,15 @@ var loaderUtils = require("loader-utils");

var css = classNames.bind(locals);
for (var style in locals) css[style] = locals[style];
for (var style in locals) {
if (!locals.hasOwnProperty(style)) {
continue;
}
if (typeof Object.defineProperty === 'function') {
Object.defineProperty(css, style, {value: locals[style]});
}
else {
css[style] = locals[style];
}
}
module.exports = css;
`;
}

2

package.json
{
"name": "classnames-loader",
"version": "2.0.0",
"version": "2.1.0",
"description": "Webpack loader to automatically bind css-modules to classnames",

@@ -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