oxc-parser
0.159.0 · 16 Nov 2026MIT116.4M / weekRepositoryHomepagenpmAtom feed
0.159.0 is the newest release of 0.152.x.
In short
4 new7 faster6 fixed17 internal
Release note
Features
str: Add
JSStr,JSCharandJSStrBuildertypesregular_expression: Support buffer boundary assertions
transform-react: Add
reportDiagnosticsoption to expose recoverable React Compiler diagnosticsnapi: Add threadless WASI builds
Bug Fixes
minifier: Preserve iife with directives
str: Correct clippy reason
formatter/jsdoc: More alignment with original plugin
parser: Handle HTML comment values
parser: Reject module export names containing a lone surrogate
codegen: Remove redundant dollar escapes in minified templates
Performance
minifier: Fold logical expressions in place
minifier: Avoid creation of empty block when folding try finally
minifier: Update boolean context expressions in place
minifier: Take return argument directly when converting arrow fn
minifier: Reduce allocations when minimizing assignments
minifier: Use ident hashes for catch var and arguments
minifier: Use ident hashes in label comparison
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.