@dr/bem-helper
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -37,3 +37,3 @@ function BEM (...args) { | ||
function modifierReducer (result, [modifier, value]) { | ||
if (value !== false && value !== undefined && value !== null) { | ||
if (value !== false && value !== null && typeof value !== "undefined") { | ||
result.push(`--${modifier}${(value !== true) ? `-${value}` : "" }`); | ||
@@ -40,0 +40,0 @@ } |
{ | ||
"name": "@dr/bem-helper", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Helper to create BEM-style classnames", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4231