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.2 to 0.0.3

14

build/src/mixClass.js

@@ -9,3 +9,2 @@ 'use strict';

var _arguments = arguments;
var isArray = Array.isArray;

@@ -15,5 +14,8 @@ var keys = Object.keys;

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

@@ -29,5 +31,5 @@ return;

var argKeys = keys(arg);
argKeys.forEach(function (item) {
if (arg[item]) {
classes.push(key);
argKeys.forEach(function (k) {
if (arg[k]) {
classes.push(k);
}

@@ -34,0 +36,0 @@ });

{
"name": "class-lib",
"version": "0.0.2",
"version": "0.0.3",
"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