Skip to content

fix: deep clone scope in FunctionEnvironment to prevent variable leak…#5339

Open
yush-1018 wants to merge 5 commits into
boa-dev:mainfrom
yush-1018:fix/eval-variable-leakage
Open

fix: deep clone scope in FunctionEnvironment to prevent variable leak…#5339
yush-1018 wants to merge 5 commits into
boa-dev:mainfrom
yush-1018:fix/eval-variable-leakage

fix: allow needless_pass_by_value on FunctionEnvironment::new

8ed8fe7
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 12, 2026 in 0s

59.87% (+12.63%) compared to 6ddc2b4

View this Pull Request on Codecov

59.87% (+12.63%) compared to 6ddc2b4

Details

Codecov Report

❌ Patch coverage is 33.33333% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.87%. Comparing base (6ddc2b4) to head (8ed8fe7).
⚠️ Report is 965 commits behind head on main.

Files with missing lines Patch % Lines
core/macros/src/module.rs 0.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5339       +/-   ##
===========================================
+ Coverage   47.24%   59.87%   +12.63%     
===========================================
  Files         476      566       +90     
  Lines       46892    62932    +16040     
===========================================
+ Hits        22154    37682    +15528     
- Misses      24738    25250      +512     

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