mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
853ffabf34
## Summary - Return `OutOfRange` when a `StringCharAt` position cannot fit in `usize`, avoiding a panic on 32-bit targets. - Cover the `u32` boundary in direct evaluation and minifier constant folding, alongside existing conversion and UTF-16 edge cases.
oxc_ecmascript
ECMAScript Operations defined in the spec https://tc39.es/ecma262/
Cargo features
side_effects: Enables side-effect analysis.constant_evaluation: Enables constant evaluation and impliesside_effects.
Tests reside in crates/oxc_minifier/tests/ecmascript due to cyclic dependency with oxc_parser.