oxc/crates/oxc_codegen
overlookmotel a0766e6a7f fix(codegen): fix arithmetic overflow printing unspanned nodes (#7292)
Similar to #7289. Check if `span.end` is 0 before doing `span.end - 1`, to prevent arithmetic overflow.

Also changed all checks to `span.end > 0`, just for consistency.
2024-11-15 16:04:02 +00:00
..
examples feat(codegen): print linked and external legal comment (#7059) 2024-11-02 04:08:14 +00:00
src fix(codegen): fix arithmetic overflow printing unspanned nodes (#7292) 2024-11-15 16:04:02 +00:00
tests/integration fix(codegen): print comments when block is empty (#7236) 2024-11-11 11:20:25 +00:00
Cargo.toml release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
CHANGELOG.md release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00