Skip to content

Update packages/rehype-shiki/src/highlighter.mjs

ca998e8
Select commit
Loading
Failed to load commit list.
Merged

chore(shiki): only send required langs to client, and support more on server #7787

Update packages/rehype-shiki/src/highlighter.mjs
ca998e8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 31, 2025 in 0s

75.46% (+0.10%) compared to d122e58

View this Pull Request on Codecov

75.46% (+0.10%) compared to d122e58

Details

Codecov Report

Attention: Patch coverage is 85.71429% with 35 lines in your changes missing coverage. Please review.

Project coverage is 75.46%. Comparing base (d122e58) to head (ca998e8).
Report is 10 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
packages/rehype-shiki/src/index.mjs 19.04% 34 Missing ⚠️
packages/rehype-shiki/src/highlighter.mjs 98.30% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7787      +/-   ##
==========================================
+ Coverage   75.35%   75.46%   +0.10%     
==========================================
  Files          96      101       +5     
  Lines        7861     8309     +448     
  Branches      192      218      +26     
==========================================
+ Hits         5924     6270     +346     
- Misses       1936     2037     +101     
- Partials        1        2       +1     

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.