Skip to content

[ci] release - #267

Merged
DylanPiercey merged 1 commit into
mainfrom
changeset-release/main
Nov 13, 2026
Merged

DylanPiercey merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

htmljs-parser@5.21.0

Minor Changes

  • #266 9ebc2d6 Thanks @DylanPiercey! - Fix several misparses:

    • An html comment ends at the first -->, so <!-- a->b --> is one comment.
    • A / after a keyword that an operand follows (return, typeof, in, …) starts a regular expression, and return !x reads ! as a prefix.
    • A text body treats a backslash-escaped quote, backtick or slash as text and skips regular expression literals (unless one would hide a placeholder or the closing tag), and a parsed string treats any escaped character as text.
    • A spaced TypeScript non-null ! ends an unenclosed value (<div a=x ! b>).
    • An html mode attribute name cut off by EOF is still reported (<div foo).
    • An attribute value continues past leading comments (x=/* note */ 1).

@DylanPiercey
DylanPiercey merged commit 8955da9 into main Nov 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant