swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/optimization): give substituted globals the span they replace
upupming:fix/inline-globals-span
32 minutes ago
test(parser): remove codegen dev dependency
trueadm:codex/tsrx-parser
21 hours ago
chore: Add changeset
trueadm:codex/tsrx-parser
21 hours ago
fix(es/react): handle apos JSX entities (#12125) **Description:** Fixes a panic when JSX text contains `'` followed by another supported character reference, for example: ```jsx const a = <p>'&</p>; ``` SWC's JSX lexer already decodes `'`, but the React transform maintains an independent entity list for correlating decoded JSX text with its raw source. Because that list did not include `apos`, the decoded and raw character offsets could diverge and cause entity mask construction to panic. This change recognizes `apos` in the transform's entity list, restoring consistency with SWC's existing parser behavior. Although the [JSX specification](https://react.github.io/jsx/#sec-HTMLCharacterReference) text limits named references to HTML4's 252 entities, Babel and TypeScript also decode `apos`. This option preserves that de-facto compatibility behavior. **BREAKING CHANGE:** No. **Related issue (if exists):** - Close: #12123
main
1 day ago
fix(es/minifier): Preserve for init (#12121) **Related issue:** - Closes #12118
main
2 days ago
fix
Austaras:main
2 days ago
chore: Add changeset
fix/issue-12123-parse-apos
2 days ago
chore: Add changeset
fix/issue-12123
2 days ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es/optimization): give substituted globals the span they replace
#12129
40 minutes ago
944f93b
upupming:fix/inline-globals-span
CodSpeed Performance Gauge
0%
feat(es/parser): add opt-in parser-only TSRX lowering
#12120
21 hours ago
187e9ad
trueadm:codex/tsrx-parser
CodSpeed Performance Gauge
0%
fix(es/minifier): Preserve for init
#12121
2 days ago
4eeac46
Austaras:main
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs