html-validate 11.2.0 → 11.3.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.
@@ -1650,6 +1650,7 @@ export declare interface MetaElement extends Omit<MetaData, "deprecatedAttribute
1650
1650
  /** WAI-ARIA attributes */
1651
1651
  aria: NormalizedMetaAria;
1652
1652
  attributes: Record<string, MetaAttribute>;
1653
+ patternAttributes: NormalizedPatternAttribute[];
1653
1654
  textContent?: TextContent;
1654
1655
  }
1655
1656
 
@@ -1845,6 +1846,18 @@ export declare interface NormalizedMetaAria {
1845
1846
  naming(node: HtmlElementLike): "allowed" | "prohibited";
1846
1847
  }
1847
1848
 
1849
+ /**
1850
+ * A pattern attribute name with associated validation rules.
1851
+ *
1852
+ * @public
1853
+ */
1854
+ export declare interface NormalizedPatternAttribute extends MetaAttribute {
1855
+ /** Original glob pattern */
1856
+ pattern: string;
1857
+ /** Compiled regular expression */
1858
+ regexp: RegExp;
1859
+ }
1860
+
1848
1861
  /* Excluded from this release type: ParseBeginEvent */
1849
1862
 
1850
1863
  /* Excluded from this release type: ParseEndEvent */
@@ -1893,6 +1893,7 @@ export declare interface MetaElement extends Omit<MetaData, "deprecatedAttribute
1893
1893
  /** WAI-ARIA attributes */
1894
1894
  aria: NormalizedMetaAria;
1895
1895
  attributes: Record<string, MetaAttribute>;
1896
+ patternAttributes: NormalizedPatternAttribute[];
1896
1897
  textContent?: TextContent;
1897
1898
  }
1898
1899
 
@@ -2088,6 +2089,18 @@ export declare interface NormalizedMetaAria {
2088
2089
  naming(node: HtmlElementLike): "allowed" | "prohibited";
2089
2090
  }
2090
2091
 
2092
+ /**
2093
+ * A pattern attribute name with associated validation rules.
2094
+ *
2095
+ * @public
2096
+ */
2097
+ export declare interface NormalizedPatternAttribute extends MetaAttribute {
2098
+ /** Original glob pattern */
2099
+ pattern: string;
2100
+ /** Compiled regular expression */
2101
+ regexp: RegExp;
2102
+ }
2103
+
2091
2104
  /* Excluded from this release type: ParseBeginEvent */
2092
2105
 
2093
2106
  /* Excluded from this release type: ParseEndEvent */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-validate",
3
- "version": "11.2.0",
3
+ "version": "11.3.0",
4
4
  "description": "Offline HTML5 validator and linter",
5
5
  "keywords": [
6
6
  "html",