swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/parser): Retry ambiguous Program parsing
fix/parse-unambiguous
7 hours ago
fix(es/parser): Retry ambiguous Program parsing
fix/parse-unambiguous
7 hours ago
fix(es/parser): Retry ambiguous Program parsing
fix/parse-unambiguous
8 hours ago
docs(es/minifier): Document local invariants of the console noop substitution Per the AGENTS.md guidance for assumptions beyond the documented list: - Own overrides of `bind`/`toString`/`valueOf` on a console method are not preserved; the names are matched statically, as terser does. - The hoisted `console == null` check reads the global twice, so the binding is assumed stable rather than a side-effectful accessor.
striedinger:fix/minifier-drop-console-bind
2 days ago
fix(es/minifier): freshen copied IIFE parameters
marcoshernanz:codex/fix-cloned-iife-mangle-bindings
2 days ago
fix(es/minifier): Preserve per-hop ?. semantics, drop the Function.prototype noop, move exec tests into fixtures - Guard per optional hop: `console?.error.bind(x)` hoists the console check (`console == null ? void 0 : (console.error && noop).bind()`), so a nullish `console` still short-circuits while a nullish `console.error` still throws at the `.bind` access. - Revert the ES5 noop to `function () {}`: `Function.prototype` relies on the mutable global `Function`. The remaining ES5 deviation (constructing a dropped bound method succeeds) is documented as a local invariant. - Replace the inline exec tests with fixture suites per the fixture test guide, adding a nullish-console fixture.
striedinger:fix/minifier-drop-console-bind
2 days ago
fix(es/minifier): preserve effects of returned value calls
marcoshernanz:codex/fix-pure-callee-return-call
2 days ago
fix(es/minifier): Use Function.prototype as the ES5 noop, carry ?. across the rewritten member access - For ES5 targets, substitute `Function.prototype` instead of `function () {}`: it is callable, returns `undefined` and, like the native console methods, is not a constructor. - When the short-circuit guard is inserted, make the rewritten member access optional so an earlier `?.` (e.g. `console?.error.bind(x)`) still lets the chain yield `undefined` for a nullish `console`.
striedinger:fix/minifier-drop-console-bind
2 days ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es/parser): Retry ambiguous Program parsing
#12142
8 hours ago
70ee744
fix/parse-unambiguous
CodSpeed Performance Gauge
-3%
fix(es/minifier): Don't replace value-used console.*.bind() calls with undefined
#12138
2 days ago
3e577e3
striedinger:fix/minifier-drop-console-bind
CodSpeed Performance Gauge
0%
fix(es/minifier): freshen copied IIFE parameters
#12141
2 days ago
1745810
marcoshernanz:codex/fix-cloned-iife-mangle-bindings
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs