Packages

oxc-parser

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

Your version

0.155.0

19 Oct 2026Where it was published

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_primitive

  • minifier: 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.cbrt of a negative number to NaN

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_comment

  • codegen: Avoid unnecessary comment clone

  • codegen: Remove branch from print_space_before_identifier

  • codegen: Simplify print_space_before_identifier

  • diagnostics: Speed up zero-context span lookups

  • packages/codegen: Remove redundant printSpaceBeforeIdentifier and last updates in printParams

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