swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es): handle nested tagged template new callees
kdy1/fix-11921-tagged-template-new
12 minutes ago
chore: add changeset for issue 11921 fix
kdy1/fix-11921-tagged-template-new
31 minutes ago
chore(react-compiler): avoid preserving nested TS types
feat/react-compiler
9 hours ago
fix(es): preserve new tagged template callee parens
kdy1/fix-11921-tagged-template-new
10 hours ago
fix(core): preserve source context for AST transforms
kdy1/fix-node-ast-source-context-race
12 hours ago
revert(swc_common): Revert sourcemap multibyte mapping clamp (#11919) **Description:** Reverts #11918 because the source map builder clamp is not the correct fix for the Next.js/MUI source map panic. This removes the `normalize_sourcemap_pos` helper, its use in `build_source_map`, and the regression test added by that PR, restoring the previous source map assertion behavior. This PR also replaces the original changeset with a revert changeset for `swc_common` and `swc_core`. Validation: - `git submodule update --init --recursive` - `cargo fmt --all` - `cargo test -p swc_common` - `cargo clippy --all --all-targets -- -D warnings` **Related issue:** Reverts #11918
main
13 hours ago
add changeset for sourcemap revert
kdy1/revert-sourcemap-multibyte-mapping-panic
13 hours ago
fix(swc_common): Fix sourcemap panic for multibyte mapping positions (#11918) **Description:** This makes source map generation robust when a raw mapping points inside a UTF-8 multibyte character. The builder now normalizes such positions to the start of the character before calculating UTF-16 source columns, so assertion-enabled builds do not panic on mappings like the MUI box-drawing comment case seen in Next.js CI. The existing `calc_utf16_offset` assertions are kept intact; only the source map builder input is normalized. The regression test covers both a 3-byte box-drawing character and a 4-byte emoji interior byte position, and verifies that emitted source columns point at the character start. Validation: - `git submodule update --init --recursive` - `cargo test -p swc_common --features sourcemap source_map_clamps_mappings_inside_multibyte_chars` - `cargo test -p swc_common source_map` - `cargo test -p swc_common` - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` - Next.js PR 94157 scratch checkout: rebuilt assertion native with patched `swc_common 21.0.1`, then `material-ui.test.ts` dev-webpack e2e passed without the `BytePos(658)` panic.
main
16 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es): preserve new tagged template callee parens
#11922
34 minutes ago
2d99e7b
kdy1/fix-11921-tagged-template-new
CodSpeed Performance Gauge
0%
feat(ecma/react-compiler): Add React Compiler
#11917
9 hours ago
d3a25d2
feat/react-compiler
CodSpeed Performance Gauge
0%
fix(core): Preserve source context for AST transforms
#11920
12 hours ago
1ba82c6
kdy1/fix-node-ast-source-context-race
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs