html-validate 8.25.0 → 8.25.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 +74 -12
- package/dist/cjs/core.js.map +1 -1
- package/dist/es/core.js +74 -12
- package/dist/es/core.js.map +1 -1
- package/dist/types/browser.d.ts +7 -1
- package/dist/types/index.d.ts +7 -1
- package/package.json +3 -3
package/dist/types/browser.d.ts
CHANGED
|
@@ -559,6 +559,7 @@ export declare class DOMNode {
|
|
|
559
559
|
*/
|
|
560
560
|
get textContent(): string;
|
|
561
561
|
append(node: DOMNode): void;
|
|
562
|
+
/* Excluded from this release type: insertBefore */
|
|
562
563
|
isRootElement(): boolean;
|
|
563
564
|
/**
|
|
564
565
|
* Tests if two nodes are the same (references the same object).
|
|
@@ -576,6 +577,7 @@ export declare class DOMNode {
|
|
|
576
577
|
* node has no children.
|
|
577
578
|
*/
|
|
578
579
|
get lastChild(): DOMNode;
|
|
580
|
+
/* Excluded from this release type: removeChild */
|
|
579
581
|
/* Excluded from this release type: blockRule */
|
|
580
582
|
/* Excluded from this release type: blockRules */
|
|
581
583
|
/* Excluded from this release type: disableRule */
|
|
@@ -591,6 +593,8 @@ export declare class DOMNode {
|
|
|
591
593
|
/* Excluded from this release type: ruleEnabled */
|
|
592
594
|
/* Excluded from this release type: ruleBlockers */
|
|
593
595
|
generateSelector(): string | null;
|
|
596
|
+
/* Excluded from this release type: _setParent */
|
|
597
|
+
private _removeChild;
|
|
594
598
|
}
|
|
595
599
|
|
|
596
600
|
/**
|
|
@@ -758,13 +762,13 @@ export declare interface FormAssociated {
|
|
|
758
762
|
*/
|
|
759
763
|
export declare class HtmlElement extends DOMNode {
|
|
760
764
|
readonly tagName: string;
|
|
761
|
-
readonly parent: HtmlElement | null;
|
|
762
765
|
readonly voidElement: boolean;
|
|
763
766
|
readonly depth: number;
|
|
764
767
|
closed: NodeClosed;
|
|
765
768
|
protected readonly attr: Record<string, Attribute[]>;
|
|
766
769
|
private metaElement;
|
|
767
770
|
private annotation;
|
|
771
|
+
private _parent;
|
|
768
772
|
/* Excluded from this release type: _adapter */
|
|
769
773
|
private constructor();
|
|
770
774
|
/**
|
|
@@ -861,6 +865,7 @@ export declare class HtmlElement extends DOMNode {
|
|
|
861
865
|
*/
|
|
862
866
|
matches(selector: string): boolean;
|
|
863
867
|
get meta(): MetaElement | null;
|
|
868
|
+
get parent(): HtmlElement | null;
|
|
864
869
|
/**
|
|
865
870
|
* Get current role for this element (explicit with `role` attribute or mapped
|
|
866
871
|
* with implicit role).
|
|
@@ -971,6 +976,7 @@ export declare class HtmlElement extends DOMNode {
|
|
|
971
976
|
/* Excluded from this release type: someChildren */
|
|
972
977
|
/* Excluded from this release type: everyChildren */
|
|
973
978
|
/* Excluded from this release type: find */
|
|
979
|
+
/* Excluded from this release type: _setParent */
|
|
974
980
|
}
|
|
975
981
|
|
|
976
982
|
/**
|
package/dist/types/index.d.ts
CHANGED
|
@@ -657,6 +657,7 @@ export declare class DOMNode {
|
|
|
657
657
|
*/
|
|
658
658
|
get textContent(): string;
|
|
659
659
|
append(node: DOMNode): void;
|
|
660
|
+
/* Excluded from this release type: insertBefore */
|
|
660
661
|
isRootElement(): boolean;
|
|
661
662
|
/**
|
|
662
663
|
* Tests if two nodes are the same (references the same object).
|
|
@@ -674,6 +675,7 @@ export declare class DOMNode {
|
|
|
674
675
|
* node has no children.
|
|
675
676
|
*/
|
|
676
677
|
get lastChild(): DOMNode;
|
|
678
|
+
/* Excluded from this release type: removeChild */
|
|
677
679
|
/* Excluded from this release type: blockRule */
|
|
678
680
|
/* Excluded from this release type: blockRules */
|
|
679
681
|
/* Excluded from this release type: disableRule */
|
|
@@ -689,6 +691,8 @@ export declare class DOMNode {
|
|
|
689
691
|
/* Excluded from this release type: ruleEnabled */
|
|
690
692
|
/* Excluded from this release type: ruleBlockers */
|
|
691
693
|
generateSelector(): string | null;
|
|
694
|
+
/* Excluded from this release type: _setParent */
|
|
695
|
+
private _removeChild;
|
|
692
696
|
}
|
|
693
697
|
|
|
694
698
|
/**
|
|
@@ -978,13 +982,13 @@ export declare interface FSLike {
|
|
|
978
982
|
*/
|
|
979
983
|
export declare class HtmlElement extends DOMNode {
|
|
980
984
|
readonly tagName: string;
|
|
981
|
-
readonly parent: HtmlElement | null;
|
|
982
985
|
readonly voidElement: boolean;
|
|
983
986
|
readonly depth: number;
|
|
984
987
|
closed: NodeClosed;
|
|
985
988
|
protected readonly attr: Record<string, Attribute[]>;
|
|
986
989
|
private metaElement;
|
|
987
990
|
private annotation;
|
|
991
|
+
private _parent;
|
|
988
992
|
/* Excluded from this release type: _adapter */
|
|
989
993
|
private constructor();
|
|
990
994
|
/**
|
|
@@ -1081,6 +1085,7 @@ export declare class HtmlElement extends DOMNode {
|
|
|
1081
1085
|
*/
|
|
1082
1086
|
matches(selector: string): boolean;
|
|
1083
1087
|
get meta(): MetaElement | null;
|
|
1088
|
+
get parent(): HtmlElement | null;
|
|
1084
1089
|
/**
|
|
1085
1090
|
* Get current role for this element (explicit with `role` attribute or mapped
|
|
1086
1091
|
* with implicit role).
|
|
@@ -1191,6 +1196,7 @@ export declare class HtmlElement extends DOMNode {
|
|
|
1191
1196
|
/* Excluded from this release type: someChildren */
|
|
1192
1197
|
/* Excluded from this release type: everyChildren */
|
|
1193
1198
|
/* Excluded from this release type: find */
|
|
1199
|
+
/* Excluded from this release type: _setParent */
|
|
1194
1200
|
}
|
|
1195
1201
|
|
|
1196
1202
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "html-validate",
|
|
3
|
-
"version": "8.25.
|
|
3
|
+
"version": "8.25.1",
|
|
4
4
|
"description": "Offline html5 validator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"html",
|
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
"jest-snapshot": "29.7.0",
|
|
245
245
|
"jsdom": "25.0.1",
|
|
246
246
|
"memfs": "4.14.0",
|
|
247
|
-
"npm-pkg-lint": "3.10.
|
|
247
|
+
"npm-pkg-lint": "3.10.2",
|
|
248
248
|
"npm-run-all2": "7.0.1",
|
|
249
|
-
"rollup": "4.
|
|
249
|
+
"rollup": "4.26.0",
|
|
250
250
|
"rollup-plugin-esbuild": "6.1.1",
|
|
251
251
|
"stream-buffers": "3.0.3",
|
|
252
252
|
"ts-jest": "29.2.5",
|