Packages

oxc-parser

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

Your version

0.153.0

5 Oct 2026Where it was published

0.159.0 is the newest release of 0.153.x.

In short

7 new7 faster17 fixed1 internal

Release note

Features

  • minifier: Fold undefined argument in non delegating yield

  • ast: Tie debug_name return lifetime to the underlying AST node

  • minifier: Merge import statements against the same module

  • minifier: Merge import and export statements against the same module

  • minifier: Minimize bitwise binary expressions

  • minifier: Merge statements after terminating if block branches

  • minifier: Merge adjucent if stmt with the same content

Bug Fixes

  • parser: Report abstract private field error on modifier

  • parser: Include generator marker in overload diagnostic span

  • parser: Reject TypeScript class modifiers in JavaScript

  • minifier: Correct indopedency when processing nested sequences

  • parser: Remove type-dependent tuple rest diagnostics

  • parser: Validate TypeScript type member separators

  • parser: Reject module syntax in script

  • parser: Report TS1243 for abstract async methods

  • parser: Report TS1242 for interfaces with abstract modifier

  • parser: Avoid duplicate index signature modifier diagnostic

  • regex: Decode escaped capturing group names

  • minifier: Fold conditional expressions with long sequences

  • isolated-declarations: Allow adding undefined to keyof parameter types

  • isolated-declarations: Support readonly parameter types

  • transformer/explicit-resource-management: Transform classic for loop using declarations

  • minifier: Preserve sibling declarations in arguments copy rewrite

  • transformer/explicit-resource-management: Lower using in catch and finally

Performance

  • minifier: Small performance improvement when merging imports

  • codegen: Pre-allocate sourcemap builder vectors

  • minifier: Update expressions in place in merge_import_export

  • minifier: Update nodes in place in wrap_to_avoid_ambiguous_else

  • minifier: Avoid conversion from ident to str when for substitute symbols

  • minifier: Reduce usage of minimize_conditional

  • minifier: Short-circuit IfStatement termination on alternate

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.