swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/minifier): Treat new expression with empty class as side-effect free (#11455) Fixes #11320 This change adds `is_pure_new_callee()` to detect when a class expression can be safely used with `new` without side effects. A class is considered pure for `new` when: - It has no super class (super() call may have side effects) - No side effects from class definition (computed keys, property initializers, static blocks) - No instance properties (they run during construction) - Constructor is either absent or has empty body This is separate from `is_pure_callee()` because calling a class as a function (`(class {})()`) throws TypeError, while `new (class {})()` is valid and pure. --- 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
42 minutes ago
Create rich-jars-cover.md
claude/issue-11083-20260120-0443
1 hour ago
Create green-spiders-grin.md
claude/issue-11320-20260120-0444
1 hour ago
fix(minifier): prevent duplicate parameter names with destructuring patterns Safari has a bug where duplicate parameter names are not allowed in functions with destructuring parameters. The existing fix only checked for rest and assign patterns, but Safari's restriction also applies to object and array destructuring patterns. This extends the Safari bug workaround in the variable renamer to also check for `is_object()` and `is_array()` patterns, preventing the function name from being renamed to collide with destructuring parameter names. Fixes #11083 Co-authored-by: Donny/강동윤 <kdy1@users.noreply.github.com>
claude/issue-11083-20260120-0443
1 hour ago
fix(minifier): treat new expression with empty class as side-effect free Fixes #11320 This change adds `is_pure_new_callee()` to detect when a class expression can be safely used with `new` without side effects. A class is considered pure for `new` when: - It has no super class (super() call may have side effects) - No side effects from class definition (computed keys, property initializers, static blocks) - No instance properties (they run during construction) - Constructor is either absent or has empty body This is separate from `is_pure_callee()` because calling a class as a function (`(class {})()`) throws TypeError, while `new (class {})()` is valid and pure. Co-authored-by: Donny/강동윤 <kdy1@users.noreply.github.com>
claude/issue-11320-20260120-0444
1 hour ago
chore(deps): Update browserslist-data to v0.1.5 (#11454) This updates the browserslist-data crate from v0.1.0 to v0.1.5, which adds support for newer Node.js versions including 20.19. Fixes #11451 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
23 hours ago
chore(deps): Update browserslist-data to v0.1.5 This updates the browserslist-data crate from v0.1.0 to v0.1.5, which adds support for newer Node.js versions including 20.19. Fixes #11451 Co-authored-by: Donny/강동윤 <kdy1@users.noreply.github.com>
claude/issue-11451-20260119-0736
23 hours ago
react pass
kdy1/react-single-pass
24 hours ago
Active Branches
fix(es/renamer): Prevent duplicate parameter names with destructuring patterns
last run
1 hour ago
#11456
CodSpeed Performance Gauge
0%
fix(es/typescript): don't mark enums with opaque members as pure
last run
2 days ago
#11452
CodSpeed Performance Gauge
0%
refactor(es/typescript): Reimplement TypeScript pass
last run
3 days ago
#11445
CodSpeed Performance Gauge
-8%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs