oxc/crates
camc314 a80460c6fe fix(minifier): correctly set self.changed when minimizing if stmts (#8420)
Before:

```
==== Input ====
require('./index.js')(function (e, os) {
  if (e) return console.log(e)
  return console.log(JSON.stringify(os))
})

==== First Minification
require("./index.js")(function(e, os) {
        return console.log(e ? e : JSON.stringify(os));
});

==== Second Minification ====
require("./index.js")(function(e, os) {
        return console.log(e || JSON.stringify(os));
});

same = false
```

After:
```
==== Input ====
require('./index.js')(function (e, os) {
  if (e) return console.log(e)
  return console.log(JSON.stringify(os))
})

==== First Minification ====
require("./index.js")(function(e, os) {
        return console.log(e || JSON.stringify(os));
});

==== Second Minification ====
require("./index.js")(function(e, os) {
        return console.log(e || JSON.stringify(os));
});

same = true
```
2025-01-11 01:12:09 +00:00
..
oxc release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_allocator feat(allocator): implement IntoIterator for &mut Vec (#8389) 2025-01-09 15:32:16 +00:00
oxc_ast refactor(ast): rearrange impls for literal types in same order as they are defined (#8425) 2025-01-10 22:40:17 +00:00
oxc_ast_macros release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_cfg release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_codegen fix(codegen): fix incorrect minified return 1n output (#8374) 2025-01-09 05:01:41 +00:00
oxc_data_structures build(rust): incompatible-rust-versions = "fallback" + cargo update (#8407) 2025-01-10 06:41:51 +00:00
oxc_diagnostics chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_ecmascript fix(minifier): +0n produces TypeError (#8410) 2025-01-10 07:18:06 +00:00
oxc_estree release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_isolated_declarations chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_language_server chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_linter chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_macros test(linter): use plugin name instead of category for finding rule (#8353) 2025-01-09 10:48:11 +08:00
oxc_mangler fix(mangler): keep exported symbols for top_level: true (#7927) 2025-01-10 15:14:30 +08:00
oxc_minifier fix(minifier): correctly set self.changed when minimizing if stmts (#8420) 2025-01-11 01:12:09 +00:00
oxc_napi release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_parser chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_prettier refactor(prettier): Verify current implementation with refactoring (#8412) 2025-01-10 17:31:33 +08:00
oxc_regular_expression chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_semantic refactor(semantic): check super usage based on scope (#8377) 2025-01-09 06:38:09 +00:00
oxc_span style(span): reformat code (#8296) 2025-01-06 13:57:58 +00:00
oxc_syntax fix(minifier): instanceof has error throwing side effect (#8378) 2025-01-09 06:49:27 +00:00
oxc_transformer refactor(transformer/class-properties): TODO comments (#8392) 2025-01-10 03:38:27 +00:00
oxc_traverse feat(allocator): implement IntoIterator for &mut Vec (#8389) 2025-01-09 15:32:16 +00:00
oxc_wasm refactor(linter): refactor LintBuilder to prep for nested configs (#8034) 2025-01-05 04:08:26 +00:00