Socket
Socket
Sign inDemoInstall

@linthtml/html-parser

Package Overview
Dependencies
7
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @linthtml/html-parser

LintHTML HTML parser


Version published
Maintainers
1
Install size
492 kB
Created

Changelog

Source

0.9.0 (2022-08-26)

Breaking 💥

Drop support for node 10 and node 12.

Refactor 🧰

Move to monorepo and split codebase into 4 packages:

  • @linthtml/cli - The cli part of LintHTML.
  • @linhtml/dom-utils - Collection of utils functions to manipulate and check HTML nodes, it's used internally by the rules and the HTML parser.
  • @linthtml/html-parser - The HTML parser used internally to parse HTML content and get return an AST.
  • @linthtml/linthtml - The core package, it contains all rules, the linter and the config management.

All packages have also been migrated to Typescript.

Bug Fixes

  • Rule id-no-dup, stop reporting error for id like toString

Readme

Source

@linthtml/html-parser

HTML parser for LintHTML.

The parser is base on htmlparser2.

You should not install this package by yourself as it's by default included in LintHTML.

FAQs

Last updated on 26 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc