swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
chore(bench): rename es/full benchmarks
kdy1/visitor-bench-input
14 hours ago
perf(swc): use larger input for es/full benchmarks
kdy1/visitor-bench-input
15 hours ago
feat(swc_common): add SourceMapper.map_raw_pos (#11777) **Description:** #10560 added `Files.map_raw_pos` which can be used to translate BytePos before generating the sourcemap. The same is also needed in `SourceMapper`, so that the `pos.is_pure()` in `emit_leading_comments` uses the decoded BytePos. This came up in https://github.com/vercel/next.js/pull/88205 where my BytePos re-encoding mechanism caused `BytePos::PURE` to not codegen the pure comment anymore.
main
15 hours ago
Create stale-crews-peel.md
mischnic:mischnic/SourceMapper-map_raw_pos
15 hours ago
docs: Document Flow strip support (#11778) ## Summary This PR documents the current Flow parse/strip path across the Rust and JS surfaces. ## What Changed - added a Flow parsing example to `swc_ecma_parser` rustdoc - documented Flow strip usage in `swc_ecma_transforms_typescript` - added a `flow_to_js` example and Flow strip correctness coverage - exposed `FlowParserConfig` in the public parser typings and wasm bindings ## Why SWC already supports parsing Flow syntax and stripping Flow annotations through the existing TypeScript transform entry point with `flow_syntax: true`, but that path was difficult to discover and not fully represented in the public typings. ## Impact - Rust users now have crate-level docs and an example showing how to parse Flow and strip it to JavaScript - JS users can express Flow parser settings through `@swc/types` - the new fixture-based coverage helps keep the parse -> strip -> reparse flow working ## Validation - `git submodule update --init --recursive` - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` - `cargo test -p swc_ecma_parser` - `cargo test -p swc_ecma_transforms_typescript` - `(cd packages/types && yarn build)` - `(cd packages/core && yarn build:ts)`
main
24 hours ago
Create nine-wombats-obey.md
kdy1:kdy1/flow-strip-docs
1 day ago
docs: document flow strip support
kdy1:kdy1/flow-strip-docs
1 day ago
feat: add SourceMapper.map_raw_pos
mischnic:mischnic/SourceMapper-map_raw_pos
2 days ago
Latest Branches
CodSpeed Performance Gauge
0%
perf(swc): use larger input for es/full benchmarks
#11779
14 hours ago
d8b4ea0
kdy1/visitor-bench-input
CodSpeed Performance Gauge
0%
feat(swc_common): add SourceMapper.map_raw_pos
#11777
15 hours ago
67ab862
mischnic:mischnic/SourceMapper-map_raw_pos
CodSpeed Performance Gauge
0%
docs: Document Flow strip support
#11778
1 day ago
63e6fba
kdy1:kdy1/flow-strip-docs
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs