Socket
Socket
Sign inDemoInstall

classix

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classix - npm Package Compare versions

Comparing version 1.2.2 to 2.0.0

2

dist/index.d.ts

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

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