swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/typescript): analyze runtime containers before erasure Resolve enum values, alias dependencies and runtime requirements against shared declaration identities before syntax erasure. Track AST declaration order and execution regions, including eager decorator evaluation. Recognize immediately invoked functions through parentheses while retaining type wrappers as analysis boundaries. Evaluate initializers with TypeScript rules independently of optional member-read inlining. Substitute eligible enum reads while the original AST is intact, then pass immutable facts to lowering. Preserve reference operations and distinct emitted object identities, and accumulate namespace instantiation without repeated subtree scans.
fix/ts-namespace-enum-bindings
15 hours ago
fix(es/minifier): Store IIFE arg inline into Finalizer (#12624) **Related issue:** Closes #12538
main
15 hours ago
chore: Add changeset
Austaras:main
15 hours ago
docs(es/minifier): inline documented semantic assumptions (#12627) <!-- Note: CI script will automatically rebase your PR so please do not rebase unless required --> <!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. --> **Description:** The minifier agent instructions summarize the public assumptions but omit supporting details and add an exception to the object-property assumption. Inline all assumptions from https://swc.rs/docs/configuration/minification#assumptions, including the strict-mode note, property APIs, global getter warning, TDZ behavior, and mixed `bigint`/`number` example. Keep the separate implementation and review policy. Add the required patch changeset for `swc_ecma_minifier` and `swc_core`. Validation at `94c5e6c04d79ee646b21290e3dc4f0667e050448` (documentation and changeset only): - `git diff origin/main...HEAD --check`: passed. - `cargo fmt --all`: passed. - `cargo clippy --all --all-targets -- -D warnings`: passed. - `cargo test -p swc_ecma_minifier`: passed. - `cd crates/swc_ecma_minifier && ./scripts/exec.sh`: passed. **Related issue (if exists):** None.
main
15 hours ago
chore: Add changeset
kdy1/inline-minifier-assumptions
15 hours ago
fix(es/minifier): do not merge sequences across reads of writable properties of builtin globals
baltasarblanco:fix/sequences-global-this-property-read
23 hours ago
fix(es/typescript): analyze runtime containers before erasure Resolve enum values, alias dependencies and runtime requirements against shared declaration identities before syntax erasure. Track AST declaration order and execution regions, including eager decorator evaluation. Recognize immediately invoked functions through parentheses while retaining type wrappers as analysis boundaries. Evaluate initializers with TypeScript rules independently of optional member-read inlining. Substitute eligible enum reads while the original AST is intact, then pass immutable facts to lowering. Preserve reference operations and distinct emitted object identities, and accumulate namespace instantiation without repeated subtree scans.
fix/ts-namespace-enum-bindings
1 day ago
fix(es/minifier): Store IIFE arg inline into vars_to_inline
Austaras:main
1 day ago
Latest Branches
CodSpeed Performance Gauge
+7%
fix(es/typescript): Fix merged namespace bindings and enum evaluation
#12455
14 days ago
1b88ab4
fix/ts-namespace-enum-bindings
CodSpeed Performance Gauge
0%
fix(es/minifier): Store IIFE arg inline into Finalizer
#12624
15 hours ago
9ff46b2
Austaras:main
CodSpeed Performance Gauge
0%
docs(es/minifier): inline documented semantic assumptions
#12627
15 hours ago
94c5e6c
kdy1/inline-minifier-assumptions
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs