swc/crates/swc_ecma_minifier/tests/fixture/issues/react-instancesearch
Austaras f8ca366cc1
fix(es/minifier): Abort seq inliner if var is not fn_local or reassigned (#7804)
**Description:**

It turns out that the original implementation of `infect`is incomplete
because it cannot cover function param, and the new implementation
introduced in #7772 is redundant because what
[terser](https://github.com/terser/terser/blob/master/lib/compress/tighten-body.js#L909C18-L909C28)
do is basically checking `fn_local`


**Related issue:**

 - Closes #7784
2023-08-17 05:15:59 +00:00
..
001 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
002 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
003 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
004 fix(es/minifier): Abort seq inliner if var is not fn_local or reassigned (#7804) 2023-08-17 05:15:59 +00:00