Skip to content

fix: support for latest babel#3071

Merged
DylanPiercey merged 1 commit intomainfrom
fix-latest-babel-02-05-26
Feb 5, 2026
Merged

fix: support for latest babel#3071
DylanPiercey merged 1 commit intomainfrom
fix-latest-babel-02-05-26

Conversation

@DylanPiercey
Copy link
Contributor

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Feb 5, 2026

🦋 Changeset detected

Latest commit: f485ba0

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

This PR includes changesets to release 3 packages
Name Type
marko Patch
@marko/runtime-tags Patch
@marko/compiler 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 force-pushed the fix-latest-babel-02-05-26 branch from 0005b93 to f485ba0 Compare February 5, 2026 15:34
@coderabbitai
Copy link

coderabbitai bot commented Feb 5, 2026

Walkthrough

This pull request updates the Marko compiler and runtime packages to fix Babel AST patching logic for compatibility with the latest Babel versions. Changes include updates to Babel dependencies, modifications to how the Babel plugin patches parser options and generator prototypes, additions of new dependencies to the compiler package, and extensive updates to TypeScript type definitions. Type definitions receive new SVG animation attribute support, and hundreds of test snapshots are updated with minor formatting adjustments to parenthesization and expression grouping.

🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive No pull request description was provided by the author, making it impossible to verify whether descriptive content relates to the changeset. Add a pull request description explaining the motivation, changes made, and any breaking changes or migration notes for supporting latest Babel versions.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix: support for latest babel' directly aligns with the main changeset: updating Babel dependencies and modifying babel-related plugin/patch code to support the latest Babel versions.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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-latest-babel-02-05-26

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

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

❌ Patch coverage is 92.50000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.03%. Comparing base (2714fda) to head (f485ba0).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ckages/compiler/src/babel-types/generator/patch.js 89.28% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3071      +/-   ##
==========================================
- Coverage   89.06%   89.03%   -0.03%     
==========================================
  Files         375      375              
  Lines       47580    47566      -14     
  Branches     4155     4155              
==========================================
- Hits        42375    42351      -24     
- Misses       5153     5163      +10     
  Partials       52       52              

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

@DylanPiercey DylanPiercey merged commit c5d31de into main Feb 5, 2026
10 of 11 checks passed
@DylanPiercey DylanPiercey deleted the fix-latest-babel-02-05-26 branch February 5, 2026 15:39
@github-actions github-actions bot mentioned this pull request Feb 5, 2026
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