Packages

prettier

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

Your version

1.15.2

10 Nov 2018Where it was published

1.19.1 is the newest release of 1.x.

In short

2 new8 fixed14 changed

Release note

diff

  • CLI: Allow flag overriding

  • JavaScript: Do not apply test call formatting to arrow function without body

  • JavaScript: Do not duplicate comments in styled-components

  • JavaScript: Do not indent comments behind variable declarations

  • JavaScript: Inline property decorator should stay inline (#5364, #5423)

  • JavaScript: Treat createSelector as function composition

  • Flow: Do not move flow comment for function argument to its body

  • Flow: force-break interface body to be consistent with TypeScript interface

  • Flow/TypeScript: Remove extra indentation for extends

  • TypeScript: Distinguish module and namespace correctly

  • HTML: Handle CRLF correctly

  • HTML: Handle <pre> with interpolation

  • HTML: Preserve content for <template> with unknown lang

  • HTML: Preserve incomplete IE conditional comments

  • HTML: Preserve unterminated IE conditional comments

  • HTML: Treat capital element as custom element

  • Angular: Add missing parens for pipe in ternary

  • Angular: Correctly print unary expression with operator +

  • Angular: Correctly handle parens

  • Angular/Vue: Whitespaces between interpolation and text are sensitive

  • Vue: Do not add invalid semicolon for v-on attribute value

  • SCSS: Do not crash on grid value

  • Markdown: Handle CRLF correctly

  • Markdown: Identify CJK correctly

  • MDX: Treat JSX code block same as in Markdown

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.