Socket
Socket
Sign inDemoInstall

sh-core

Package Overview
Dependencies
1
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.12 to 0.1.13

7

bin/sh-core.js

@@ -109,8 +109,9 @@ (function webpackUniversalModuleDefinition(root, factory) {

var check = classObject[key];
var className = _.kebabCase(key);
if (_.isBoolean(check) && check) {
classNames.push(key);
classNames.push(className);
} else if (_.isFunction(check) && check()) {
classNames.push(key);
classNames.push(className);
} else if (_.isString(check)) {
classNames.push(key + '-' + check);
classNames.push(className + '-' + _.kebabCase(check));
}

@@ -117,0 +118,0 @@ }

{
"name": "sh-core",
"version": "0.1.12",
"version": "0.1.13",
"description": "Base SASS and React files for SuperheroUI components",

@@ -5,0 +5,0 @@ "main": "bin/sh-core.js",

@@ -15,8 +15,9 @@ import * as _ from 'lodash';

let check = classObject[key];
let className = _.kebabCase(key);
if (_.isBoolean(check) && check) {
classNames.push(key);
classNames.push(className);
} else if (_.isFunction(check) && check()) {
classNames.push(key);
classNames.push(className);
} else if (_.isString(check)) {
classNames.push(key + '-' + check);
classNames.push(className + '-' + _.kebabCase(check));
}

@@ -23,0 +24,0 @@ }

Sorry, the diff of this file is not supported yet

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