Update dependency prettier to v2.7.1 - autoclosed #8

Closed
kjuulh wants to merge 1 commits from renovate/prettier-2.x into main
Owner

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies minor 2.4.1 -> 2.7.1

Release Notes

prettier/prettier

v2.7.1

Compare Source

v2.7.0

Compare Source

v2.6.2

Compare Source

v2.6.1

Compare Source

v2.6.0

prettier --loglevel silent --find-config-path index.js

v2.5.1

diff

Improve formatting for empty tuple types (#​11884 by @​sosukesuzuki)
// Input
type Foo =
  Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
    ? Foo3
    : Foo4;

// Prettier 2.5.0
type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [

]
  ? Foo3
  : Foo4;

// Prettier 2.5.0 (tailingCommma = all)
// Invalid TypeScript code
type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [
  ,
]
  ? Foo3
  : Foo4;

// Prettier 2.5.1
type Foo =
  Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
    ? Foo3
    : Foo4;

Fix compatibility with Jest inline snapshot test (#​11892 by @​fisker)

A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test.

Support Glimmer's named blocks (#​11899 by @​duailibe)

Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler.

See: Glimmer's named blocks.

// Input
<Component>
  <:named></:named>
</Component>

// Prettier 2.5.0
<Component>
  <:named />
</Component>

// Prettier 2.5.1
<Component>
  <:named></:named>
</Component>

v2.5.0

diff

🔗 Release Notes


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | devDependencies | minor | [`2.4.1` -> `2.7.1`](https://renovatebot.com/diffs/npm/prettier/2.4.1/2.7.1) | --- ### Release Notes <details> <summary>prettier/prettier</summary> ### [`v2.7.1`](https://github.com/prettier/prettier/compare/44d8d18e1216a9ef25cfbc950d6373d38cbc613f...44d8d18e1216a9ef25cfbc950d6373d38cbc613f) [Compare Source](https://github.com/prettier/prettier/compare/44d8d18e1216a9ef25cfbc950d6373d38cbc613f...44d8d18e1216a9ef25cfbc950d6373d38cbc613f) ### [`v2.7.0`](https://github.com/prettier/prettier/compare/d6f82a024a1f0c4c7418a49a8334862286a63c17...44d8d18e1216a9ef25cfbc950d6373d38cbc613f) [Compare Source](https://github.com/prettier/prettier/compare/d6f82a024a1f0c4c7418a49a8334862286a63c17...44d8d18e1216a9ef25cfbc950d6373d38cbc613f) ### [`v2.6.2`](https://github.com/prettier/prettier/compare/ad505bf771126f39688b13a1319dfeef49fb4d5b...d6f82a024a1f0c4c7418a49a8334862286a63c17) [Compare Source](https://github.com/prettier/prettier/compare/ad505bf771126f39688b13a1319dfeef49fb4d5b...d6f82a024a1f0c4c7418a49a8334862286a63c17) ### [`v2.6.1`](https://github.com/prettier/prettier/compare/cba25e6b095eb33e9185eb0657680fed3456e688...ad505bf771126f39688b13a1319dfeef49fb4d5b) [Compare Source](https://github.com/prettier/prettier/compare/cba25e6b095eb33e9185eb0657680fed3456e688...ad505bf771126f39688b13a1319dfeef49fb4d5b) ### [`v2.6.0`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#Prettier-260) prettier --loglevel silent --find-config-path index.js ### [`v2.5.1`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;251) [diff](https://github.com/prettier/prettier/compare/2.5.0...2.5.1) ##### Improve formatting for empty tuple types ([#&#8203;11884](https://github.com/prettier/prettier/pull/11884) by [@&#8203;sosukesuzuki](https://github.com/sosukesuzuki)) <!-- prettier-ignore --> ```tsx // Input type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; // Prettier 2.5.0 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ ] ? Foo3 : Foo4; // Prettier 2.5.0 (tailingCommma = all) // Invalid TypeScript code type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ , ] ? Foo3 : Foo4; // Prettier 2.5.1 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; ``` ##### Fix compatibility with Jest inline snapshot test ([#&#8203;11892](https://github.com/prettier/prettier/pull/11892) by [@&#8203;fisker](https://github.com/fisker)) A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test. ##### Support Glimmer's named blocks ([#&#8203;11899](https://github.com/prettier/prettier/pull/11899) by [@&#8203;duailibe](https://github.com/duailibe)) Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler. See: [Glimmer's named blocks](https://emberjs.github.io/rfcs/0460-yieldable-named-blocks.html). <!-- prettier-ignore --> ```hbs // Input <Component> <:named></:named> </Component> // Prettier 2.5.0 <Component> <:named /> </Component> // Prettier 2.5.1 <Component> <:named></:named> </Component> ``` ### [`v2.5.0`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;250) [diff](https://github.com/prettier/prettier/compare/2.4.1...2.5.0) 🔗 [Release Notes](https://prettier.io/blog/2021/11/25/2.5.0.html) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
kjuulh force-pushed renovate/prettier-2.x from ba34c85aea to d2b2eed855 2022-10-26 17:03:35 +02:00 Compare
kjuulh force-pushed renovate/prettier-2.x from d2b2eed855 to c4b3beef7e 2022-10-26 17:21:29 +02:00 Compare
kjuulh changed title from Update dependency prettier to v2.7.1 to Update dependency prettier to v2.7.1 - autoclosed 2022-10-26 19:52:43 +02:00
kjuulh closed this pull request 2022-10-26 19:52:43 +02:00
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: OpenFood/openfood#8
No description provided.