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/es/core.js
CHANGED
|
@@ -5043,11 +5043,7 @@ class AttributeAllowedValues extends Rule {
|
|
|
5043
5043
|
}
|
|
5044
5044
|
}
|
|
5045
5045
|
getLocation(attr) {
|
|
5046
|
-
|
|
5047
|
-
return attr.valueLocation;
|
|
5048
|
-
} else {
|
|
5049
|
-
return attr.keyLocation;
|
|
5050
|
-
}
|
|
5046
|
+
return attr.valueLocation ?? attr.keyLocation;
|
|
5051
5047
|
}
|
|
5052
5048
|
}
|
|
5053
5049
|
|
|
@@ -12750,7 +12746,7 @@ class HtmlValidate {
|
|
|
12750
12746
|
}
|
|
12751
12747
|
|
|
12752
12748
|
const name = "html-validate";
|
|
12753
|
-
const version = "8.20.
|
|
12749
|
+
const version = "8.20.1";
|
|
12754
12750
|
const bugs = "https://gitlab.com/html-validate/html-validate/issues/new";
|
|
12755
12751
|
|
|
12756
12752
|
function definePlugin(plugin) {
|