Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prettier

Package Overview
Dependencies
Maintainers
1
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier - npm Package Versions

1
17

1.9.0

Diff

Changelog

Source

1.9.0

diff

🔗 Release Notes

azz
published 1.8.2 •

Changelog

Source

1.8.2

diff

  • Markdown: Don't break on links (#3204 by ikatyang)
  • Markdown: Add --no-prose-wrap option (#3199 by ikatyang)
  • TypeScript: Parenthesis around TSAsExpression inside TSAbstractClassDeclaration (#3191 by duailibe)
  • JSON: Print JSON top comments as leading comments of root node (#3187 by duailibe)
azz
published 1.8.1 •

Changelog

Source

1.8.1

diff

  • Force JSON to no trailing comma in multiparser (#3182 by azz)
  • Don't add trailing commas in JSXAttribute for arrow functions (#3181 by duailibe)
  • Markdown: Allow more cases that _-style emphasis is available (#3186 by ikatyang)
  • Markdown: Handle additional spaces before code (#3180 by ikatyang)
  • Markdown: Do not break on unbreakable place (#3177 by ikatyang)
  • Markdown: Do not break before special prefix (#3172 by ikatyang)
azz
published 1.8.0 •

Changelog

Source
azz
published 1.7.4 •

Changelog

Source

1.7.4

diff

  • Force template literals to break after ` for styled-components (#2926 by duailibe)
  • Update cosmiconfig to v3.1.0 (#2952 by ikatyang)
  • Respect --stdin-filepath, regardless of config source (#2948 by azz)
azz
published 1.7.3 •

Changelog

Source

1.7.3

diff

  • Fix cosmiconfig in the built version of Prettier (#2930 by lydell)
  • Fix: ignore and show warning for unknown option from config file (#2929 by ikatyang)
  • Don't use parens with optional chaining member expressions (#2921 by azz)
suchipi
published 1.7.2 •

Changelog

Source

1.7.2

diff

  • Revert "Fix line break in test declarations with a single argument function declaration" (#2912)
suchipi
published 1.7.1 •

Changelog

Source

1.7.1

diff

  • Enable cosmiconfig rcExtensions (#2749 by elektronik2k5)
  • Keep original empty lines in argument list (#2763 by jackyho112)
  • Upgrade prettier dependency to 1.7.0, fix lint (#2821 by josephfrazier)
  • Fix different precedence binary expression when inlining (#2827 by duailibe)
  • Bump Babylon (#2831 by existentialism)
  • Don't lowercase Less variables when parsed with SCSS parser (#2833 by lydell)
  • Don't lowercase &class in SCSS/Less selectors (#2834 by lydell)
  • Add support for ClassPrivateProperty (#2837 by existentialism)
  • Upgrade cosmiconfig to v3, remove hardcoded combinatorial problem (#2843 by azz)
  • Split Less and SCSS parsing into different parsers (#2844 by lydell)
  • feat: support detailed --help (#2847 by ikatyang)
  • Update cosmiconfig to 3.0.1 to avoid memory leak (#2848 by danez)
  • chore: add prettier-stylelint to the related projects (#2859 by hugomrdias)
  • Don't lowercase SCSS placeholder selectors (#2876 by lydell)
  • Fix line break in test declarations with 2nd argument as a function (#2877 by duailibe)
  • Use semicolons in Flow interface-like bodies (#2593) (#2888 by motiz88)
  • We do not need to have a reference to the toolbox-companion since we (#2892 by mitermayer)
  • fix(cli): validate options for every config-precedence (#2894 by ikatyang)
  • fix: do not print stack trace for invalid option (#2895 by ikatyang)
  • refactor: use custom error (#2896 by ikatyang)
  • fix(typescript): allow symbol type (#2899 by ikatyang)
  • Support fit(), xit(), it.only(), etc (#2900 by azz)
  • Fix editor styling on empty editors (#2904 by jakegavin)
  • Fix printing of comments between decorators and method names (#2906 by azz)
suchipi
published 1.7.0 •

Changelog

Source
vjeux
published 1.6.1 •

Changelog

Source

1.6.1

diff

  • Fix CLI option parsing with no arguments (#2684)
  • Fix config file finding when using stdin (#2692)
  • Fix union type with type params regression (#2688)
  • Fix flow parenthesis regression (#2687)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc