Packages

oxc-parser

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

Your version

0.143.0

3 Aug 2026Where it was published

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::dangling method

  • Breaking

    ast: Store single parameter in TSIndexSignature::parameter

  • Breaking

    ast: Change TSIndexSignatureName::name to Ident

  • Breaking

    ast: Introduce ExportDeclaration, ExportFromDeclaration

  • Breaking

    ast: Introduce ArrowFunctionBody enum

  • Breaking

    ast: Remove conversion to Box from AST builder methods

Release note

Breaking changes

  • Breaking

    semantic: Return borrowed JSDoc so the parse cache works

  • Breaking

    allocator: Remove ArenaBox::dangling method

  • Breaking

    ast: Store single parameter in TSIndexSignature::parameter

  • Breaking

    ast: Change TSIndexSignatureName::name to Ident

  • Breaking

    ast: Introduce ExportDeclaration, ExportFromDeclaration

  • Breaking

    ast: Introduce ArrowFunctionBody enum

  • Breaking

    ast: Remove conversion to Box from AST builder methods

Features

  • allocator: Make Box Send + Sync when the type it contains is

  • ast: Derive GetSpan for Comment

  • ast_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-is

  • ast: Custom AST builder methods take IntoIn<ArenaBox> where child method does

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