Back to Explore

syntax-tree/hast-util-from-parse5

GitHub
1 watchersOpen source

Last release: 2/19/2025

hast-util-from-parse5 is a utility that converts a Parse5 AST into a hast tree. It is useful when you parse HTML with parse5 and want to work with hast, including optional positional information via a VFile.

Project status

  • The repository appears actively maintained, with the most recent upstream push on 2025-02-19 and a new version published on 2025-02-19 (8.0.3).
  • The apparent update cadence is not steady, 8.0.2 was published on 2024-11-19, then 8.0.3 followed shortly after on 2025-02-19, with a much larger gap before 8.0.1 (2023-08-08).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 8.0.3

    2/19/2025

    Release 8.0.3 is primarily a dependency refresh, with the release notes indicating an update to `property-information`. The code diff provided shows no application logic changes, but it does bump `property-information` and a couple of development tooling packages.

  • 8.0.2

    11/19/2024

    Release 8.0.2 primarily refactors TypeScript typings (including declaration maps and switching to `@import`s) and bumps `hastscript`. The code diff also reveals at least one behavioral change related to how unknown attribute values are handled, which is not mentioned in the release notes.

  • 8.0.1

    8/8/2023

    Release 8.0.1 includes a small fix related to the optional `verbose` option. The release notes mention correcting the type of an optional option, and the code diff shows related changes in how `verbose` is typed and passed into the underlying conversion.