swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(nodejs): include awaits in method decorators
kdy1/fix-nodejs-support-12378
5 hours ago
fix(es/minifier): retain safe loop body IIFE inlining
kdy1/fix-12380-class-field-captures
9 hours ago
fix(es/parser): support leading pipes in Flow match patterns (#12393) **Description:** Flow match expressions and statements currently reject an optional `|` before the first pattern, including the React Native syntax reported in #12389. Consume one optional leading pipe in the shared pattern parser so top-level and nested patterns parse successfully while preserving alternative-pattern and `as` precedence. Add nine regression fixtures covering both reported forms, single and alternative patterns, nested patterns, wildcard cases, aliases and guards, and malformed repeated or trailing pipes. Include patch changesets for `swc_ecma_parser` and `swc_core`. **Validation:** - `cargo fmt --all` and `cargo clippy --all --all-targets -- -D warnings` passed. - All 50 Flow fixtures passed without snapshot updates; both parser doc tests passed. - `cargo test -p swc_ecma_parser` and `cargo test -p swc_ecma_parser --features flow` each failed only on the existing TypeScript fixture `type-only-import-specifier/invalid-type-only/input.ts` (`import { type import } from 'mod'`). The same failure was reproduced with the parser change removed. Existing tests and expected outputs were not changed. **Related issue (if exists):** Fixes #12389
main
9 hours ago
chore: Add changeset
kdy1/fix-nodejs-support-12378
9 hours ago
chore: Add changeset
kdy1/fix-12380-class-field-captures
9 hours ago
chore: Add changeset
Austaras:main
9 hours ago
chore: Add changeset
kdy1/fix-flow-match-leading-pipe
9 hours ago
fix(es/lexer): stop iteration when input is exhausted (#12388) **Description:** Fix an infinite iteration regression in the legacy ECMAScript lexer. `StringInput::new` allows its `start` and `end` positions to be arbitrary source-map metadata; `end` is not required to match the source length. However, the lexer used the following equality as its EOF condition: ```rust self.input.last_pos() == self.input.end_pos() ``` When the supplied `end_pos` does not match the actual end of the source, the lexer may consume the entire input without satisfying this condition. **Related issue (if exists):** - Closes #12103 --------- Co-authored-by: DongYun Kang <kdy.1997.dev@gmail.com>
main
9 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(nodejs): complete Amaro REPL support APIs
#12395
5 hours ago
3807725
kdy1/fix-nodejs-support-12378
CodSpeed Performance Gauge
0%
fix(es/minifier): preserve class field closure bindings
#12394
9 hours ago
70bb67b
kdy1/fix-12380-class-field-captures
CodSpeed Performance Gauge
+3%
refactor(es/minifier): Dead code
#12392
9 hours ago
a1d20b6
Austaras:main
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs