Build(deps-dev): bump prettier from 2.5.0 to 2.5.1 #159

Merged
argoyle merged 1 commits from dependabot-npm_and_yarn-prettier-2.5.1 into master 2021-12-05 15:27:11 +00:00
argoyle commented 2021-12-05 04:52:26 +00:00 (Migrated from gitlab.com)

Bumps prettier from 2.5.0 to 2.5.1.

Release notes

Sourced from prettier's releases.

2.5.1

🔗 Changelog

Changelog

Sourced from prettier's changelog.

2.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
</tr></table> 

... (truncated)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.0 to 2.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>2.5.1</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#251">Changelog</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>2.5.1</h1> <p><a href="https://github.com/prettier/prettier/compare/2.5.0...2.5.1">diff</a></p> <h4>Improve formatting for empty tuple types (<a href="https://github.com/prettier/prettier/pull/11884">#11884</a> by <a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="tsx"><code>// Input type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; <p>// Prettier 2.5.0 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [</p> <p>] ? Foo3 : Foo4;</p> <p>// Prettier 2.5.0 (tailingCommma = all) // Invalid TypeScript code type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ , ] ? Foo3 : Foo4;</p> <p>// Prettier 2.5.1 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4;</p> <p></code></pre></p> <h4>Fix compatibility with Jest inline snapshot test (<a href="https://github.com/prettier/prettier/pull/11892">#11892</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4> <p>A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test.</p> <h4>Support Glimmer's named blocks (<a href="https://github.com/prettier/prettier/pull/11899">#11899</a> by <a href="https://github.com/duailibe"><code>@​duailibe</code></a>)</h4> <p>Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler.</p> <p>See: <a href="https://emberjs.github.io/rfcs/0460-yieldable-named-blocks.html">Glimmer's named blocks</a>.</p> <!-- raw HTML omitted --> <pre lang="hbs"><code>// Input &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/56ed71d1c99bdf5253d03df1fa2d2bd0693d8214"><code>56ed71d</code></a> Release 2.5.1</li> <li><a href="https://github.com/prettier/prettier/commit/29f408c99e4fcfc7b5c864ba9d2d55c3c07c0e57"><code>29f408c</code></a> Add changelog for <a href="https://github.com/prettier/prettier/issues/11892">#11892</a> (<a href="https://github.com/prettier/prettier/issues/11904">#11904</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/e7a74529a576009ea1c4b85eea67402aaee00980"><code>e7a7452</code></a> Make <code>options</code> argument in parsers optional (<a href="https://github.com/prettier/prettier/issues/11892">#11892</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/99649c7fd2342c7587db658090e52f262d91a76e"><code>99649c7</code></a> [handlebars] Named blocks can't be self closing (<a href="https://github.com/prettier/prettier/issues/11900">#11900</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/c0250b3837de815c18763149020d607868b2c485"><code>c0250b3</code></a> Improve formatting for empty tuple types (<a href="https://github.com/prettier/prettier/issues/11884">#11884</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/7fc196e96be43c0abf92fe28eb9e5c7ce3a87120"><code>7fc196e</code></a> Clean changelog_unreleased</li> <li><a href="https://github.com/prettier/prettier/commit/04aa850fde8417778fa346145ac8245ff9e52e20"><code>04aa850</code></a> Add 2.5 blog (<a href="https://github.com/prettier/prettier/issues/11823">#11823</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/255d38982f62a971473f0f12202f95799127a47f"><code>255d389</code></a> Update dependents count</li> <li><a href="https://github.com/prettier/prettier/commit/854ca328a2ca8d67ec2793c4e4a5ea01f10f7ea1"><code>854ca32</code></a> Git blame ignore 2.5.0</li> <li><a href="https://github.com/prettier/prettier/commit/846dbdd7e8c9deb315b3e663b3103c559e798a89"><code>846dbdd</code></a> Bump Prettier dependency to 2.5.0</li> <li>See full diff in <a href="https://github.com/prettier/prettier/compare/2.5.0...2.5.1">compare view</a></li> </ul> </details> <br /> --- <details> <summary>Dependabot commands</summary> <br /> You can trigger Dependabot actions by commenting on this MR - `$dependabot rebase` will rebase this MR - `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts </details>
argoyle commented 2021-12-05 15:27:11 +00:00 (Migrated from gitlab.com)

mentioned in commit 38db264330

mentioned in commit 38db264330c4b236578a8b1380c1aecbbc756e36
argoyle (Migrated from gitlab.com) merged commit 38db264330 into master 2021-12-05 15:27:11 +00:00
Sign in to join this conversation.