@domql/element
Advanced tools
Comparing version 2.5.108 to 2.5.109
@@ -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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
189214