Packages

prettier

3.10.1 · 12 Nov 2026MIT196.9M / weekRepositoryHomepagenpmAtom feed

Your version

0.20.0

28 Feb 2017Where it was published

0.22.0 is the newest release of 0.20.x.

In short

2 new8 fixed6 changed1 internal

Release note

diff

  • Fix extra parens for update expressions

  • Fix empty options

  • Eagerly evaluate ifBreak when processing template literals (fixes #795

  • Fix function declaration params comments

  • Correct link for travis

  • Fix function call args

  • Properly support do

  • Do not put parenthesis around not named default export

  • Adds another preset to related projects

  • Fix trailing commas in docs

  • Put short body of arrow functions on the same line

  • Preserve new lines for comments after =

  • Fix indentation of a merged group

  • Migrate class comments to the beginning

  • Update list of related projects

  • Allow breaking for logical expressions in member chains

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.