Avatar for the swc-project user
swc-project
swc
BlogDocsChangelog

Performance History

Latest Results

fix(es/regexp): preserve source for wrapped named groups (#11757) ## Summary - Preserve original named-group regex source in RegexpPass and pass it as an optional third arg to _wrap_reg_exp. - Extend _wrap_reg_exp runtime helper signature to _wrap_reg_exp(re, groups, source?) while keeping backward compatibility. - Add a safe source getter on wrapped regex objects: return preserved source only when it compiles with current flags, otherwise fall back to native RegExp.prototype.source. - Add regression coverage for #11754 in fixture and exec tests. ## Tests - git submodule update --init --recursive - UPDATE=1 cargo test -p swc (fails on existing unrelated source_map::issue_622 assertion in this environment) - cargo test -p swc (same unrelated source_map::issue_622) - cargo test -p swc_ecma_transformer - cargo test -p swc_ecma_transforms_base - UPDATE=1 cargo test -p swc --test projects fixture_tests__fixture__issues_11xxx__11754__input -- --ignored --exact - cargo test -p swc --test exec run_fixture_test_tests__exec__issues_11xxx__11754__exec_js -- --ignored --exact - cargo fmt --all - cargo clippy --all --all-targets -- -D warnings Fixes #11754
main
5 hours ago
test: update tsc regexp group references
kdy1/fix-11754-regexp-source-groups
6 hours ago
fix(minifier): guard expr-body iife inline for closure params
kdy1/fix-11755-iife-inline-guard
6 hours ago
test: update regexp named-group fixture outputs
kdy1/fix-11754-regexp-source-groups
6 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(es/regexp): preserve source for wrapped named groups#11757
6 hours ago
6bcebfa
kdy1/fix-11754-regexp-source-groups
CodSpeed Performance Gauge
0%
fix(minifier): guard expr-body iife inline for closure params#11759
6 hours ago
edae3f7
kdy1/fix-11755-iife-inline-guard
CodSpeed Performance Gauge
0%
6 hours ago
3785d3e
kdy1/fix-11736-if-return-chain-limit
© 2026 CodSpeed Technology
Home Terms Privacy Docs