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

element-class

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

element-class - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

1

index.js

@@ -20,2 +20,3 @@ module.exports = function(opts) {

var classes = el.className.split(' ')
if (classes.indexOf(className) > -1) return classes
classes.push(className)

@@ -22,0 +23,0 @@ el.className = classes.join(' ')

2

package.json

@@ -6,3 +6,3 @@ {

"repository": {"type": "git", "url": "git@github.com:maxogden/element-class.git"},
"version": "0.0.1"
"version": "0.0.2"
}
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