Packages

oxc-parser

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

Your version

0.109.0

19 Jan 2026Where it was published

0.160.0 is the newest release of 0.109.x.

In short

1 breaking3 new1 fixed

  • Breaking

    ast: Move scope from TSEnumDeclaration to TSEnumBody

Release note

The section about oxc-parser of a note shared by several packages.

Breaking changes

  • Breaking

    ast: Move scope from TSEnumDeclaration to TSEnumBody

Features

  • napi/parser, napi/transform: Accept sourceType: "commonjs"

  • parser: Implement unambiguous module parsing for JS/TS files

  • span: Add sourceType: 'commonjs' support

Bug Fixes

  • linter/plugins: Use correct ScriptKind for tokens

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.