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
263
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.13.0

Diff

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

Changelog

Source

0.9.0 (2018-06-17)

Breaking changes

  • semantics for require changed from require('html-validate') to require('html-validate').HtmlValidate to support exposing other classes.

Features

  • new TemplateExtractor helper class for extracting templates from javascript sources.
  • trigger downstream projects on release

Bugfixes

  • Report valid now only checks for errors, the result will still be valid if only warnings are present.
ext
published 0.8.3 •

Changelog

Source

0.8.3 (2018-06-12)

  • run tests against multiple node versions (8.x, 9.x and 10.x) to ensure compatibility.
  • exposed getFormatter as a reusable function to load formatters from string (like CLI tool): name[=DST][,name=DST...]
ext
published 0.8.2 •

Changelog

Source

0.8.2 (2018-05-28)

Bugfixes

  • lexer better handling of newlines, especially CRLF \r\n.
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