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

class-lib

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-lib - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

9

build/es/mixClass.js

@@ -11,7 +11,6 @@ 'use strict';

var mixClass = function mixClass() {
var _arguments = arguments;
var classes = [];
keys(arguments).forEach(function (key) {
var arg = _arguments[key];
var args = arguments;
keys(args).forEach(function (key) {
var arg = args[key];
if (!arg) {

@@ -22,3 +21,3 @@ return;

if (argType === 'string' || argType === 'number') {
classes.push(arg);
classes = classes.concat(arg.split(' '));
} else if (isArray(arg)) {

@@ -25,0 +24,0 @@ classes.push(mixClass.apply(null, arg));

@@ -19,7 +19,6 @@ 'use strict';

var mixClass = function mixClass() {
var _arguments = arguments;
var classes = [];
keys(arguments).forEach(function (key) {
var arg = _arguments[key];
var args = arguments;
keys(args).forEach(function (key) {
var arg = args[key];
if (!arg) {

@@ -30,3 +29,3 @@ return;

if (argType === 'string' || argType === 'number') {
classes.push(arg);
classes = classes.concat(arg.split(' '));
} else if (isArray(arg)) {

@@ -33,0 +32,0 @@ classes.push(mixClass.apply(null, arg));

{
"name": "class-lib",
"version": "0.0.7",
"version": "0.0.8",
"description": "ClassName Library",

@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism",

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