swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/fixer): preserve TypeScript expression grouping Preserve required parentheses for TypeScript casts in conditionals and instantiation expressions before binary operators. Keep `await` and type assertions grouped on the left of exponentiation. Scope TypeScript lookahead state to each operand and add TS/TSX fixtures.
fix/ts-fixer-boundaries
2 hours ago
fix(es/parser): isolate function names in async arrow parameters Suspend await collection while parsing function expression names so nested names do not trigger the enclosing async arrow parameter check. Add fixtures for ordinary and generator names and collection restoration.
fix/async-arrow-param-function-name
2 hours ago
perf(es/parser): streamline numeric separator stripping Write non-underscore bytes directly into a preallocated buffer and set its length once after filtering, avoiding per-byte Vec::push capacity checks and length updates.
perf/parser-numeric-separators
13 hours ago
perf(es/parser): streamline numeric separator stripping Write non-underscore bytes directly into a preallocated buffer and set its length once after filtering, avoiding per-byte Vec::push capacity checks and length updates.
perf/parser-numeric-separators
15 hours ago
fix(es/parser): isolate enum await context (#12506) **Description:** An enum initializer such as `enum E { await = 1, X = await }` is incorrectly rejected inside an async function or module. Parse enum bodies with their own declaration grammar while preserving await restrictions in enclosing scopes and nested async functions. Includes a patch changeset for `swc_ecma_parser` and `swc_core`. **Related issue (if exists):** - Close #12511
main
16 hours ago
fix(es/codegen): parenthesize typed arrow parameters (#12503) **Description:** Minifying `const f = (x: number) => x` can produce `const f=x:number=>x`, which is invalid TypeScript. Preserve required parentheses for typed or optional parameters, return annotations, and generic arrows. Includes a patch changeset for `swc_ecma_codegen` and `swc_core`. **Related issue (if exists):** - Close #12508
main
17 hours ago
chore(deps): update actions
renovate/actions
23 hours ago
fix(es/parser): isolate enum await context Enum members can reject await identifiers under enclosing async or module grammar and misclassify escaped contextual operands. Give enum bodies independent Await/Yield parameters. Distinguish escaped operands from unescaped type operators during recovery while preserving nested function and loop restrictions.
fix/parser-enum-await-context
1 day ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es/fixer): preserve TypeScript expression grouping
#12518
2 hours ago
b61a5cf
fix/ts-fixer-boundaries
CodSpeed Performance Gauge
0%
fix(es/parser): allow await function names in async arrow parameters
#12517
3 hours ago
09f3d6b
fix/async-arrow-param-function-name
CodSpeed Performance Gauge
+2%
perf(es/parser): streamline numeric separator stripping
#12515
15 hours ago
7acd0dd
perf/parser-numeric-separators
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs