Packages

prettier

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

Your version

0.21.0

3 Mar 2017Where it was published

0.22.0 is the newest release of 0.21.x.

In short

2 new9 fixed7 changed

Release note

diff

  • Break before and after jsx whitespace

  • re-run snapshot tests

  • Run prettier 0.20.0

  • Don't wrap JSX Elements in parentheses in {}

  • Fix comment after the last argument of a function

  • Fix travis build image

  • Do not break require calls

  • Stabilize import as comments

  • Fix jsx expression comment that break

  • Inline last arg function arguments

  • Keep parenthesis on export default function

  • Inline short expressions for boolean operators too

  • Introduce -l option

  • Add parenthesis around assignments

  • Do not put \n after label

  • Fix comment for call( // comment

  • Do not break long it calls

  • Fix flow union comments

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.