oxc-parser
0.159.0 · 16 Nov 2026MIT116.4M / weekRepositoryHomepagenpmAtom feed
0.160.0 is the newest release of 0.147.x.
In short
1 new16 faster9 fixed2 internal
Release note
Features
minifier: Fold switch stmt whose parent is not block stmt
Bug Fixes
codegen: Require sourcemap for example
estree: Include decorators in
FormalParameterRestspansminifier: Avoid merging
iftoforin sloppy mode when containing function declarationrust: Address nightly deprecations
codegen: Only add mapping names for
PrivateIdentifiers which have changedparser: Track irregular line terminators in trivia
minifier: Avoid merging
iftoforwhen the body contains a function declarationcodegen: Print
#before private identifier in TS signature keyminifier: Keep unary
+when the other operand has side effects
Performance
packages/codegen: Remove
nodeparam fromwriteandmarkMapfunctions in sourcemap buildspackages/codegen: Pass
startandendtowriteandmarkfunctionspackages/codegen: Replace
writecalls withwriteIdentpackages/codegen: Remove
lastparam fromwriteWithMapNamedpackages/codegen: Eagerly initialize
mapNamespackages/codegen: Split recording mappings into multiple functions
packages/codegen: Reduce property lookups
packages/codegen: Combine condition checks
packages/codegen: Add functions for writing/marking unnamed mappings
codegen: Avoid allocations for single comment anchors
minifier: Do not rebuild expression when substituting void to null
packages/codegen: Merge
markandwritecalls inprintImportAttributespackages/codegen: Remove
nodeparam fromprintStringandprintNonNegativeFloatpackages/codegen:
printNonNegativeFloatwrite mapping directlyminifier: Avoid creation of unnecessary conditional expressions
packages/codegen: Remove
lastWasPostfixClose
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.