Skip to content

fix: avoid const enum export#207

Merged
DylanPiercey merged 1 commit intomainfrom
fix-tag-type-enum
Feb 9, 2026
Merged

fix: avoid const enum export#207
DylanPiercey merged 1 commit intomainfrom
fix-tag-type-enum

Conversation

@DylanPiercey
Copy link
Contributor

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Feb 9, 2026

🦋 Changeset detected

Latest commit: c7aef97

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
htmljs-parser Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@DylanPiercey DylanPiercey merged commit 572cce0 into main Feb 9, 2026
8 checks passed
@DylanPiercey DylanPiercey deleted the fix-tag-type-enum branch February 9, 2026 21:09
@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.88%. Comparing base (506a376) to head (c7aef97).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #207   +/-   ##
=======================================
  Coverage   91.88%   91.88%           
=======================================
  Files          28       28           
  Lines        1418     1418           
  Branches      319      319           
=======================================
  Hits         1303     1303           
  Misses         53       53           
  Partials       62       62           

☔ View full report in Codecov by Sentry.
📢 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 mentioned this pull request Feb 9, 2026
@coderabbitai
Copy link

coderabbitai bot commented Feb 9, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

A changeset file is added to document a patch release for "htmljs-parser". The TagType enum in src/util/constants.ts is converted from a const enum to a regular enum, and a new "statement" member is added to the enum's possible values. This change modifies how the TypeScript compiler emits and inlines references to TagType throughout the codebase.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-tag-type-enum

Comment @coderabbitai help to get the list of available commands and usage tips.

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