oxc-parser
0.159.0 · 16 Nov 2026MIT116.4M / weekRepositoryHomepagenpmAtom feed
0.159.0 is the newest release of 0.155.x.
In short
3 breaking3 new10 faster12 fixed2 internal
- Breaking
transformer: Decode JSX entities to lone surrogates
- Breaking
ast: Preserve lone surrogates in static property names
- Breaking
ast: Preserve lone surrogates in static member names
Release note
Breaking changes
- Breaking
transformer: Decode JSX entities to lone surrogates
- Breaking
ast: Preserve lone surrogates in static property names
- Breaking
ast: Preserve lone surrogates in static member names
Features
minifier: Minimize array join expression
ast: Generate node ID setters for enums
minifier: Add de morgan optimization for void expressions
Bug Fixes
minifier: Fold string indices by UTF-16 code unit
linter: Check module specifiers and string values that contain lone surrogates
linter: Search string values without UTF-8 conversion
jsdoc: Parse code spans after quotes in descriptions
ecmascript: Look through sequence expressions in
to_primitiveminifier: Drop debugger statements in unbraced bodies
ecmascript: Correct parseFloat decimal prefix scanning
minifier: Preserve lexical initializers in dead for loops
ecmascript: Do not fold Number.isInteger / isSafeInteger of tiny non-integers to true
ecmascript: BigInt loose equality folding (unknown operands and
StringToBigInt)minifier: Preserve indirect access when folding into call targets
ecmascript: Do not fold
Math.cbrtof a negative number toNaN
Performance
transformer: Remove redundant scratch vectors
minifier: Reduce code branches when evaluating roots
codegen: Remove branches from loops printing arrays
codegen: Reduce hashmap lookups in
print_annotation_commentcodegen: Avoid unnecessary comment clone
codegen: Remove branch from
print_space_before_identifiercodegen: Simplify
print_space_before_identifierdiagnostics: Speed up zero-context span lookups
packages/codegen: Remove redundant
printSpaceBeforeIdentifierandlastupdates inprintParamscodegen: Reduce writes in
printDecorators
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.