Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-classlist-helper

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-classlist-helper - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

2

package.json
{
"name": "react-classlist-helper",
"version": "1.1.1",
"version": "1.2.0",
"description": "Helper to defining multiple classes on a react component.",

@@ -5,0 +5,0 @@ "main": "./dist/react-classlist-helper.min.js",

@@ -6,3 +6,3 @@ import isBoolean from 'lodash.isboolean';

export default function classList(...classes) {
export function classList(...classes) {
if (classes.length === 0) {

@@ -49,1 +49,3 @@ return '';

}
export default classList;
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