Comparing version 1.2.2 to 2.0.0
@@ -1,2 +0,2 @@ | ||
declare type Argument = string | boolean | number | null | undefined; | ||
declare type Argument = string | boolean | null | undefined; | ||
/** | ||
@@ -3,0 +3,0 @@ * Conditionally join classNames into a single string |
@@ -7,4 +7,3 @@ "use strict"; | ||
while (i < arguments.length) { | ||
if ((arg = arguments[i++]) && | ||
(typeof arg === "string" || typeof arg === "number")) { | ||
if ((arg = arguments[i++]) && typeof arg === "string") { | ||
str && (str += " "); | ||
@@ -11,0 +10,0 @@ str += arg; |
{ | ||
"name": "classix", | ||
"version": "1.2.2", | ||
"version": "2.0.0", | ||
"description": "The fastest and tiniest utility for conditionally joining classNames.", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
5089
24