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
1
Versions
282
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.1.1

Diff

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.
ext
published 0.25.0 •

Changelog

Source

0.25.0 (2019-04-23)

  • new rule unrecognized-char-ref for validating character references.
  • add support for auto style for attr-quotes rule.
  • new rule no-raw-characters to check for presence of unescaped <, > and & characters.
ext
published 0.24.2 •

Changelog

Source

0.24.2 (2019-03-31)

Features

  • new rule meta-refresh.
  • new event element:ready triggered after an element and its children has been fully constructed.
  • add plugin callbacks init() and setup().
  • new rule require-sri.
  • add <slot> element.
ext
published 0.24.1 •

Changelog

Source

0.24.1 (2019-03-26)

Bugfixes

  • fix broken edit links in footer.
  • fix broken import causing typescript API users getting build errors.
ext
published 0.24.0 •

Changelog

Source

0.24.0 (2019-03-26)

Features

  • adding link to edit documentation and view rule source in documentation.
  • new rule wcag/h36.
  • new rule wcag/h30.
  • new rule long-title.
  • new rule empty-title.
  • add UserError exception which is to be used for any error which is not caused by an internal error, e.g. configuration errors or a plugin. The error suppresses the notice about internal error which should be reported as a bug.
  • reworked and extendable validation of elements metadata. Plugins may now add support for custom metadata.

Bugfixes

  • fix handling of plugins with no rules.
ext
published 0.23.0 •

Changelog

Source

0.23.0 (2019-03-20)

Features

  • new rule empty-heading validating headers have textual content.
  • let plugins add configuration presets.
  • add processElement hook on Source.
  • add textContent property on DOMNode to get text (recursive) from child nodes. A new node type TextNode is added.
  • add firstChild and lastChild to DOMNode.
  • docs: precompile syntax highlighting for smoother page loads.
  • expose Config, ConfigData and ConfigLoader in shim.
ext
published 0.22.1 •

Changelog

Source

0.22.1 (2019-02-25)

Breaking change

  • .children has been split and moved from HtmlElement to DOMNode. .childNodes replaces the original .children but is now typed DOMNode[] (and in a future release may contain other node types). A getter .nodeElements can be used to access only HtmlElement from .childNodes and is typed HtmlElement[]. If your rules use .children the

Bugfixes

  • <rootDir> is now respected when configuring plugins.
  • fix cosmetic case of wcag/h37 rule.
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