swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
ci: only plan completed issues and merged PRs Skip issues closed as not planned and pull requests closed without merging.
fix/ci-limit-planned-milestone
4 hours ago
fix(es2015): preserve const reassignment errors in block scoping
Alb3e3:fix-const-reassign-readonly-error
7 hours ago
fix(es/minifier): Mark for update and test as executed multiple time
Austaras:main
12 hours ago
fix(swc): drop spans of cached `globals` values `GlobalPassOption::build` parses each `jsc.transform.optimizer.globals.vars` value into an anonymous file of the `SourceMap` it is handed, and memoizes the parsed expression in a process-wide cache. A span is only meaningful to the `SourceMap` that produced it, so the cache outlives what its contents point at, and the emitted source map ends up depending on three things that should not affect it: whether the call hit the cache, the order the host passed the defines in (the cache key is order sensitive), and which file was compiled first in the process (the cached position is derived from its size). Drop the spans before the value is cached. Parsing still happens in the caller's `SourceMap`, so a syntax error in a define value keeps its position, but nothing `SourceMap` dependent survives into the cache. Substituted values now carry `DUMMY_SP`, which codegen skips, so no mapping is emitted for them on any call.
upupming:fix/inline-globals-span
15 hours ago
fix(swc): drop spans of cached `globals` values `GlobalPassOption::build` parses each `jsc.transform.optimizer.globals.vars` value into an anonymous file of the `SourceMap` it is handed, and memoizes the parsed expression in a process-wide cache. A span is only meaningful to the `SourceMap` that produced it, so the cache outlives what its contents point at, and the emitted source map ends up depending on three things that should not affect it: whether the call hit the cache, the order the host passed the defines in (the cache key is order sensitive), and which file was compiled first in the process (the cached position is derived from its size). Drop the spans before the value is cached. Parsing still happens in the caller's `SourceMap`, so a syntax error in a define value keeps its position, but nothing `SourceMap` dependent survives into the cache. Substituted values now carry `DUMMY_SP`, which codegen skips, so no mapping is emitted for them on any call.
upupming:fix/inline-globals-span
15 hours ago
fix(es/optimization): give substituted globals the span they replace
upupming:fix/inline-globals-span
21 hours ago
test(parser): remove codegen dev dependency
trueadm:codex/tsrx-parser
2 days ago
chore: Add changeset
trueadm:codex/tsrx-parser
2 days ago
Latest Branches
CodSpeed Performance Gauge
0%
ci: only plan completed issues and merged PRs
#12133
4 hours ago
d57ae28
fix/ci-limit-planned-milestone
CodSpeed Performance Gauge
-4%
fix(es2015): preserve const reassignment errors in block scoping
#12132
7 hours ago
4184f54
Alb3e3:fix-const-reassign-readonly-error
CodSpeed Performance Gauge
0%
fix(es/minifier): Mark for update and test as executed multiple time
#12131
12 hours ago
ca26914
Austaras:main
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs