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

chi-classes

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chi-classes - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

CHANGELOG.md

3

index.js

@@ -0,1 +1,3 @@

'use strict';
var union = require('mout/array/union'),

@@ -17,2 +19,3 @@ difference = require('mout/array/difference'),

function modify(node) {
/*jshint validthis: true */
var existing = split(node.className);

@@ -19,0 +22,0 @@ node.className = action(existing, this).join(' ');

13

package.json
{
"name": "chi-classes",
"version": "0.0.4",
"version": "0.1.0",
"description": "Easily manage CSS classes on DOM nodes",

@@ -9,3 +9,4 @@ "main": "index.js",

"lint": "hut-build lint",
"serve": "hut-build serve"
"build": "hut-build build",
"start": "hut-build serve"
},

@@ -28,9 +29,9 @@ "repository": {

"devDependencies": {
"tape": "~1.1.1",
"hut-build": "~0.1.4"
"tape": "~2.3.0",
"hut-build": "~0.2.0"
},
"dependencies": {
"flatten-list": "~0.0.2",
"mout": "~0.7.1"
"flatten-list": "0.0.2",
"mout": "~0.8.0"
}
}

@@ -0,1 +1,3 @@

'use strict';
var test = require('tape'),

@@ -2,0 +4,0 @@ classes = require('./'),

Sorry, the diff of this file is not supported yet

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