Packages

prettier

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

Your version

1.15.3

30 Nov 2018Where it was published

1.19.1 is the newest release of 1.x.

In short

7 new13 fixed12 changed

Release note

diff

  • JavaScript: Support htm

  • JavaScript: Support logical assignment operator

  • JavaScript: Do not add quotes for interpolation-only attributes in html templates

  • JavaScript: Add missing parenthesis for binary in optional member

  • JavaScript: Fix a parser regression

  • JavaScript: Improve union types with leading comments

  • TypeScript: Support BigInt (#5546, #5577)

  • TypeScript: Inline method decorators should stay inlined

  • TypeScript: Do not change module into namespace and break/hug their body correctly

  • TypeScript: Do not add invalid semicolon for construct in interface with // prettier-ignore

  • HTML: Do not touch comments

  • HTML: Preserve bogus comments <! ... >/<? ... >

  • HTML: Support IE conditional start/end comment

  • HTML: Do not add extra indentation for js template in <script>

  • HTML: Leading spaces for the first interpolation in <textarea> are sensitive

  • HTML: Preserve content for element in <pre> correctly

  • HTML: Correct column for error code frame

  • Angular: Support interpolation in attributes

  • Angular: Do not print colon for then and else in *ngIf

  • Angular/Vue: Do not normalize tag/attribute names (#5526, #5549)

  • Vue: Preserve custom block

  • Vue: Remove unnecessary semicolon and preserve necessary semicolon for single expression in event bindings

  • Vue: Group slot-scope correctly

  • Markdown: Do not trim content in inline-math

  • Markdown: Add more category to CJK regex

  • SCSS: Update parser for performance improvements

  • YAML: Preserve the first document head end marker ---

  • API: Resolve ignored field correctly in .getFileInfo() with absolute filePath

  • API/CLI: Fix a bug that caches for .js config files did not respect .clearConfigCache()

  • API/CLI: Ignore unset in .editorconfig

  • CLI: Report status code 0 for --list-different + --write

  • Standalone: Fix a regression for browser compatibility

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.