swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
revert(es/decorators): revert decorator initializer ordering (#11901) **Description:** Reverts swc-project/swc#11847 because the helper changes shipped in `@swc/helpers@0.5.22` caused a decorator helper regression. This restores the previous 2022-03 decorator initializer behavior, removes the regression fixtures added by #11847, reverts the matching external helper source, and adds a patch changeset for the touched Rust crates. `@swc/helpers@0.5.22` has been deprecated on npm with an upgrade note for `0.5.23`. Validation: - `git submodule update --init --recursive` - `cargo fmt --all` - `cargo test -p swc_ecma_transforms_base` - `cargo test -p swc_ecma_transforms_proposal` - `cargo clippy --all --all-targets -- -D warnings` `pnpm --filter @swc/helpers build` was also attempted, but local `node_modules` is not installed in this checkout, so `zx` was unavailable. **BREAKING CHANGE:** None. **Related issue (if exists):** Reverts #11847
main
39 minutes ago
revert(es/decorators): revert decorator initializer ordering
kdy1/revert-11847-helper-regression
49 minutes ago
fix(es/resolver): Include export import aliases in namespace pre-scan `pre_scan_namespace_exports` only inspected `ModuleDecl::ExportDecl`, so `export import A = ...` (a `TsImportEqualsDecl { is_export: true, .. }`) was never added to `namespace_export_names`. The alias binding was then routed to the body-local scope instead of the namespace's merged export scope, and references from sibling re-opens of the same namespace fell through to outer/unresolved bindings, violating TypeScript's namespace-merge semantics. Recognise the exported import-equals form in the pre-scan, adding the alias to `values` (and to `types` when not `is_type_only`), mirroring how `export namespace`/`export class`/`export enum` are tracked. The existing `visit_mut_ts_import_equals_decl` `modify` call now routes the binding to the shared export scope, and type-position lookups in sibling bodies resolve through `mark_for_ref_inner`'s `declared_types -> declared_symbols` fall-through. Signed-off-by: Onyeka Obi <softwareengineerasaservant@isurvivable.cv>
MavenRain:fix/resolver-namespace-merge
11 hours ago
chore: start keyword hashing optimization
hardfist:perf/perfect-keyword-hashing
18 hours ago
Reserve parser atom store capacity
hardfist:codex/swc-parse-perf-worktree
2 days ago
chore: bump cargo-mono to 0.6.9
kdy1/bump-cargo-mono-0-6-9
2 days ago
perf: downgrade lexer inline(always) to inline to reduce code bloat
codex/swc-parse-perf-worktree
3 days ago
Reserve parser atom store capacity
hardfist:codex/swc-parse-perf-worktree
3 days ago
Latest Branches
CodSpeed Performance Gauge
0%
revert(es/decorators): revert decorator initializer ordering
#11901
55 minutes ago
3273a08
kdy1/revert-11847-helper-regression
CodSpeed Performance Gauge
0%
fix(es/resolver): Merge re-opened TypeScript namespace scopes
#11872
5 days ago
7aa055b
MavenRain:fix/resolver-namespace-merge
CodSpeed Performance Gauge
0%
Try perfect keyword hashing in the ECMA lexer
#11899
18 hours ago
c465369
hardfist:perf/perfect-keyword-hashing
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs