chore(deps): update dependency prettier to v2.5.1 #46

Merged
xoxys merged 1 commits from renovate/prettier-2.x into main 2021-12-06 15:44:19 +00:00
Member

This PR contains the following updates:

Package Update Change
prettier (source) patch 2.5.0 -> 2.5.1

Release Notes

prettier/prettier

v2.5.1

Compare Source

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>

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 | Update | Change | |---|---|---| | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | patch | `2.5.0` -> `2.5.1` | --- ### Release Notes <details> <summary>prettier/prettier</summary> ### [`v2.5.1`](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#&#8203;251) [Compare Source](https://github.com/prettier/prettier/compare/2.5.0...2.5.1) [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> ``` </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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).
renovator added 1 commit 2021-12-04 15:00:30 +00:00
chore(deps): update dependency prettier to v2.5.1
All checks were successful
continuous-integration/drone/pr Build is passing
a8cb14a574
xoxys merged commit eea5b50c3e into main 2021-12-06 15:44:19 +00:00
xoxys deleted branch renovate/prettier-2.x 2021-12-06 15:44:19 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
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: container/alpine-tools#46
No description provided.