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

html-validate

Package Overview
Dependencies
Maintainers
1
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-validate - npm Package Versions

1
27

0.14.2

Diff

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

Changelog

Source

0.10.0 (2018-08-11)

Breaking changes

  • rule api overhaul, all rules are now classes.

Features

  • support multiple events for single listener and listener deregistration.
  • new Engine class for easier programmatical usage.
  • stricter types related to events
  • bump dependencies.

Bugfixes

  • add espree dependency
ext
published 0.9.2 •

Changelog

Source

0.9.2 (2018-07-12)

Features

  • add no-inline-style to htmlvalidate:recommended.
  • add htmlvalidate:document for predefined set of document-related rules, e.g. recommended for documents but not component templates.
  • add missing-doctype rule to require doctype.
  • add source location to root DOMNode containing the first line and column in the source file.
  • add doctype property to DOMTree.
  • add doctype event, emitted when a doctype is encountered.
  • add element-case rule for validating case of element names.
  • add attr-case rule for validating case of attributes.
ext
published 0.9.1 •

Changelog

Source

0.9.1 (2018-07-01)

Features

  • add protractor-html-validate to docs.
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