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
2425

0.5.0

Diff

Changelog

Source

0.5.0 (2017-10-17)

Features

  • Rule element-name learned whitelist and blacklist options.
  • Support outputting to multiple formatters and capturing output to file.
  • checkstyle formatter. Use -f checkstyle.
ext
published 0.4.0 •

Changelog

Source

0.4.0 (2017-10-17)

Features

  • new rule no-inline-style disallowing inline style attribute.
  • new rule img-req-alt validating that images have alternative text.
  • new rule element-permitted-order validating the required order of elements with restrictions.
  • new rule element-permitted-occurrences validating elements with content models limiting the number of times child elements can be used.

Bugfixes

  • the parser now resets the DOM tree before starting, fixes issue when running the same parser instance on multiple sources.
ext
published 0.3.0 •

Changelog

Source

0.3.0 (2017-10-12)

Features

  • new rules id-pattern and class-pattern for requiring a specific formats.
  • new rule no-dup-class preventing duplicate classes names on the same element.

Bugfixes

  • lexer now chokes on <ANY\n<ANY></ANY></ANY> (first tag missing >) instead of handling the inner <ANY> as an attribute.
  • element-permitted-content fixed issue where descending with missing metadata would report as disallowed content.
ext
published 0.2.0 •

Changelog

Source

0.2.0 (2017-10-11)

Features

  • Support putting configuration in .htmlvalidate.json file.
  • void rule rewritten to better handle both tag omission and self-closing. It learned a new option style to allow a single style.
  • new rule element-permitted-content verifies that only allowed content is used.
  • new rule element-name to validate custom element names.
ext
published 0.1.3 •

Changelog

Source

0.1.3 (2017-10-08)

Features

  • Rule documentation

Bugfixes

  • no-dup-attr now handles attribute names with different case.
ext
published 0.1.2 •

ext
published 0.1.1 •

ext
published 0.1.0 •

1
2425
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