New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

html-validate

Package Overview
Dependencies
Maintainers
0
Versions
277
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-validate - npm Package Versions

1
28

1.5.0

Diff

Changelog

Source

1.5.0 (2019-08-17)

Bug Fixes

  • elements: <img> must have non-empty src (8916e19)
  • rules: change output format of wcag/h37 and element-required-attributes to match (26f5074)

Features

  • cli: add --config to specify a custom configuration file (87b565f)
  • elements: <fieldset> requires <legend> (0bce9dd)
  • elements: <head> requires <title> (8aaa801)
  • elements: src, href, etc attributes cannot be empty (89c7ac6)
  • parser: include valueLocation in doctype event (803ddae)
  • rules: new rule doctype-html (46061a7)
  • rules: new rule element-required-content (664dead)
  • rules: new rule no-style-tag (a1dff5c)
ext
published 1.4.0 •

Changelog

Source

1.4.0 (2019-08-15)

Bug Fixes

  • deps: update dependency acorn-walk to v7 (1fe89e0)
  • reporter: fix {error,warning}Count after merging reports (bc657d0)
  • reporter: require {error,warning}Count to be present in Result (b1306a4)

Features

  • cli: add new --max-warnings flag (e78a1dc)
  • reporter: add {error,warning}Count summary to Report object (2bae1d0)
ext
published 1.3.0 •

Changelog

Source

1.3.0 (2019-08-12)

Features

  • rules: new rule no-missing-references (4653384)
ext
published 1.2.1 •

Changelog

Source

1.2.1 (2019-07-30)

  • fix configuration when using multiple extends.
ext
published 1.2.0 •

Changelog

Source

1.2.0 (2019-06-23)

  • new rule prefer-tbody to validate presence of <tbody> in <table.
  • add requiredAncestors metadata and validation to test elements with additional requirements for the parent elements, such as <area> and <dd>/<dt>.
  • add HtmlElement.closest() to locate a parent matching the given selector.
  • add HtmlElement.matches() to test if a selector matches the given element.
  • fix so multiple combinators can be used in selectors, e.g. foo > bar > baz now works as expected.
ext
published 1.1.2 •

Changelog

Source

1.1.2 (2019-06-18)

  • allow div to group elements under dl (fixes #44).
ext
published 1.1.1 •

Changelog

Source

1.1.1 (2019-06-07)

  • Reporter is now exposed in shim.
  • getFormatter CLI API now returns output as string instead of writing directly to stdout.
  • codeframe formatter now adds final newline in output.
ext
published 1.1.0 •

Changelog

Source

1.1.0 (2019-06-04)

  • input-missing-label now validates <textarea> and <select>.
  • querySelector and friends now handles [attr="keyword-with-dashes"] and similar constructs.
ext
published 1.0.0 •

Changelog

Source

1.0.0 (2019-05-12)

  • rule wcag/h37 now ignores images with role="presentation or aria-hidden="true".
  • allow crossorigin attribute to be boolean or "" (maps to "anonymous").
  • add <picture> element.
  • mark <style> as foreign as to not trigger errors inside css content.
  • allow whitespace around attribute equals sign, e.g class = "foo".
ext
published 0.25.1 •

Changelog

Source

0.25.1 (2019-05-10)

  • allow raw ampersands (&) in quoted attributes.
  • extend set of allowed characters in unquoted attributes in lexer.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc