Skip to content

[ci] release#228

Merged
DylanPiercey merged 1 commit into
mainfrom
changeset-release/main
Jul 3, 2026
Merged

[ci] release#228
DylanPiercey merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 3, 2026

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.12.1

Patch Changes

  • #227 a576b5c Thanks @DylanPiercey! - Fix isValidAttrValue (and isValidStatement / isValidScriptlet) reporting enclosed for a value that ends in a trailing // line comment (e.g. "hello" // note).

    A line comment with no terminating newline consumes everything that would follow it on the line, so such a value is not safe to emit verbatim. It is now classified as valid (needs wrapping when placed inline), matching the existing behavior for an unguarded trailing newline. A comment guarded by a group (e.g. ("hello" // c\n)) or a self-closing block comment ("hello" /* c */) still classifies as enclosed.

@DylanPiercey
DylanPiercey merged commit c4732ec into main Jul 3, 2026
1 check passed
@DylanPiercey
DylanPiercey deleted the changeset-release/main branch July 3, 2026 02:35
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