Skip to content

fix(deps): update dependency html-validate to v11#313

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

fix(deps): update dependency html-validate to v11#313
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/html-validate-11.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 11, 2026

This PR contains the following updates:

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

Release Notes

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

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)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 from e73ee85 to 86a3e26 Compare May 12, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants