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.1.0 to 1.1.1

2

lib/classnames.macro.js

@@ -93,3 +93,3 @@ "use strict";

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

@@ -96,0 +96,0 @@

{
"name": "classnames.macro",
"version": "1.1.0",
"version": "1.1.1",
"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