Skip to content

[ci] release#221

Merged
DylanPiercey merged 1 commit into
mainfrom
changeset-release/main
Jun 21, 2026
Merged

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

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 11, 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.11.0

Minor Changes

  • #222 221d3b7 Thanks @DylanPiercey! - Replace TypeScript enums with erasable const modules so the source runs directly under node's type stripping. The public TagType, ErrorCode, and Validity values keep their runtime shape and values, and their types are now the equivalent literal unions. Constant values remain fully inlined in the published bundles.

Patch Changes

  • #223 3c95d7f Thanks @DylanPiercey! - Speed up expression parsing by skipping work that provably cannot match. An
    identifier/number character is never whitespace, never a terminator (no
    shouldTerminate implementation matches a word character), and is not handled
    by the expression switch, so it now takes a fast path that just advances the
    position. The unary/binary operator keyword scans also bail out immediately when
    the surrounding character cannot start or end a keyword. This improves
    steady-state parsing throughput with no behavior change.

  • #220 85c8973 Thanks @DylanPiercey! - Refactor parser to allow individual states to process multiple characters. This allows for eager scanning, simplifies things some, and improves performance by about 30% in realworld tempaltes.

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 3e419c4 to 800a077 Compare June 12, 2026 19:30
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.97%. Comparing base (221d3b7) to head (800a077).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #221   +/-   ##
=======================================
  Coverage   99.97%   99.97%           
=======================================
  Files          34       34           
  Lines        4204     4204           
  Branches      776      776           
=======================================
  Hits         4203     4203           
  Misses          1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 800a077 to 7285df9 Compare June 20, 2026 21:16
@DylanPiercey DylanPiercey merged commit 8d38c8b into main Jun 21, 2026
1 check passed
@DylanPiercey DylanPiercey deleted the changeset-release/main branch June 21, 2026 02:10
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