Skip to content

chore(deps): update dependency html-validate to v11 - #20

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/html-validate-11.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/html-validate-11.x

Conversation

@renovate

@renovate renovate Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
html-validate (source) ^8.20.1 → ^11.0.0 age confidence

Release Notes

html-validate/html-validate (html-validate)

v11.24.0

Compare Source

Features
  • api: deprecate Rule.report() taking positional arguments, pass in object instead (c421527)
  • rules: no-unknown-elements ignores foreign elements (a4585d8)

v11.23.0

Compare Source

Features
  • api: add HtmlElement.ownerDocument readonly property (3cd61c0)
  • meta: add matches() support to element metadata callbacks (308d741)
  • meta: support conditional permitted content via callback (6d1d65b)
  • rules: make aria-hidden-body autofixable (108bee5)
  • rules: new rule aria-hidden-html (df440f8)
Bug Fixes
  • deps: update dependency ignore to v7.0.17 (32f4ad8)

v11.22.1

Compare Source

Bug Fixes
  • fix catastrophic backtracking when using directives (679d210), closes #​382

v11.22.0

Compare Source

Features
  • api: add HtmlElement.isLabelable readonly property (37f7701)
Bug Fixes
  • deps: update dependency ignore to v7.0.16 (8431c8c)

v11.21.1

Compare Source

Bug Fixes
  • rules: skip omitted end tags (1f92180)

v11.21.0

Compare Source

Features
  • api: add getAriaRoles() method to Rule class (b6c3efc)
  • api: add getAriaVersion() method to Rule class (721e669)

v11.20.1

Compare Source

Bug Fixes
  • api: fix missing @html-validate/w3c-data types (741d28a)

v11.20.0

Compare Source

Features
  • api: add Rule.isValidAriaRole() and Rule.getAriaRoleData() helpers (14bf2f7)
  • config: load aria data based on configured aria configuration property (8cce6fb)
Bug Fixes
  • require </p> as last child of <a> and other excluded parents (f98b3b8), closes #​377

v11.19.0

Compare Source

Features
  • rules: improve autofix for element-case (a032674)
  • rules: new option ignoreForeign to element-case (default true) (5e3ce87)
Bug Fixes
  • rules: do not report element-case errors for implicit tags (a8c730e)

v11.18.0

Compare Source

Features
Bug Fixes
  • deps: update dependency ignore to v7.0.13 (bfdcf98)
  • deps: update dependency ignore to v7.0.14 (f5c35f5)
  • html5: validate height attribute on <canvas> (79f51ea), closes #​336
  • html5: validate width attribute on <canvas> (c8d7251), closes #​336

v11.17.0

Compare Source

Features
  • api: add ErrorFixer.renameTag() (68a3454)
  • api: add related to Message for secondary elements (9d76007)
  • dom: add HtmlElement.startTagLocation and endTagLocation (1fae6dc)
  • rules: suggest multiple elements in prefer-native-element (829addd)
Bug Fixes
  • dom: handle quoted strings and whitespace in selector combinators (a23ffa2), closes #​355
  • lexer: match </script> end tag case-insensitively (6b93d63), closes #​375
  • lexer: match </style> end tag case-insensitively (c6e5ee7), closes #​375
  • lexer: match </textarea> end tag case-insensitively (6c75f7a), closes #​375
  • lexer: match </title> end tag case-insensitively (49ef906), closes #​375
  • lexer: match script, style, textarea and title start tags case-insensitively (f4fffd1), closes #​375
  • parser: match html end tags case-insensitively (ededae8), closes #​374
  • parser: match retained svg desc and title end tags case-insensitively (337d006), closes #​375
  • rules: ignore role matching implicit role in prefer-native-element (c7d51af), closes #​373

v11.16.4

Compare Source

Bug Fixes
  • config: disable cache in FlatConfigLoader when configOverride is given (28da344), closes #​369
  • dom: handle empty attribute selector (8a467b9), closes #​356
  • rules: unrecognized-char-ref flags legacy references without semicolon (b467b84), closes #​312
  • rules: report error on <label> when empty or hidden instead of on <input> (8e70f82), closes #​290

v11.16.3

Compare Source

Bug Fixes
  • add @__NO_SIDE_EFFECTS__ annotation to define* helpers for better treeshaking (f44b9b3)
  • html5: allow color attribute on <link> (b0ab7f9)
  • html5: allow fetchpriority attribute on <link> (d04875f)
  • html5: allow hreflang attribute on <link> (13f73c0)
  • html5: allow media attribute on <link> (3b22eb0)
  • html5: allow sizes attribute on <link> (3a99da7)
  • html5: allow type attribute on <link> (0b298e7), closes #​371

v11.16.2

Compare Source

Bug Fixes
  • cli: handle writing formatter output directly to file descriptors (8014966)
  • deps: update dependency ignore to v7.0.11 (c227d47)
  • deps: update dependency ignore to v7.0.12 (b1f84d7)

v11.16.1

Compare Source

Bug Fixes
  • deps: update dependency ignore to v7.0.10 (b3540ce)
  • fix serialization error when jest or vitest worker got an autofixable result (69b9728), closes #​372

v11.16.0

Compare Source

Features
  • api: unified HtmlValidate.autofix() and deprecate all other variants (40c67f0)
  • rules: add minSectioningRootInitialRank option to heading-level (7b9629f)
Bug Fixes
  • deps: update dependency ignore to v7.0.9 (0337345)

v11.15.0

Compare Source

Features
  • api: add new insertTextBefore() and insertTextAfter() methods to ErrorFixer (ac6ca62)

v11.14.0

Compare Source

Features
  • api: add fixableErrorCount and fixableWarningCount to Report object (5bad2dd)
  • api: add fixableErrorCount and fixableWarningCount to Result object (edc169f)
  • cli: stylish and codeframe formatters output number of fixable errors and warnings (6f230fc)
  • deps: support vitest v5 (9bc1709)

v11.13.0

Compare Source

Features
  • api: expose autofixCollectEdits for integrations to support autofix (b7de9fa)

v11.12.0

Compare Source

Features
  • api: add new removeText() method to ErrorFixer (3484ed3)
  • rules: add suggestions to no-redundant-for (6798b9c)
  • rules: make missing-doctype autofixable (2c4c2e7)
  • rules: make no-raw-characters autofixable (b7e28aa)
  • rules: make script-type autofixable (e15cb1a)
  • rules: make tel-non-breaking autofixable (d91bc8c)
Bug Fixes
  • deps: update dependency ignore to v7.0.7 (77151ba)
  • deps: update dependency ignore to v7.0.8 (17b64af)

v11.11.0

Compare Source

Features
  • api: add location to Attribute with full source location (both key and value) (0648343)
  • rules: make close-attr autofixable (690da4c)
  • rules: make no-dup-class autofixable (83df993)

v11.10.0

Compare Source

Features
  • config: add new configuration option aria to specify which ARIA version to use (64321ed)
  • jest: toHTMLValidate() matcher accepts any object with outerHTML, innerHTML or html() (749dfc2)
  • rules: add autofix support to attr-case (b22b27c)
  • rules: add autofix support to attr-delimiter (72fc6cb)
  • rules: add autofix support to doctype-html (12ed8b8)
  • rules: add autofix support to doctype-style (168b786)
  • rules: add autofix support to element-case (f5bc934)
  • rules: add autofix support to no-trailing-whitespace (94b7dba)
  • rules: add autofix support to no-utf8-bom (78b2ff1)
  • support rule autofixing (4f2a7e8)
  • vitest: toHTMLValidate() matcher accepts any object with outerHTML, innerHTML or html() (3898790)

v11.9.0

Compare Source

Features
  • rules: add include and exclude options to no-dup-id (777acf3)

v11.8.0

Compare Source

Features
  • expose isIgnored() method (a28e069)

v11.7.0

Compare Source

Features
  • handle transformers from plugins in flat config (f1ad4c6)

v11.6.2

Compare Source

Bug Fixes
  • vitest: fix toHTMLValidate() typing (3960603)
  • vitest: fix typescript augmentation of Matchers interface (1680111)

v11.6.1

Compare Source

Bug Fixes
  • fix browser build importing node:fs (1f36aed)
  • fix issue with absolute configuration paths on windows (460dd25), closes #​366
  • ignore null and undefined entries when loading flat configuration (512d534)

v11.6.0

Compare Source

Features
  • config: add FlatCompat helper (497f378)
  • vitest: toBeValid() and toBeInvalid() can use string (markup) input (2e352d6)

v11.5.7

Compare Source

Bug Fixes
  • correct handling of and tags omission (30c43ca)
  • rules: correct message for ancestor end tags (df87249)

v11.5.6

Compare Source

Bug Fixes
  • deps: update dependency ignore to v7.0.6 (c91bdb5)
  • rules: allow ul and ol elements to have naming attributes (a9a6267)

v11.5.5

Compare Source

Bug Fixes
  • plugin: replace DynamicValue instances to avoid issues with esm/cjs hybrids (acfed1b)

v11.5.4

Compare Source

Bug Fixes
  • plugin: add alternative HtmlElement.appendText() api for dynamic values (f25cb18)

v11.5.3

Compare Source

Bug Fixes
  • ignore Vite query string imports in rule (e893a48)
  • remove/replace superfluous words (1854d3f)
Performance Improvements
  • optimize performance with caching and loop refinements (a547729)

v11.5.2

Compare Source

Bug Fixes
  • cli: fix regression bug when passing a directory as target (423116d), closes #​363

v11.5.1

Compare Source

Bug Fixes
  • fix vitest codeframe matchers not resolving repository configuration properly (d41d8c2)

v11.5.0

Compare Source

Features
  • html5: add more attributes for no-unknown-attributes rule (14af5f3)
  • meta: allow named regular expressions for better error messages (9e715b6)
  • new experimental flat config file support (994fbff)

v11.4.0

Compare Source

Features
  • meta: add reference attribute property to mark an attribute as referencing another element (5632529)
Bug Fixes
  • html5: add missing attributes on <input> element (for no-unknown-attributes) (5520b40), closes #​360
  • html5: add missing attributes on <script> element (for no-unknown-attributes) (4b1b993), closes #​360
  • html5: support xmlns global attribute (for no-unknown-attributes) (d3739ec), closes #​360

v11.3.0

Compare Source

Features
  • meta: support pattern attributes (e.g. data-*) (5d27614), closes #​361
Bug Fixes
  • html5: support focusable attribute on <svg> element (d458d6c)
  • html5: support name attribute on <slot> element (e3bb6c2)
  • html5: support value attribute on <option> element (14d8673)
  • rules: ignore [#slot](https://gitlab.com/html-validate/html-validate/issues/slot) in no-unknown-attributes rule (817b111)

v11.2.0

Compare Source

Features

v11.1.0

Compare Source

Features

v11.0.0

Compare Source

⚠ BREAKING CHANGES
  • api: If you used the NodeClosed enum it has been replaced with
    constants in a new Node object.
-if (node.nodeClosed === NodeClosed.EndTag) {
+if (child.nodeType === Node.CLOSED_END_TAG) {
  • api: If you used the NodeType enum it has been replaced with
    constants in a new Node object. This better mimics the DOM API.
-if (child.nodeType === NodeType.ELEMENT_NODE) {
+if (child.nodeType === Node.ELEMENT_NODE) {
  • config: Remove support for unwrapped regular expressions as strings for pattern
    rules. If you have configured one of the affected rules with a regular
    expressing not wrapped with forward slashes / you need to wrap them. If you
    passed in a named pattern or a RegExp object you do not have to change anything.

The affected rules are:

  • class-pattern
  • id-pattern
  • name-pattern
 {
   "id-pattern": ["error", {
-    "pattern": ["foo-.+"]
+    "pattern": ["/foo-.+/"]
   }]
 }
  • meta: The deprecated implicitRole meta property has been removed
    and is replaced by aria.implicitRole. If you are using this property in your
    custom element metadata update it with the new property:
-implicitRole: "button",
+aria: {
+  implicitRole: "button",
+}
  • api: The deprecated HtmlValidate.getRuleDocumentation() and
    HtmlValidate.getRuleDocumentationSync() methods has been removed and is
    replaced with HtmlValidate.getContextualDocumentation() and
    HtmlValidate.getContextualDocumentationSync().
  • api: The deprecated DOMTree.find() method has been removed and is
    replaced by DOMTree.querySelector().
  • api: The deprecated DOMTree.visitDepthFirst() method has been
    removed and is replaced by the walk.depthFirst() helper.
  • api: The deprecated alias nodejsResolver has been removed. Use
    cjsResolver instead.
  • api: This API was never meant for public consumption and has now
    been removed from the public API surface. If you need this API file an issue
    describing your use-case. There is no replacement API.
  • deps: drop support for vitest v1 and v2
  • deps: drop support for jest v28
  • deps: NodeJS v22 or later is now required.
Features
  • api: remove deprecated DOMTree.find() (4451453)
  • api: remove deprecated DOMTree.visitDepthFirst() (b06710b)
  • api: remove deprecated HtmlValidate.getRuleDocumentation() method (f5343c3)
  • api: remove deprecated nodejsResolver alias (ecacb8a)
  • api: replace NodeClosed enum with constants (de55ed9)
  • api: replace NodeType enum with named constants (d33419c)
  • api: the Validator class is no longer exported (f14de27)
  • config: remove support for raw custom pattern regex (692d074)
  • deps: drop support for jest v28 (b1d9b0e)
  • deps: drop support for vitest v1 and v2 (2949863)
  • deps: require nodejs v22 or later (e16c27f)
  • meta: remove deprecated implicitRole property (63689b5)

v10.17.1

Compare Source

10.17.1 (2026-11-25)

Bug Fixes
  • fix catastrophic backtracking when using directives (f32f9a9), closes #​382

v10.17.0

Compare Source

Features
  • rules: new experimental rule no-unknown-attributes (9180e2e), closes #​362

v10.16.0

Compare Source

Features
  • rules: option to allow css-variables with no-inline-style (bb68031)
Bug Fixes
  • adjust rules specifically around <p> validation, “>”, and character sequences starting with “&” (29d1ded)
  • rules: allow aria-label on <search> (0f4fb51), closes #​359

v10.15.0

Compare Source

Features
  • cli: add --performance to help debug performance issues (1451915)
Performance Improvements
  • optimize loading global attributes onto element metadata (11228b8)

v10.14.0

Compare Source

Features
  • html5: add support for more global attributes (db89087)
Bug Fixes
  • parser: improve handling of implicit tag closures (9070a61)
Performance Improvements
  • improve performance by caching child elements (cc938fb)

v10.13.1

Compare Source

Bug Fixes
  • parser: add support for implicit <head> and <body> (e63b1bf)

v10.13.0

Compare Source

Features
Bug Fixes
  • html5: imagesizes is only required if imagesrcset contains width descriptors (6805381), closes #​346

v10.12.2

Compare Source

Bug Fixes
  • treat <html>, <head>, and <body> end tags as optional (ababe68)

v10.12.1

Compare Source

Bug Fixes
  • jest: handle when structuredClone() is missing (93c4d86)

v10.12.0

Compare Source

Features
  • deps: update @​html-validate/stylish to v5.2.0 (455da34)
  • deps: drop support for nodejs v23 (v20, v22 and v24 or greater still supported) (41ea9d6)
  • formatters: option to enable/disable filename in codeframe formatter when using API (cb37548)
  • jest: remove redundant filename from codeframe snapshots (5878b12)

v10.11.3

Compare Source

Bug Fixes
  • jest support for explicitly importing expect from @jest/globals (b9fd392)
  • prefer esm when importing html-validate as library (0b96a73)

v10.11.2

Compare Source

Bug Fixes
  • rules: ignore unterminated character references in url fragments # (dd73de2), closes #​345
  • rules: properly find unrecognized character reference before ? or # (8f124fa)

v10.11.1

Compare Source

Bug Fixes
  • fix config resolution from cwd when using --stdin (5fc4ff7), closes #​344

v10.11.0

Compare Source

Features
  • rules: add include and exclude options to no-redundant-role (864314d), closes #​328

v10.10.0

Compare Source

Features
  • api: make Reporter class internal (78835fc)
  • deps: update dependency @​html-validate/stylish to v5 (e059c03)
  • html5: update <button> and <input> elements to set new submitButton property (43f8494)
  • meta: add submitButton metadata property (00e6843)
  • rules: wcag/h32 supports custom submit buttons via new submitButton property (511bc2d)
Bug Fixes
  • rules: form-dup-name handles implicit default button type (e429a66), closes #​323

v10.9.0

Compare Source

Features
  • rules: new rule deprecated-class (49794db)
Bug Fixes
  • html5: add html-aria mapping for <selectedcontent> (a6e4755)
  • html5: update html-aam mapping for <html> (b3ae63f)

v10.8.0

Compare Source

Features

v10.7.0

Compare Source

Features

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Asia/Calcutta)

  • Branch creation
    • "before 3am on the first day of the month"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/html-validate-11.x branch 2 times, most recently from f25a140 to 43acd46 Compare November 7, 2026 02:39
@renovate
renovate Bot force-pushed the renovate/html-validate-11.x branch 2 times, most recently from 784aaee to 4325a34 Compare November 12, 2026 23:59
@renovate
renovate Bot force-pushed the renovate/html-validate-11.x branch 2 times, most recently from b5bb842 to d274bdc Compare November 26, 2026 18:03
@renovate
renovate Bot force-pushed the renovate/html-validate-11.x branch from d274bdc to 41914f1 Compare November 29, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

0 participants