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
281
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

0.16.0

Diff

Changelog

Source

0.16.0 (2018-12-15)

Features

  • Location has a new property size holding the number of characters the location refers to.
  • HtmlValidate class now loads same default config as CLI if no configuration is passed explicitly.
  • Location has a new property offset holding the offset into the source data (starting at zero).
  • CLI learned --stdin and --stdin-filename for passing markup on standard input and explicitly naming it. Useful for external tools and IDEs which wants to pass the markup in stdin instead of a temporary file.
ext
published 0.15.3 •

Changelog

Source

0.15.3 (2018-12-05)

Features

  • expose querySelector and querySelectorAll on DOMNode, not just DOMTree.
ext
published 0.15.2 •

Changelog

Source

0.15.2 (2018-12-01)

Features

  • move repository to https://gitlab.com/html-validate/html-validate
  • move homepage to https://html-validate.org
  • more element attributes added.
ext
published 0.15.1 •

Changelog

Source

0.15.1 (2018-11-26)

Features

  • new properties previousSibling and nextSibling on DOMNode.
ext
published 0.15.0 •

Changelog

Source

0.15.0 (2018-11-21)

Features

  • new rule attribute-boolean-style to validate style of boolean attributes.
  • new property nodeName on DOMNode.

Bugfixes

  • attribute-allowed-values now normalizes boolean attributes before validating, i.e. it will accept disabled, disabled="" or disabled="disabled". Fixes #13.
  • input learned required attribute.
  • querySelector properly handles attribute selectors with dashes and digits. Fixes #15.
ext
published 0.14.2 •

Changelog

Source

0.14.2 (2018-11-06)

Features

  • bump dependencies.
  • use acorn-walk instead of acorn@5.
ext
published 0.14.1 •

Changelog

Source

0.14.1 (2018-11-04)

Bugfixes

  • fix dependency on acorn, the package now properly resolves acorn 5 when dependant pulls acorn 6.
ext
published 0.14.0 •

Changelog

Source

0.14.0 (2018-11-03)

  • support global metadata.
  • new rule attribute-allowed-values validates allowed values for attributes, such as type for <input>.
ext
published 0.13.0 •

Changelog

Source

0.13.0 (2018-10-21)

Features

  • deprecated supports adding a message for custom elements.
  • Rule constructors can now throw exceptions. Previously the exceptions would be silently swallowed and the rule would trigger the missing rule logic.
  • Support writing element metadata inline in configuration file.

Bugfixes

  • element-permitted-order now reports the error where the malplaced element is instead of the parent element (which holds the restriction). Fixes #10.
ext
published 0.12.0 •

Changelog

Source

0.12.0 (2018-10-17)

Features

  • Support writing plugins with custom rules.
  • Bump dependencies, including typescript 3.0 to 3.1
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