Latest Results
fix: treat CJS export assignment as side-effect-free without breaking innerGraph
Re-land the CommonJS export-assignment optimization from #14260 while keeping the relaxation confined to module-evaluation side-effect analysis, so innerGraph cannot erase a live Babel export write (#14589).
Require positive no-abrupt-completion evidence for the evaluated RHS. Track top-level initialization and TDZ state, reject unsafe coercive operators, class definition effects, property reads, optional chains, and calls, and keep unresolved or unsafe transitive reads conservative. Nested export-assignment chains are inspected once and unwrapped iteratively.
Keep CommonJS self/export dependencies neutral in module-evaluation aggregation, and add emitted-code plus runtime regressions for pure removal, BigInt errors, TDZ, class extends, coercion, getters, local inferred-pure calls, shadowing, dynamic keys, and innerGraph behavior.
Fixes #14589fy/cjs-export-assignment-side-effects fix: treat CJS export assignment as side-effect-free without breaking innerGraph
Re-land the CommonJS export-assignment optimization from #14260 while keeping the relaxation confined to module-evaluation side-effect analysis, so innerGraph cannot erase a live Babel export write (#14589).
Require positive no-abrupt-completion evidence for the evaluated RHS. Track top-level initialization and TDZ state, reject unsafe coercive operators, class definition effects, property reads, optional chains, and calls, and keep unresolved or unsafe transitive reads conservative. Nested export-assignment chains are inspected once and unwrapped iteratively.
Keep CommonJS self/export dependencies neutral in module-evaluation aggregation, and add emitted-code plus runtime regressions for pure removal, BigInt errors, TDZ, class extends, coercion, getters, local inferred-pure calls, shadowing, dynamic keys, and innerGraph behavior.
Fixes #14589fy/cjs-export-assignment-side-effects Latest Branches
+6%
fy/cjs-export-assignment-side-effects -1%
-3%
© 2026 CodSpeed Technology