html-validate 10.11.2 → 10.11.3
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 +7 -7
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/tsdoc-metadata.json +1 -1
- package/dist/esm/core.js +7 -7
- package/dist/esm/core.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/types/jest.d.ts +32 -0
- package/package.json +17 -17
package/dist/cjs/core.js
CHANGED
|
@@ -6832,14 +6832,14 @@ class EmptyTitle extends Rule {
|
|
|
6832
6832
|
}
|
|
6833
6833
|
switch (classifyNodeText(node)) {
|
|
6834
6834
|
case TextClassification.DYNAMIC_TEXT:
|
|
6835
|
-
case TextClassification.STATIC_TEXT:
|
|
6835
|
+
case TextClassification.STATIC_TEXT: {
|
|
6836
6836
|
break;
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
}
|
|
6837
|
+
}
|
|
6838
|
+
case TextClassification.EMPTY_TEXT: {
|
|
6839
|
+
const message = `<${node.tagName}> cannot be empty, must have text content`;
|
|
6840
|
+
this.report(node, message, node.location);
|
|
6842
6841
|
break;
|
|
6842
|
+
}
|
|
6843
6843
|
}
|
|
6844
6844
|
});
|
|
6845
6845
|
}
|
|
@@ -12510,7 +12510,7 @@ class EventHandler {
|
|
|
12510
12510
|
}
|
|
12511
12511
|
|
|
12512
12512
|
const name = "html-validate";
|
|
12513
|
-
const version = "10.11.
|
|
12513
|
+
const version = "10.11.3";
|
|
12514
12514
|
const bugs = "https://gitlab.com/html-validate/html-validate/issues/new";
|
|
12515
12515
|
|
|
12516
12516
|
function freeze(src) {
|