oxc-parser
0.159.0 · 16 Nov 2026MIT116.4M / weekRepositoryHomepagenpmAtom feed
0.159.0 is the newest release of 0.148.x.
In short
1 breaking5 new5 faster14 fixed
- Breaking
allocator: Make
Allocator::cursor_ptranddata_end_ptrprivate
Release note
Breaking changes
- Breaking
allocator: Make
Allocator::cursor_ptranddata_end_ptrprivate
Features
minifier: Drop cases whose condition is statically false
minifier: Invert
!0and!1in place for boolean context to1and0minifier: Expand fold leading assignments into the var decl
minifier: Expand de morgan's optimization to allow move of
!parser: Attach all comments to nodes
Bug Fixes
semantic: Skip body bindings in type parameters and
thisparamsemantic: Validate chained continue labels
ecmascript:
Math.roundonly exact half tiesminifier: Coerce omitted
indexOfsearch argumentecmascript: Trim trailing whitespace in string to number
transformer/object-rest: Lower multiple declarators correctly
parser: Avoid panic on escaped string export names
linter: Clamp invalid JS plugin locations
semantic: Skip function body bindings in parameters
transform-react: Match Babel diagnostic reporting
parser: Correctly classify unapplied pure annotations
linter/plugins: Alter method for obtaining mutable
Programwhen sending AST to JS pluginsregular_expression: Allow oversized decimal escape for Annex B
regular_expression: Reject oversized backreferences
Performance
diagnostics: Use fixed ANSI styles
packages/codegen: Flatten output in chunks
packages/codegen: Faster string flattening
packages/codegen: Ensure indent strings are flattened
packages/codegen: Store mapping positions in an
Int32Array
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.