oxc/crates/oxc_codegen
overlookmotel c0e9d7eb77 refactor(codegen)!: Codegen::into_source_text consume Codegen (#6539)
Breaking change. `Codegen::into_source_text` consume `Codegen`, instead of taking the `CodeBuffer` and substituting an empty one.

Keeping the `Codegen` alive seems unintuitive, as its state is then out of sync. Consuming the `CodeBuffer` is also marginally cheaper.
2024-10-14 01:09:03 +00:00
..
examples refactor(codegen)!: remove Codegen::enableSourceMap API (#6452) 2024-10-12 04:56:43 +00:00
src refactor(codegen)!: Codegen::into_source_text consume Codegen (#6539) 2024-10-14 01:09:03 +00:00
tests/integration fix(codegen): preserve parenthesis for ChainExpression (#6430) 2024-10-13 08:03:37 +00:00
Cargo.toml perf(codegen): optimize CodeBuffer::print_ascii_byte (#6516) 2024-10-14 01:09:01 +00:00
CHANGELOG.md release(crates): v0.31.0 (#6360) 2024-10-08 20:55:24 +08:00