Skip to content

fix(deps): update dependency html-validate to v5

HTML-validate requested to merge renovate/html-validate-5.x into master

This MR contains the following updates:

Package Type Update Change
html-validate (source) peerDependencies major ^2.17.0 || ^3.0.0 || ^4.0.0 -> ^2.17.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
html-validate (source) devDependencies major 4.14.0 -> 5.0.0

Release Notes

html-validate/html-validate

v5.0.0

Compare Source

BREAKING CHANGES
  • the library is now shipped as a hybrid CJS/ESM package. If you are simply consuming the CLI tool or one of the existing integrations this will not affect you.

For plugin developers and if you consume the API in any way the biggest change is that the distributed source is now bundled and you can no longer access individual files.

Typically something like:

-import foo from "html-validate/dist/foo";
+import { foo } from "html-validate"

Feel free to open an issue if some symbol you need isn't exported.

If your usage includes checking presence of rules use the ruleExists helper:

-try {
-  require("html-validate/dist/rules/attr-case");
-} catch (err) {
-  /* fallback */
-}
+import { ruleExists } from "html-validate";
+if (!ruleExists("attr-case")) {
+  /* fallback */
+}
  • drop support for NodeJS 10
Features
Dependency upgrades
  • deps: update dependency ajv to v8 (cccb73a)

Configuration

📅 Schedule: At any time (no schedule defined).

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

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


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

This MR has been generated by Renovate Bot.

Edited by HTML-validate

Merge request reports