Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

classnames

Package Overview
Dependencies
0
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0 to 2.3.1

13

bind.d.ts

@@ -1,10 +0,5 @@

import * as base from './index';
export * from './index';
import { Argument } from './index';
export interface IClassNamesBind
{
bind: (styles: any) => typeof base
}
export const classNames: IClassNamesBind;
export default classNames;
export type Binding = { [key: string]: string };
export default function classNames(this: Binding | void, ...args: Argument[]): string;

@@ -1,1 +0,4 @@

export * from "./index";
export * from './index';
import classNames from './index';
export default classNames;

@@ -12,7 +12,5 @@ // LICENSE is MIT

export type Value = string | number | boolean | undefined | null;
export type Mapping = { [key: string]: Value };
export type Mapping = { [key: string]: any };
export type Argument = Value | Mapping | Argument[];
export function classNames(...args: Argument[]): string;
export default classNames;
export default function classNames(...args: Argument[]): string;
{
"name": "classnames",
"version": "2.3.0",
"version": "2.3.1",
"description": "A simple utility for conditionally joining classNames together",

@@ -29,5 +29,5 @@ "main": "index.js",

"benchmark": "^2.1.4",
"browserify": "^16.2.3",
"browserify": "^17.0.0",
"mocha": "^8.3.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc