swc/crates/swc_ecma_minifier/tests
Fnll 2b361e679a
fix(es/minifier): Fix compress pow NaN (#9210)
**Description:**

`f64::powf` for `NaN` returns 1 instead of `NaN`, see
https://github.com/rust-lang/rust/issues/60468. We should handle that.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9193

---------

Co-authored-by: magic-akari <akari.ccino@gmail.com>
2024-07-12 21:06:57 +09:00
..
benches-full test(es/minfiier): Improve comment testing (#9164) 2024-07-06 22:53:57 +09:00
fixture fix(es/minifier): Fix case matching (#9208) 2024-07-11 14:29:51 +00:00
full test(es/minfiier): Improve comment testing (#9164) 2024-07-06 22:53:57 +09:00
mangle feat(es/renamer): Workaround a bug of Safari (#9029) 2024-06-10 11:29:24 +09:00
pass-1 test(es/minfiier): Improve comment testing (#9164) 2024-07-06 22:53:57 +09:00
pass-default feat(es/minifier): Implement trivial optimizations (#6256) 2022-11-02 01:21:32 +00:00
projects test(es/minfiier): Improve comment testing (#9164) 2024-07-06 22:53:57 +09:00
terser/compress fix(es/minifier): Fix compress pow NaN (#9210) 2024-07-12 21:06:57 +09:00
compress.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
eval.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
exec.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
format.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
mangle.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
passing.txt fix(es/minifier): Fix compress pow NaN (#9210) 2024-07-12 21:06:57 +09:00
postponed.txt fix(es/minifier): Fix compress pow NaN (#9210) 2024-07-12 21:06:57 +09:00
terser_exec_base.js refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00
terser_exec.rs refactor(es/parser): Rename EsConfig and TsConfig (#9094) 2024-06-22 01:56:37 +09:00
TODO.txt test(es/minifier): Update the passing terser test list (#8984) 2024-05-27 22:45:44 +09:00