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

classnames.macro

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classnames.macro - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

4

lib/classnames.macro.js

@@ -97,2 +97,6 @@ "use strict";

return babel.types.conditionalExpression(node, babel.types.binaryExpression("+", babel.types.stringLiteral(" "), node), babel.types.stringLiteral(""));
}
if (babel.types.isTemplateLiteral(node)) {
return babel.types.binaryExpression("+", babel.types.stringLiteral(getPrefix()), node);
} // TODO: This probably does not belong here

@@ -99,0 +103,0 @@

2

package.json
{
"name": "classnames.macro",
"version": "1.2.0",
"version": "1.3.0",
"description": "Babel Macro for conditionally joining CSS class names together",

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

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