Packages

oxc-parser

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

Your version

0.144.0

10 Aug 2026Where it was published

0.160.0 is the newest release of 0.144.x.

In short

4 breaking2 new3 faster15 fixed1 internal

  • Breaking

    ast: Group class heritage into ClassHeritage

  • Breaking

    ast: Narrow TSInterfaceHeritage::expression to TSTypeName

  • Breaking

    ast: Remove duplicated VariableDeclarator::kind

  • Breaking

    ast: Split TS external modules & Namespace Declarations

Release note

Breaking changes

  • Breaking

    ast: Group class heritage into ClassHeritage

  • Breaking

    ast: Narrow TSInterfaceHeritage::expression to TSTypeName

  • Breaking

    ast: Remove duplicated VariableDeclarator::kind

  • Breaking

    ast: Split TS external modules & Namespace Declarations

Features

  • napi: Restructure React transform options

  • allocator: Add ArenaVec::push_mut

Bug Fixes

  • codegen: Wrap string literal in parens after directives

  • codegen: Preserve cast parentheses in conditional tests

  • codegen: Preserve satisfies parentheses before bitwise operators

  • minifier: Avoid unsafe return removal in labeled blocks

  • parser: Preserve terminal license comments

  • transform_react: Downgrade nonfatal compiler diagnostics

  • react_compiler: Disable exhaustive memo validation by default

  • parser: Reject comma expressions in class fields

  • react_compiler: Preserve hook spans for React Refresh

  • parser: Reset auto-accessor initializer context

  • parser: Reject trailing tokens in Parser::parse_expression

  • minifier: Preserve Annex B labeled-function bindings in implicit-return rewrite

  • parser: Report TS1035 for quoted module names

  • semantic: Report module declaration diagnostics

  • napi: Omit parser header from WASI declarations

Performance

  • semantic: Avoid allocation in class overload check

  • parser: Optimize trailing comma tracking

  • minifier: Short-circuit scope check when alternate already determines result

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.