Packages

oxc-parser

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

Your version

0.147.0

24 Aug 2026Where it was published

0.160.0 is the newest release of 0.147.x.

In short

1 new16 faster9 fixed2 internal

Release note

Features

  • minifier: Fold switch stmt whose parent is not block stmt

Bug Fixes

  • codegen: Require sourcemap for example

  • estree: Include decorators in FormalParameterRest spans

  • minifier: Avoid merging if to for in sloppy mode when containing function declaration

  • rust: Address nightly deprecations

  • codegen: Only add mapping names for PrivateIdentifiers which have changed

  • parser: Track irregular line terminators in trivia

  • minifier: Avoid merging if to for when the body contains a function declaration

  • codegen: Print # before private identifier in TS signature key

  • minifier: Keep unary + when the other operand has side effects

Performance

  • packages/codegen: Remove node param from write and markMap functions in sourcemap builds

  • packages/codegen: Pass start and end to write and mark functions

  • packages/codegen: Replace write calls with writeIdent

  • packages/codegen: Remove last param from writeWithMapNamed

  • packages/codegen: Eagerly initialize mapNames

  • packages/codegen: Split recording mappings into multiple functions

  • packages/codegen: Reduce property lookups

  • packages/codegen: Combine condition checks

  • packages/codegen: Add functions for writing/marking unnamed mappings

  • codegen: Avoid allocations for single comment anchors

  • minifier: Do not rebuild expression when substituting void to null

  • packages/codegen: Merge mark and write calls in printImportAttributes

  • packages/codegen: Remove node param from printString and printNonNegativeFloat

  • packages/codegen: printNonNegativeFloat write mapping directly

  • minifier: Avoid creation of unnecessary conditional expressions

  • packages/codegen: Remove lastWasPostfixClose

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.