swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
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
10 minutes 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
1 hour 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
3 hours ago
chore(deps): update actions
renovate/actions
9 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
12 hours ago
fix(es/parser): allow namespace await identifiers File-level await reservation rejects identifiers inside TypeScript namespaces, and recovery can misread escaped contextual operands. Scope namespace grammar while preserving inherited Await/Yield and strictness. Restore outer state and distinguish escaped operands from unescaped type operators during recovery.
fix/parser-namespace-await-identifier
12 hours ago
fix(es/parser): isolate enum await context Enum members can reject await identifiers under enclosing async or module grammar. Give enum bodies independent Await/Yield parameters and distinguish operand recovery from identifier type operators, preserving nested function and loop restrictions.
fix/parser-enum-await-context
14 hours ago
fix(es/parser): allow namespace await identifiers File-level await reservation rejects identifiers inside TypeScript namespaces. Scope namespace grammar while preserving inherited Await/Yield and strictness. Restore outer state and distinguish operand recovery from identifier type operators.
fix/parser-namespace-await-identifier
14 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
chore(deps): update actions
#12464
9 hours ago
c5af7ae
renovate/actions
CodSpeed Performance Gauge
0%
fix(es/parser): isolate enum await context
#12506
13 hours ago
fd29e7c
fix/parser-enum-await-context
CodSpeed Performance Gauge
0%
fix(es/parser): allow namespace await identifiers
#12507
13 hours ago
332f54d
fix/parser-namespace-await-identifier
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs