swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/parser): Reject spread arguments in dynamic imports
pederbe:learn/5394-import-validation
5 hours ago
fix(nodejs): include awaits in method decorators
kdy1/fix-nodejs-support-12378
14 hours ago
fix(es/minifier): retain safe loop body IIFE inlining
kdy1/fix-12380-class-field-captures
18 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
18 hours ago
chore: Add changeset
kdy1/fix-nodejs-support-12378
19 hours ago
chore: Add changeset
kdy1/fix-12380-class-field-captures
19 hours ago
chore: Add changeset
Austaras:main
19 hours ago
chore: Add changeset
kdy1/fix-flow-match-leading-pipe
19 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es/parser): Reject spread arguments in dynamic imports
#12396
5 hours ago
fc0959e
pederbe:learn/5394-import-validation
CodSpeed Performance Gauge
0%
fix(nodejs): complete Amaro REPL support APIs
#12395
15 hours ago
3807725
kdy1/fix-nodejs-support-12378
CodSpeed Performance Gauge
0%
fix(es/minifier): preserve class field closure bindings
#12394
18 hours ago
70bb67b
kdy1/fix-12380-class-field-captures
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs