Packages

prettier

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

Upgrading prettier From 0.20.0 to 0.22.0

2 releases in betweenevery note read

Other targets from 0.20.0Latest3.10.1
  1. 0.20.0yours
  2. 0.21.0major
  3. 0.22.0target
0
changes to make
0
advisories fixed
3
new
23
fixes

Release by release

  1. 0.22.0

    9 Mar 20171 new · 14 fixes
    • New

      Add CLI Example to Readme

    • Fixed

      Fix paren removal on UnionTypeAnnotation

    • Fixed

      Ensure no parens for JSX inside of an ArrayExpression

    • Fixed

      Fix object expression in arrow function expression

  2. 0.21.0

    3 Mar 20172 new · 9 fixes
    • New

      Introduce -l option

    • New

      Add parenthesis around assignments

    • Fixed

      Don't wrap JSX Elements in parentheses in {}

    • Fixed

      Fix comment after the last argument of a function

21 other lines we could not sort, mostly version bumps
  • Run 0.21.0

    0.22.0
  • Improve readme CLI usage example

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

    0.22.0
  • Update README.md

    0.22.0
  • Cleanup needsParens

    0.22.0
  • Break if opening element breaks

    0.22.0
  • Parenthesize function expressions in expression position

    0.22.0
  • Update the README to add a pre-commit hook

    0.22.0
  • TypeScript Parser

    0.22.0
  • Recursively find leading comments inside ReturnStatements

    0.22.0

1 internal line (docs, tests, tooling) left out.

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.