html-validate 10.4.0 → 10.5.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.
- package/dist/cjs/core.js +12 -12
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/matchers.js.map +1 -1
- package/dist/cjs/tsdoc-metadata.json +1 -1
- package/dist/esm/core.js +12 -12
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/matchers.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +3 -3
package/dist/cjs/core.js
CHANGED
|
@@ -1599,7 +1599,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
1599
1599
|
})(NodeType || {});
|
|
1600
1600
|
|
|
1601
1601
|
const DOCUMENT_NODE_NAME = "#document";
|
|
1602
|
-
const TEXT_CONTENT = Symbol("textContent");
|
|
1602
|
+
const TEXT_CONTENT = /* @__PURE__ */ Symbol("textContent");
|
|
1603
1603
|
let counter = 0;
|
|
1604
1604
|
class DOMNode {
|
|
1605
1605
|
nodeName;
|
|
@@ -2402,8 +2402,8 @@ class TextNode extends DOMNode {
|
|
|
2402
2402
|
}
|
|
2403
2403
|
}
|
|
2404
2404
|
|
|
2405
|
-
const ROLE = Symbol("role");
|
|
2406
|
-
const TABINDEX = Symbol("tabindex");
|
|
2405
|
+
const ROLE = /* @__PURE__ */ Symbol("role");
|
|
2406
|
+
const TABINDEX = /* @__PURE__ */ Symbol("tabindex");
|
|
2407
2407
|
var NodeClosed = /* @__PURE__ */ ((NodeClosed2) => {
|
|
2408
2408
|
NodeClosed2[NodeClosed2["Open"] = 0] = "Open";
|
|
2409
2409
|
NodeClosed2[NodeClosed2["EndTag"] = 1] = "EndTag";
|
|
@@ -3359,7 +3359,7 @@ function parseSeverity(value) {
|
|
|
3359
3359
|
}
|
|
3360
3360
|
}
|
|
3361
3361
|
|
|
3362
|
-
const cacheKey = Symbol("aria-naming");
|
|
3362
|
+
const cacheKey = /* @__PURE__ */ Symbol("aria-naming");
|
|
3363
3363
|
const defaultValue = "allowed";
|
|
3364
3364
|
const prohibitedRoles = [
|
|
3365
3365
|
"caption",
|
|
@@ -3578,10 +3578,10 @@ function isPresentation(node) {
|
|
|
3578
3578
|
}
|
|
3579
3579
|
|
|
3580
3580
|
const cachePrefix = classifyNodeText.name;
|
|
3581
|
-
const HTML_CACHE_KEY = Symbol(`${cachePrefix}|html`);
|
|
3582
|
-
const A11Y_CACHE_KEY = Symbol(`${cachePrefix}|a11y`);
|
|
3583
|
-
const IGNORE_HIDDEN_ROOT_HTML_CACHE_KEY = Symbol(`${cachePrefix}|html|ignore-hidden-root`);
|
|
3584
|
-
const IGNORE_HIDDEN_ROOT_A11Y_CACHE_KEY = Symbol(`${cachePrefix}|a11y|ignore-hidden-root`);
|
|
3581
|
+
const HTML_CACHE_KEY = /* @__PURE__ */ Symbol(`${cachePrefix}|html`);
|
|
3582
|
+
const A11Y_CACHE_KEY = /* @__PURE__ */ Symbol(`${cachePrefix}|a11y`);
|
|
3583
|
+
const IGNORE_HIDDEN_ROOT_HTML_CACHE_KEY = /* @__PURE__ */ Symbol(`${cachePrefix}|html|ignore-hidden-root`);
|
|
3584
|
+
const IGNORE_HIDDEN_ROOT_A11Y_CACHE_KEY = /* @__PURE__ */ Symbol(`${cachePrefix}|a11y|ignore-hidden-root`);
|
|
3585
3585
|
var TextClassification = /* @__PURE__ */ ((TextClassification2) => {
|
|
3586
3586
|
TextClassification2[TextClassification2["EMPTY_TEXT"] = 0] = "EMPTY_TEXT";
|
|
3587
3587
|
TextClassification2[TextClassification2["DYNAMIC_TEXT"] = 1] = "DYNAMIC_TEXT";
|
|
@@ -6470,8 +6470,8 @@ const defaults$l = {
|
|
|
6470
6470
|
allowCheckboxDefault: true,
|
|
6471
6471
|
shared: ["radio", "button", "reset", "submit"]
|
|
6472
6472
|
};
|
|
6473
|
-
const UNIQUE_CACHE_KEY = Symbol("form-elements-unique");
|
|
6474
|
-
const SHARED_CACHE_KEY = Symbol("form-elements-shared");
|
|
6473
|
+
const UNIQUE_CACHE_KEY = /* @__PURE__ */ Symbol("form-elements-unique");
|
|
6474
|
+
const SHARED_CACHE_KEY = /* @__PURE__ */ Symbol("form-elements-shared");
|
|
6475
6475
|
function isEnabled(element) {
|
|
6476
6476
|
if (isHTMLHidden(element)) {
|
|
6477
6477
|
return false;
|
|
@@ -7761,7 +7761,7 @@ class NoDupClass extends Rule {
|
|
|
7761
7761
|
}
|
|
7762
7762
|
}
|
|
7763
7763
|
|
|
7764
|
-
const CACHE_KEY = Symbol("no-dup-id");
|
|
7764
|
+
const CACHE_KEY = /* @__PURE__ */ Symbol("no-dup-id");
|
|
7765
7765
|
class NoDupID extends Rule {
|
|
7766
7766
|
documentation() {
|
|
7767
7767
|
return {
|
|
@@ -11978,7 +11978,7 @@ class EventHandler {
|
|
|
11978
11978
|
}
|
|
11979
11979
|
|
|
11980
11980
|
const name = "html-validate";
|
|
11981
|
-
const version = "10.
|
|
11981
|
+
const version = "10.5.0";
|
|
11982
11982
|
const bugs = "https://gitlab.com/html-validate/html-validate/issues/new";
|
|
11983
11983
|
|
|
11984
11984
|
function freeze(src) {
|