Skip to content

feat: integrate ast-grep - #111

Closed
pionxzh wants to merge 3 commits into
mainfrom
ast-grep
Closed

feat: integrate ast-grep#111
pionxzh wants to merge 3 commits into
mainfrom
ast-grep

feat: split impl for browser and nodejs

677862f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Apr 3, 2026 in 0s

88.55% (-0.64%) compared to 74641f5

View this Pull Request on Codecov

88.55% (-0.64%) compared to 74641f5

Details

Codecov Report

❌ Patch coverage is 68.28087% with 131 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.55%. Comparing base (74641f5) to head (677862f).
⚠️ Report is 32 commits behind head on main.

Files with missing lines Patch % Lines
...nminify/src/transformations/module-mapping.grep.ts 0.00% 36 Missing ⚠️
packages/unminify/src/transformations/node.ts 0.00% 34 Missing ⚠️
packages/shared/src/astGrepRule.ts 76.47% 24 Missing ⚠️
packages/unminify/src/nodejs.ts 0.00% 22 Missing ⚠️
packages/unminify/src/transformations/index.ts 0.00% 8 Missing ⚠️
packages/shared/src/runner.ts 70.00% 6 Missing ⚠️
packages/unminify/src/index.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   89.18%   88.55%   -0.64%     
==========================================
  Files         100      109       +9     
  Lines       12294    12699     +405     
  Branches     1624     1637      +13     
==========================================
+ Hits        10964    11245     +281     
- Misses       1277     1400     +123     
- Partials       53       54       +1     

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