Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

html-validate

Package Overview
Dependencies
Maintainers
0
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-validate - npm Package Versions

1
26

0.15.2

Diff

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
ext
published 0.11.1 •

Changelog

Source

0.11.1 (2018-10-07)

Features

  • Rule documentation examples are now validated automatically with htmlvalidate to provide direct feedback of how a rule will react on the given markup.

Bugfixes

  • no-implicit-close now provides more context when closed by a sibling.
  • close-order no longer reports error for implicitly closed elements.
ext
published 0.11.0 •

Changelog

Source

0.11.0 (2018-09-23)

Breaking changes

  • For compatibility with other tools the severity disable has been renamed to off. The old name will continue to work but will be removed in the future.

Features

  • support directives to enable/disable rules inside files, e.g. to ignore a single error.
  • rules are now using dynamic severity which can change at runtime.
  • new class Attribute used by DOMNode. Attributes now holds the location they are created from making DOM attribute rules more precise.
  • new rule heading-level for validating sequential heading levels.

Bugfixes

  • element-permitted-occurrences no longer triggers for the first occurrence, only subsequent usages.
  • Table.getMetaFor(..) is not case-insensitive.
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