Packages

prettier

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

Your version

0.0.9

18 Jan 2017Where it was published

0.22.0 is the newest release of 0.0.x.

In short

6 new9 fixed8 changed2 internal

Release note

diff

  • Workaround flow bug parsing astral unicode characters

  • Allow specifying the major mode that defun-before-save will use. (#276

  • Fix space missing before , on export with bracket spacing off

  • Fix space missing before , on import with bracket spacing off

  • Add newline after shebang if necessary.

  • Remove +1 from newline detection

  • Fix path when printing member chains so parens work properly (fixes #243

  • Ensure parens on NewExpression with function callee

  • Fix missing semi when default exporting CallExpression

  • Workaround flow parser bug with spread in arrays

  • Allow customizing args sent to prettier-command

  • Do not output trailing commas with rest arguments

  • Use exact versions in package.json

  • Use js native String.repeat()

  • Handle additional export default parens cases

  • Fix parens around anonymous functions

  • Introduce second argument to ifBreak

  • Remove unused variable

  • Fix trailing whitespace

  • Add version flag

  • Add --run-in-band to travis

  • Split elements on newlines and preserve whitespace (w/@yamafaktory)

  • Print binary and logical expressions in a nicer format

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.