sapphi-red
|
c90f0535c2
|
feat(minfier): support . separated values for compress.treeshake.manualPureFunctions (#16529)
close #16100
|
2025-12-05 09:58:02 +00:00 |
|
sapphi-red
|
c557854fe3
|
feat(ecmascript): support MayHaveSideEffects for Statements (#13402)
Added MayHaveSideEffects for Statements.
|
2025-08-30 04:15:20 +00:00 |
|
sapphi-red
|
ac2067b69a
|
feat(ecmascript): examine and improve is_literal_value (#13363)
Rewrote `IsLiteralValue` completely to ensure it satisfies the condition written in the description. Also added a bunch of tests for it.
|
2025-08-29 02:55:34 +00:00 |
|
Boshen
|
8a5c9b971e
|
refactor(minifier,ecmascript): clean up is_global_reference (#12953)
|
2025-08-10 15:16:53 +08:00 |
|
sapphi-red
|
d3ed128a11
|
fix(minifier): do not remove === 0 if the lhs can be NaN (#9352)
Example problem code:
```js
function foo(a) {
if (+a === 0) {
console.log(true)
} else {
console.log(false)
}
}
foo(NaN)
```
|
2025-02-25 12:41:26 +00:00 |
|
sapphi-red
|
eb7cd62fea
|
fix(ecmascript): to_number for shadowed undefined (#9106)
Similar to #9103 but for to_number.
|
2025-02-14 09:54:09 +00:00 |
|
sapphi-red
|
8cbdf00d9b
|
fix(ecmascript): to_boolean for shadowed undefined (#9105)
Similar to #9103 but for to_boolean.
|
2025-02-14 18:47:49 +09:00 |
|
sapphi-red
|
cfc71f9581
|
fix(ecmascript): to_string for shadowed undefined (#9103)
`to_string` was returning `"undefined"` for shadowed `undefined` as well.
|
2025-02-14 08:58:33 +00:00 |
|
sapphi-red
|
cc7bb9c44c
|
test(ecmascript): add test for ValueType and update document (#8951)
Wrote some tests for `ValueType::from`.
|
2025-02-07 14:15:53 +00:00 |
|
sapphi-red
|
e3e9999edd
|
feat(ecmascript): complete may_have_side_effects (#8855)
Ported tests from closure compiler and reviewed the behavior of may_have_side_effects and added additional tests.
|
2025-02-04 15:49:36 +00:00 |
|
Boshen
|
9d6e14bb67
|
test(ecmascript): move tests to oxc_minifier due to cyclic dependency with oxc_parser (#7542)
|
2024-11-29 09:18:45 +00:00 |
|