swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(css_prefixer): Extract versions from TargetInfo The targets_to_versions function now returns TargetInfo instead of Arc<Versions>. Extract the versions field from TargetInfo for the CSS prefixer. Co-authored-by: Donny/ź°ėģ¤ <kdy1@users.noreply.github.com>
claude/issue-9778-20260121-0259
4 hours ago
perf(es/codegen): Make `commit_pending_semi` explicit in `write_punct` (#11492) ## Summary - Added `commit_pending_semi: bool` parameter to `WriteJs::write_punct` to avoid runtime slice comparisons - Added `punct_requires_semi_commit()` const fn for compile-time punctuation classification - Added `opening_bracket_requires_semi_commit()` to `ListFormat` - Simplified `OmitTrailingSemi::write_punct` from 29 lines to 11 lines Closes #9937 ## Test plan - [x] `cargo check -p swc` passes - [x] `cargo test -p swc_ecma_codegen --lib` passes (132 tests) - [x] `cargo test -p swc_ecma_minifier --lib` passes š¤ Generated with [Claude Code](https://claude.ai/claude-code) --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Donny/ź°ėģ¤ <kdy1@users.noreply.github.com>
main
6 hours ago
fix(es/parser): Reject ambiguous generic arrow functions in TSX mode (#11491) ## Summary In TSX mode, `<T>() => {}` is ambiguous with JSX syntax and should be rejected. TypeScript requires disambiguation using either: - A trailing comma: `<T,>() => {}` - A constraint: `<T extends unknown>() => {}` - Multiple type parameters: `<T, U>() => {}` Closes #10598 ## Test plan - [x] Added unit tests for valid and invalid TSX syntax - [x] Updated existing fixture tests to use valid TSX syntax - [x] All parser tests passing š¤ Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Donny/ź°ėģ¤ <kdy1@users.noreply.github.com>
main
6 hours ago
Create wet-suits-agree.md
claude/issue-10598-20260123-0226
6 hours ago
test(es/minifier): Add comprehensive tests for unused params with defaults Add additional test fixtures for issue #9610 covering: - keep_fargs: true interaction - Side effects in default values - Arrow functions with default params - Object and class methods - Destructuring patterns with defaults - Nested default patterns - Mixed used/unused parameters Co-authored-by: Donny/ź°ėģ¤ <kdy1@users.noreply.github.com>
claude/issue-9610-20260123-0241
6 hours ago
perf(bindings): Optimize string handling by avoiding unnecessary clones (#11490) ## Summary - Replace `.to_string()` with `.into_owned()` on `Cow<str>` results from `String::from_utf8_lossy()` - Replace `.to_string()` with `.clone()` on `&String` to avoid Display trait allocation - Optimizes 13 instances across 7 binding files Fixes #10295 ## Test plan - [ ] Build passes (`cargo check` verified locally) - [ ] CI tests pass š¤ Generated with [Claude Code](https://claude.ai/claude-code) Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Donny/ź°ėģ¤ <kdy1@users.noreply.github.com>
main
6 hours ago
fix(es/module): handle Windows backslash paths when detecting relative imports The previous fix checked for Unix-style relative path prefixes (./ and ../) but on Windows, diff_paths returns paths with backslashes. This caused the code to incorrectly add ./ prefix to paths like ..\url-alphabet\index.js, resulting in ./..\url-alphabet\index.js instead of ..\url-alphabet\index.js. Fixes CI failures on Windows. Co-authored-by: Donny/ź°ėģ¤ <kdy1@users.noreply.github.com>
claude/issue-9551-20260123-0242
6 hours ago
fix(es/bundler): Update write_punct signature for new commit_pending_semi parameter Co-authored-by: Donny/ź°ėģ¤ <kdy1@users.noreply.github.com>
claude/issue-9937-20260123-0244
6 hours ago
Active Branches
fix(preset_env): Do not apply transforms/polyfills for unknown browser versions
last run
4 hours ago
#11457
CodSpeed Performance Gauge
0%
fix(es/minifier): Handle unused parameters with default values
last run
6 hours ago
#11494
CodSpeed Performance Gauge
0%
fix(es/module): preserve ./ prefix for hidden directory imports
last run
6 hours ago
#11489
CodSpeed Performance Gauge
0%
Ā© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs