Skip to content

chore(deps): update dependency html-validate to v2 - autoclosed

This MR contains the following updates:

Package Type Update Change
html-validate (source) devDependencies major 1.16.0 -> 2.23.0

Release Notes

html-validate/html-validate

v2.23.0

Compare Source

Bug Fixes
  • cli: expandFiles path normalization for windows (b902853)
Features
  • config: add two new config presets html-validate:standard and html-validate:a17y (36bf9ec), closes #​90
  • rules: add include and exclude options to prefer-button (b046dc5), closes #​90
  • rules: add isKeywordExtended method for rule authors (ca7e835)

v2.22.0

Compare Source

Bug Fixes
  • elements: add <details> and <summary> elements (47ba673), closes #​89
  • <legend> should allow heading elements (73e150f)
  • deps: update dependency json-merge-patch to v1 (e9f83d2)
Features

v2.21.0

Compare Source

Bug Fixes
  • meta: throw schema validation error when element metadata does not validate (6ecf050), closes #​81
  • schema: allow permittedContent and permittedDescendants to use AND-syntax (2fa742c), closes #​82
  • transform: expose computeOffset (d033538)
Features

v2.20.1

Compare Source

Bug Fixes
  • handle loading js-files via extends again (e29987f)

v2.20.0

Compare Source

Bug Fixes
  • meta: add missing null return type to MetaTable.getMetaFor (44eac5b)
  • allow loading elements from js-file again (5569a94)
  • make ast property private (cb1a2c8)
Features
  • support loading custom formatters (0b02a31)
  • formatters: use factory to load formatters to make it more webpack-friendly (81bef6e)

v2.19.0

Compare Source

Bug Fixes
Features
  • meta: implicit inheritance when overriding existing element (8833a0f)

v2.18.1

Compare Source

Bug Fixes
  • meta: allow regexp literal in element schema (444a472), closes #​70
  • meta: make all meta properties optional in type declaration (eac5052)
  • meta: support case-insensitive regexp flag (96e7343), closes #​69
  • rules: use original wcag rule names (1d5aa3c)
Reverts

v2.18.0

Compare Source

Bug Fixes
  • validate input[list] (9c70db2)
  • rules: no-dup-id handles when id is set but omitted value (5f678a5)
  • rules: no-missing-references ignores omitted references (b8863cd)
  • rules: add contextual documentation for deprecated (7fbf433)
  • rules: add contextual documentation for element-name (2a98bad)
  • rules: better and more contextual messages for deprecated (3602be7)
  • rules: contextual documentation for deprecated-rule (8b10601)
  • rules: improve documentation for doctype-html (1a896a8)
  • shim: expose ConfigError and UserError (2d002c7)
  • transform: ignore non-string values in TemplateExtractor (7f27c8b)
  • allow both null and empty string when attribute allows empty values (5b6991b)
Features
  • attribute-allowed-values handle omitted values (962d079)
  • new rule attribute-empty-style (a328b55)

v2.17.1

Compare Source

Bug Fixes
  • disable void-style when using toHTMLValidate matcher (4d6bb3d)

v2.17.0

Compare Source

Bug Fixes
  • elements: <img> srcset attribute cannot be empty (27699ad)
  • jest: typescript compatibility with jest@23 (4efae54)
  • rules: add aria-label helper (6d5d963)
  • rules: fix deprecated-rule missing location (1156c1e)
  • change config merge order in toHTMLValidate (204a8fa)
  • rules: handle aria-label on links for WCAG H30 (eb01542), closes #​67
Features
  • rules: mark void as deprecated (f6afc0f), closes #​58
  • rules: new rule no-self-closing (d9c869b), closes #​58
  • rules: new rule script-element (48ad6da)
  • rules: new rule script-type (a680f1d)
  • rules: new rule void-content (c93c63b), closes #​58
  • rules: new rule void-style (f30de03), closes #​58
  • allow configuration override when using validate{String,Source} (6e62852)

v2.16.0

Compare Source

Bug Fixes
  • cli: fix typo when using --init with vuejs (6eee478)
  • dom: querySelector and friends return empty when selector is empty (6a871de)
  • schema: add title and description to most properties (a7cea78)
  • schema: handle $schema in config and elements (a4f9054)
  • add missing jest.js and jest.d.ts (8b767c2)
Features
  • add import html-validate/jest as a shortcut to the jest matchers (4ccf6ed)
  • expose NodeClosed, TextNode, Plugin and Parser (f344527)

v2.15.0

Compare Source

Features
  • plugin: load default transformer if loading named transformer without name (efb0eb9)

v2.14.0

Compare Source

Features
  • elements: make <legend> in <fieldset> optional (covered by new h71 rule instead) (f3a59b9)
  • rules: new method getTagsDerivedFrom to get tag and tags inheriting from it (0118738)
  • rules: new rule wcag/h71 requiring <fieldset> to have <legend> (1b8ceab)

v2.13.0

Compare Source

Features
  • meta: allow plugins to add copyable metadata (242eaa8)

v2.12.0

Compare Source

Bug Fixes
  • rules: dont report elements where the tag is already correct (ee354a0), closes #​65
Features

v2.11.0

Compare Source

Bug Fixes
  • dom: use case-insensitive match for is() (d2687c2)
  • plugin: fix rule type definition (6f0213d)
Features
  • dom: add generateSelector (12e718e)
  • dom: new type DOMInternalID (ada3cd3)
  • dom: support pseudo-classes :first-child, :last-child and :nth-child (af39ea1)
  • rules: add selector to reported errors (6b6ae3d)
  • rules: improved reported error location for some rules (216b449)
  • shim: expose Report (6091050)

v2.10.0

Compare Source

Features
  • rules: make options typesafe (c85342a)
  • rules: new rule prefer-native-element (06c44ce)

v2.9.0

Compare Source

Features
  • jest: add toHTMLValidate() (44388ea)
  • rules: check references from aria-controls (9e9805d)

v2.8.2

Compare Source

Bug Fixes
  • create directory only if missing (5db6fe8)

v2.8.1

Compare Source

Bug Fixes
  • cli: create output directory as needed (b5569f3)
  • meta: load metadata with readFile instead of require (c5de95b)

v2.8.0

Compare Source

Features
  • rule: validate matching case for start and end tags (288cf86)
  • rules: refactor parseStyle from element-case and attr-case (24d8fad)
  • rules: support multiple case styles (5a397bd), closes #​50
  • rules: support pascalcase and camelcase for element-case rule (be7d692)

v2.7.0

Compare Source

Bug Fixes
  • config: more helpful error when user forgot to load plugin (62bbbe5)
Features
  • config: configuration schema validation (c9fe45f), closes #​61
  • dom: allow plugins to modify element annotation (979da57)
  • dom: allow plugins to modify element metadata (cbe3e78), closes #​62
  • elements: make schema publicly accessible (bcab9e4)
  • rules: use annotated name (1895ef4)

v2.6.0

Compare Source

Bug Fixes
  • cli: useful error message when metadata is invalid (165da72)
  • elements: allow requiredAttributes and others to be empty array (244d038), closes #​59
  • error: better schema validation error (9a5f8fe)
Features
  • lexer: handle rudimentary template tags such as <% .. %> (a0f6190)

v2.5.0

Compare Source

Bug Fixes
  • config: keep track of plugin original name (9e7ea3e)
  • config: throw error is plugin is missing (bc61a6b)
  • htmlvalidate: more verbose output from --dump-source (f0089c6)
  • htmlvalidate: prefer html-validate:recommended (8deb03a)
Features
  • htmlvalidate: new method canValidate to test if a file can be validated (f523028)

v2.4.3

Compare Source

Bug Fixes
  • parser: report parser-error when stream ends before required token (50e1d67)

v2.4.2

Compare Source

Bug Fixes
  • config: handle exceptions from loading plugin (3aec3f3), closes #​55

v2.4.1

Compare Source

Bug Fixes
  • lexer: handle missing Source properties (like offset) (2092942)

v2.4.0

Compare Source

Bug Fixes
  • config: init can now safely be called multiple times (ed46c19)
  • htmlvalidate: initialize global config if needed (6d05747)
Features
  • htmlvalidate: retain offset when yielding multiple sources (fe1705e)
  • transform: add offsetToLineColumn helper (1e61d00)

v2.3.0

Compare Source

Bug Fixes
  • config: update --init config for html-validate-vue@2 (6553ded)
Features
  • transform: support hasChain to test if a transformer is present (e8ef4f5)

v2.2.0

Compare Source

Bug Fixes
  • config: throw ConfigError when elements cannot be loaded (62c08e7)
  • docs: update plugin docs (340d0ca)
  • plugin: make all fields optional (a587239)
Features
  • plugin: allow specifying name (6554f72)

v2.1.0

Compare Source

Bug Fixes
  • deps: update dependency chalk to v3 (f84bd35)
  • rules: wcag/h32 support custom form elements (e00e1ed)
Features

v2.0.1

Compare Source

Bug Fixes
  • config: better error when loading missing transformer from plugin (db48a01)
  • config: fix loading non-plugin transformer with plugin present (c9ad080), closes #​54

v2.0.0

Compare Source

Features
  • config: transformers must now operate on Source (9c2112c)
  • config: wrap transformer error message better (9f833e9)
  • htmlvalidate: string sources are now transformed too (0645e37)
  • plugin: support exposing transformers from plugins (1370565)
  • transform: add context object as this (cb76cb3)
  • transform: add version number to API (94a5663)
  • transform: adding test utils (9e42590)
  • transform: support chaining transformers (4a6fd51)
  • transform: support returning iterators (623b2f2)
BREAKING CHANGES
  • config: Previously transformers took a filename and had to read data of the file itself. Transformers will now receive a Source instance with the data preread.

Renovate configuration

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

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

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by WhiteSource Renovate. View repository job log here.

Edited by Mend Renovate

Merge request reports

Loading