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.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.46.2"
8
+ "packageVersion": "7.47.0"
9
9
  }
10
10
  ]
11
11
  }
package/dist/es/core.js CHANGED
@@ -5043,11 +5043,7 @@ class AttributeAllowedValues extends Rule {
5043
5043
  }
5044
5044
  }
5045
5045
  getLocation(attr) {
5046
- if (attr.value !== null) {
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.0";
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) {