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

domassist

Package Overview
Dependencies
Maintainers
5
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.7.1 to 1.7.2

.idea/domassist.iml

2

dist/domassist.js

@@ -21,3 +21,3 @@ (function (exports) {

if (selector instanceof HTMLElement || isWindow(selector)) {
if (selector instanceof HTMLElement || selector instanceof Node || isWindow(selector)) {
return [selector];

@@ -24,0 +24,0 @@ } else if (selector instanceof NodeList) {

@@ -5,3 +5,3 @@ import findOne from './findOne';

function find(selector, context = null) {
if (selector instanceof HTMLElement || isWindow(selector)) {
if (selector instanceof HTMLElement || selector instanceof Node || isWindow(selector)) {
return [selector];

@@ -8,0 +8,0 @@ } else if (selector instanceof NodeList) {

{
"name": "domassist",
"version": "1.7.1",
"version": "1.7.2",
"description": "Various dom helpers",

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

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