html-validate 8.20.0 → 8.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.js +2 -6
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/tsdoc-metadata.json +1 -1
- package/dist/es/core.js +2 -6
- package/dist/es/core.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +9 -9
package/dist/cjs/core.js
CHANGED
|
@@ -5053,11 +5053,7 @@ class AttributeAllowedValues extends Rule {
|
|
|
5053
5053
|
}
|
|
5054
5054
|
}
|
|
5055
5055
|
getLocation(attr) {
|
|
5056
|
-
|
|
5057
|
-
return attr.valueLocation;
|
|
5058
|
-
} else {
|
|
5059
|
-
return attr.keyLocation;
|
|
5060
|
-
}
|
|
5056
|
+
return attr.valueLocation ?? attr.keyLocation;
|
|
5061
5057
|
}
|
|
5062
5058
|
}
|
|
5063
5059
|
|
|
@@ -12760,7 +12756,7 @@ class HtmlValidate {
|
|
|
12760
12756
|
}
|
|
12761
12757
|
|
|
12762
12758
|
const name = "html-validate";
|
|
12763
|
-
const version = "8.20.
|
|
12759
|
+
const version = "8.20.1";
|
|
12764
12760
|
const bugs = "https://gitlab.com/html-validate/html-validate/issues/new";
|
|
12765
12761
|
|
|
12766
12762
|
function definePlugin(plugin) {
|