chore: update dependencies#131
Conversation
Bump all dependencies to their latest versions (htmljs-parser 5.12.1, prettier 3.9, @marko/compiler 5.40, lint-staged 17, @types/node 26, rolldown 1.1, typescript-eslint 8.62, etc.) and clear the resulting audit advisories, adapting to breaking changes along the way: - htmljs-parser 5.12 exposes `TagType` as a const object + type alias rather than an enum, so use `typeof TagType.*` where a type is needed. - @marko/compiler 5.40 types `traverseFast.skip` as a `unique symbol`; recover the precise type from the visitor signature. - Refresh the generic-tag snapshots for prettier 3.9's parenthesization of nested conditional types in `extends` constraints. - Require htmljs-parser ^5.12.1, which fixes attribute values with a trailing line comment being treated as self-enclosed and leaking past the tag.
🦋 Changeset detectedLatest commit: d900ebd The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #131 +/- ##
=======================================
Coverage 96.83% 96.83%
=======================================
Files 8 8
Lines 316 316
Branches 54 54
=======================================
Hits 306 306
Misses 4 4
Partials 6 6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (5)
WalkthroughThis PR bumps the htmljs-parser dependency to ^5.12.1 along with several devDependency versions, accompanied by a changeset describing a fix for attribute-value trailing line comments leaking past closing tags. It also refines TypeScript type annotations for bodyType properties in parser.ts to use typeof TagType members instead of literal types, updates a test's type derivation for traverseFast.skip, and applies cosmetic spacing fixes to for-loop syntax in index.ts without altering behavior. ChangesCohort: Dependency update and type refinements
Sequence Diagram(s)Not applicable — changes are limited to dependency version bumps, type annotation refinements, and cosmetic formatting with no new interaction flows. Estimated code review effort: 2/5 (Low-Medium) Related issues: None specified Related PRs: None specified Suggested labels: dependencies, typescript Suggested reviewers: None specified 🐰 A hop, a bump, a version tweak, 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Updates all dependencies to their latest versions and clears the outstanding
npm auditadvisories.A few upstream changes needed adapting to:
htmljs-parser 5.12 exposes
TagTypeas a const object + type alias rather than an enum, sotypeof TagType.*is used where a type is required.@marko/compiler 5.40 types
traverseFast.skipas aunique symbol; the precise type is recovered from the visitor signature instead of casting throughany.prettier 3.9 now parenthesizes nested conditional types in
extendsconstraints —generic-tagsnapshots refreshed accordingly.Requires htmljs-parser ^5.12.1, which fixes a regression (5.11–5.12.0) where an attribute value with a trailing line comment was treated as self-enclosed and leaked past the tag:
Full suite (484 tests), lint, and build pass;
npm auditis clean.Generated by Claude Code