Skip to content

Bump html-validate from 10.9.0 to 11.0.0#1195

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/html-validate-11.0.0
Closed

Bump html-validate from 10.9.0 to 11.0.0#1195
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/html-validate-11.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 12, 2026

Bumps html-validate from 10.9.0 to 11.0.0.

Release notes

Sourced from html-validate's releases.

v11.0.0

11.0.0 (2026-05-11)

⚠ 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

... (truncated)

Changelog

Sourced from html-validate's changelog.

11.0.0 (2026-05-11)

⚠ 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",
+}

... (truncated)

Commits
  • bc551d6 chore(release): 11.0.0
  • 5a6f51a Merge branch 'feature/breaking' into 'master'
  • 3c90173 docs: add migration guide
  • de55ed9 feat(api)!: replace NodeClosed enum with constants
  • d33419c feat(api)!: replace NodeType enum with named constants
  • 692d074 feat(config)!: remove support for raw custom pattern regex
  • 63689b5 feat(meta)!: remove deprecated implicitRole property
  • f5343c3 feat(api)!: remove deprecated HtmlValidate.getRuleDocumentation() method
  • 4451453 feat(api)!: remove deprecated DOMTree.find()
  • b06710b feat(api)!: remove deprecated DOMTree.visitDepthFirst()
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [html-validate](https://gitlab.com/html-validate/html-validate) from 10.9.0 to 11.0.0.
- [Release notes](https://gitlab.com/html-validate/html-validate/tags)
- [Changelog](https://gitlab.com/html-validate/html-validate/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/html-validate/html-validate/compare/v10.9.0...v11.0.0)

---
updated-dependencies:
- dependency-name: html-validate
  dependency-version: 11.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. javascript Pull requests that update Javascript code labels May 12, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 19, 2026

Superseded by #1196.

@dependabot dependabot Bot closed this May 19, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/html-validate-11.0.0 branch May 19, 2026 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file. javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant