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

domassist

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

domassist - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

lib/closest.js

10

domassist.default.js

@@ -14,2 +14,6 @@ import addClass from './lib/addClass';

import matches from './lib/matches';
import toggleClass from './lib/toggleClass';
import closest from './lib/closest';
import ready from './lib/ready';
import toArray from './lib/toArray';

@@ -29,3 +33,7 @@ export default {

show,
matches
matches,
toggleClass,
closest,
ready,
toArray
};

@@ -14,2 +14,6 @@ export { default as addClass } from './lib/addClass';

export { default as matches } from './lib/matches';
export { default as toggleClass } from './lib/toggleClass';
export { default as closest } from './lib/closest';
export { default as ready } from './lib/ready';
export { default as toArray } from './lib/toArray';
export { default } from './domassist.default';

2

lib/matches.js

@@ -21,3 +21,3 @@ function matches(el, selector) {

if (match) {
return match.call(el, selector);
return (el) ? match.call(el, selector) : null;
}

@@ -24,0 +24,0 @@ }

{
"name": "domassist",
"version": "1.0.1",
"version": "1.1.0",
"description": "Various dom helpers",

@@ -5,0 +5,0 @@ "main": "domassist.js",

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