Packages

oxc-parser

0.159.0 · 16 Nov 2026MIT116.4M / weekRepositoryHomepagenpmAtom feed

Your version

0.152.0

29 Sep 2026Where it was published

0.159.0 is the newest release of 0.152.x.

In short

4 new7 faster6 fixed17 internal

Release note

Features

  • str: Add JSStr, JSChar and JSStrBuilder types

  • regular_expression: Support buffer boundary assertions

  • transform-react: Add reportDiagnostics option to expose recoverable React Compiler diagnostics

  • napi: 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.