Packages

prettier

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

Your version

0.22.0

9 Mar 2017Where it was published

In short

1 new14 fixed14 changed1 internal

Release note

diff

  • Run 0.21.0

  • Fix paren removal on UnionTypeAnnotation

  • Ensure no parens for JSX inside of an ArrayExpression

  • Fix object expression in arrow function expression

  • Fix unprinted comments in destructuring

  • Fix bug with importing empty type

  • Fix broken export comment

  • Add CLI Example to Readme

  • Fix 0.5e0

  • Fix binary expression instanceof in arrow function expression

  • Improve readme CLI usage example

  • Do not break long it/test calls when template literal

  • Update lint-staged docs to use husky for less config.

  • Fix files with comments only

  • Update README.md

  • Fix binary op as body in arrow expression

  • Cleanup needsParens

  • Break if opening element breaks

  • Parenthesize function expressions in expression position

  • Update the README to add a pre-commit hook

  • Fix #951: properly parenthesize ** expressions

  • TypeScript Parser

  • Do not break long describe calls

  • Recursively find leading comments inside ReturnStatements

  • Fix in inside of a for in a nested way

  • Make comments around empty parenthesis be inside

  • Stabilize comment after object label

  • Inline BinaryExpressions inside JSXExpression

  • Only allow same-line arrow-less body for explicit nodes

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.