html-validate 8.12.0 → 8.13.0

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.42.2"
8
+ "packageVersion": "7.42.3"
9
9
  }
10
10
  ]
11
11
  }
package/dist/es/core.js CHANGED
@@ -727,6 +727,9 @@ const definitions = {
727
727
  },
728
728
  {
729
729
  $ref: "#/definitions/expression"
730
+ },
731
+ {
732
+ "function": true
730
733
  }
731
734
  ]
732
735
  },
@@ -1365,7 +1368,12 @@ class MetaTable {
1365
1368
  function expandProperties(node, entry) {
1366
1369
  for (const key of dynamicKeys) {
1367
1370
  const property = entry[key];
1368
- if (property && typeof property !== "boolean") {
1371
+ if (!property) {
1372
+ continue;
1373
+ }
1374
+ if (typeof property === "function") {
1375
+ setMetaProperty(entry, key, property(node._adapter));
1376
+ } else if (typeof property !== "boolean") {
1369
1377
  setMetaProperty(entry, key, evaluateProperty(node, property));
1370
1378
  }
1371
1379
  }
@@ -11964,7 +11972,7 @@ class HtmlValidate {
11964
11972
  }
11965
11973
 
11966
11974
  const name = "html-validate";
11967
- const version = "8.12.0";
11975
+ const version = "8.13.0";
11968
11976
  const bugs = "https://gitlab.com/html-validate/html-validate/issues/new";
11969
11977
 
11970
11978
  function definePlugin(plugin) {