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

ampersand-dom

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ampersand-dom - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

3

ampersand-dom.js

@@ -23,3 +23,4 @@ var dom = module.exports = {

if (el.classList) {
el.classList.remove(getString(cls));
cls = getString(cls);
if (cls) el.classList.remove(cls);
} else {

@@ -26,0 +27,0 @@ // may be faster to not edit unless we know we have it?

{
"name": "ampersand-dom",
"description": "Super light-weight DOM manipulation lib.",
"version": "1.2.4",
"version": "1.2.5",
"author": "'Henrik Joreteg' <henrik@andyet.net>",

@@ -6,0 +6,0 @@ "bugs": {

@@ -113,2 +113,6 @@ var suite = require('tape-suite');

t.doesNotThrow(function () {
dom.removeClass(fixture, '');
}, 'should not complain when removing empty class');
t.end();

@@ -115,0 +119,0 @@ });

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