New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rc-class

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-class - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

7

index.origin.js

@@ -56,4 +56,7 @@ class PrefixArray {

}
} else if (typeof opt === 'string') {
out.push(opt);
} else {
if(opt===undefined){opt='';}
if(typeof opt==='string'){
out.push(opt)
}
}

@@ -60,0 +63,0 @@ return out;

{
"name": "rc-class",
"version": "0.1.0",
"version": "0.1.1",
"description": "handle multiple react classnames",

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

@@ -23,2 +23,6 @@ ## rc-class

<div {...cn({'content':true},{'introduce':true})}></div> //result <div className="bot-content introduce"></div>
//get className
cn().className //result bot
...

@@ -25,0 +29,0 @@

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