oxc-parser
0.159.0 · 16 Nov 2026MIT116.4M / weekRepositoryHomepagenpmAtom feed
0.160.0 is the newest release of 0.143.x.
In short
7 breaking8 new2 faster11 fixed1 internal
- Breaking
semantic: Return borrowed JSDoc so the parse cache works
- Breaking
allocator: Remove
ArenaBox::danglingmethod - Breaking
ast: Store single parameter in
TSIndexSignature::parameter - Breaking
ast: Change
TSIndexSignatureName::nametoIdent - Breaking
ast: Introduce
ExportDeclaration,ExportFromDeclaration - Breaking
ast: Introduce
ArrowFunctionBodyenum - Breaking
ast: Remove conversion to
Boxfrom AST builder methods
Release note
Breaking changes
- Breaking
semantic: Return borrowed JSDoc so the parse cache works
- Breaking
allocator: Remove
ArenaBox::danglingmethod - Breaking
ast: Store single parameter in
TSIndexSignature::parameter - Breaking
ast: Change
TSIndexSignatureName::nametoIdent - Breaking
ast: Introduce
ExportDeclaration,ExportFromDeclaration - Breaking
ast: Introduce
ArrowFunctionBodyenum - Breaking
ast: Remove conversion to
Boxfrom AST builder methods
Features
allocator: Make
BoxSend+Syncwhen the type it contains isast: Derive
GetSpanforCommentast_tools: Generate minifier scope collector
ecmascript: Skip transparent TS expressions
napi: Add React Compiler transform binding
minifier: Fold safe integer exponentiation
minifier: Enable termination statement optimization for do while
minifier: Fold safe integer division and remainder
Bug Fixes
minifier: Preserve if-chain idempotency and correct side effects when alternate should not be moved
ecmascript: Do not treat lone-surrogate strings as constants
isolated-declarations: Strip re-export attributes
parser: Report export imports in namespaces
react_compiler: Preserve nonfatal diagnostics
react_compiler: Match eslint suppression gating
react_compiler: Track catch block declarations
minifier: Fold typeof comparisons with known object strings
minifier: Keep
typeof foo == ['object']as-isast: Custom AST builder methods take
IntoIn<ArenaBox>where child method doesminifier: Respect targets when folding RegExp source
Performance
minifier: Stop re-deriving printed numeric spellings
react_compiler: Avoid large types on stack
isolated_declarations: Avoid large types on stack
transformer: Avoid large types on stack
parser: Avoid large types on stack
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.