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

@domql/element

Package Overview
Dependencies
Maintainers
0
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domql/element - npm Package Compare versions

Comparing version 2.5.108 to 2.5.109

2

dist/cjs/mixins/attr.js

@@ -34,3 +34,3 @@ "use strict";

const val = (0, import_utils.exec)(params[attr], element);
if (!(0, import_utils.isUndefined)(val) && !(0, import_utils.isNull)(val) && node.setAttribute)
if (val !== false && !(0, import_utils.isUndefined)(val) && !(0, import_utils.isNull)(val) && node.setAttribute)
node.setAttribute(attr, val);

@@ -37,0 +37,0 @@ else if (node.removeAttribute)

@@ -17,3 +17,3 @@ 'use strict'

// if (__attr[attr] === val) return
if (!isUndefined(val) && !isNull(val) && node.setAttribute) node.setAttribute(attr, val)
if (val !== false && !isUndefined(val) && !isNull(val) && node.setAttribute) node.setAttribute(attr, val)
else if (node.removeAttribute) node.removeAttribute(attr)

@@ -20,0 +20,0 @@ __attr[attr] = val

{
"name": "@domql/element",
"version": "2.5.108",
"version": "2.5.109",
"license": "MIT",

@@ -34,3 +34,3 @@ "type": "module",

},
"gitHead": "ff2aaabca6543ef8e045b928e8bd222d62f4a409",
"gitHead": "dfa037cb33f1053acf140d2efc28e02e68a35eac",
"devDependencies": {

@@ -37,0 +37,0 @@ "@babel/core": "^7.12.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