Socket
Socket
Sign inDemoInstall

prettier

Package Overview
Dependencies
0
Maintainers
11
Versions
158
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
1214
16Next

1.4.4

Diff

Changelog

Source

1.4.4

🔗 Fix postcss, I forgot to re-run the build script :(

vjeux
published 1.4.3 •

Changelog

Source

1.4.3

diff

  • Fix support for node 4 (#1988)
  • Fix website on iOS Safari (#1970)

Formatting change:

  • Position JSX whitespace ({" "}) at the end of lines (#1964)

Lots of small fixes, mainly for TypeScript.

vjeux
published 1.4.2 •

Changelog

Source

1.4.2

diff

  • fix(decorators): do not inline methods with decorators with babylon (#1934)
  • fix(typescript): print semi with inline interfaces/types (#1936)
  • fix(typescript): no semi after export default abstract class, fixes (#1937)
  • TypeScript: fix trailing comma in enum (#1938)
vjeux
published 1.4.1 •

Changelog

Source

1.4.1

diff

  • Lots of fixes for TypeScript and regressions from 1.4.0. If you are using 1.4.0, you should migrate to 1.4.1 asap ;)
vjeux
published 1.4.0 •

Changelog

Source
vjeux
published 1.4.0-beta •

vjeux
published 1.3.1 •

Changelog

Source

1.3.1

diff

  • Respect template inline-ness (#1497)
vjeux
published 1.3.0 •

Changelog

Source

1.3.0

diff

🔗 Release Notes

  • add printer branches for some TypeScript nodes (#1331)
  • Skip trailing commas with FlowShorthandWithOneArg (#1364)
  • add TSLastTypeNode and TSIndexedAccessType (#1370)
  • add TSConstructorType (#1367)
  • fix do-while break (#1373)
  • Fix missing trailing commas on flow generics (#1381)
  • Add example of using yarn test with arguments (#1383)
  • Have --debug-check also run ast verification (#1337)
  • Fix empty line in block with EmptyStatement (#1375)
  • parent decides how to print type annotations (#1391)
  • add TSTypeOperator (#1396)
  • fix TSTypeReference not printing typeArguments (#1392)
  • add TSMappedType and TSTypeParameter (#1393)
  • fix TSFunctionType failing on TypeParameters (#1394)
  • add TSIntersectionType (#1395)
  • fix typeParameters printing TSFunctionType w/o breaking flow (#1397)
  • Fix optional flow parenthesis (#1357)
  • [experimental] Add linting step in test pipeline (#1172)
  • fix VariableDeclarator not printing type parameters (#1415)
  • add TSMethodSignature (#1416)
  • Add TSParameterProperty, TSAbstractClassDeclaration and TSAbstractMethodDefinition (#1410)
  • Inline nullable in flow generics (#1426)
  • fixed method 'check' error 'format' of undefined (#1424)
  • feat(typescript): add declare modifier support for vars, classes and functions (#1436)
  • Allow flow declarations to break on StringLiteralTypeAnnotations (#1437)
  • Require '::a.b' to have a preceding ; in no-semi style (#1442)
  • Require '(a || b).c++' to have a preceding ; in no-semi style (#1443)
  • Upgrade flow parser to 0.45 (#1447)
  • Add supertype tests and add TSAbstractClassProperty (#1467)
  • Break class expression returned by arrow call (#1464)
  • update typescript snapshots to account for #1464 (#1470)
  • [WIP] add TSNamespaceExportDeclaration (#1459)
  • update yarn.lock (#1471)
  • [RFC] Do not indent calls with a single template literal argument (#873)
  • Proper indentation for template literals (#1385)
  • Add parenthesis for unusual nested ternaries (#1386)
  • Preserve inline comment as last argument (#1390)
  • Only add parenthesis on ternaries inside of arrow functions if doesn't break (#1450)
  • Fix windows line ending on template literals (#1439)
  • Add space around = for flow generics default arguments (#1476)
  • Don't break for unparenthesised single argument flow function (#1452)
  • Don't break on empty arrays and objects (#1440)
  • Do not break on [0] (#1441)
  • Reorder flow object props (#1451)
  • Break inline object first in function arguments (#1453)
  • Break inline object first in function arguments (#1453) (#1173)
  • Inline template literals as arrow body (#1485)
vjeux
published 1.2.2 •

Changelog

Source

1.2.2

diff

  • Only break for conditionals (#1350)
vjeux
published 1.2.1 •

Changelog

Source

1.2.1

diff

  • Fix duplicate comments in classes (#1349)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc