Bump prettier from 2.8.3 to 2.8.4 in /js/js-flipper (#4518)

Summary:
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.3 to 2.8.4.
<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.8.4</h2>
<p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#284">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.8.4</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.8.3...2.8.4">diff</a></p>
<h4>Fix leading comments in mapped types with <code>readonly</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/13427">#13427</a> by <a href="https://github.com/thorn0"><code>@​thorn0</code></a>, <a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</h4>

<pre lang="tsx"><code>// Input
type Type = {
  // comment
  readonly [key in Foo];
};
<p>// Prettier 2.8.3
type Type = {
readonly // comment
[key in Foo];
};</p>
<p>// Prettier 2.8.4
type Type = {
// comment
readonly [key in Foo];
};
</code></pre></p>
<h4>Group params in opening block statements (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/14067">#14067</a> by <a href="https://github.com/jamescdavis"><code>@​jamescdavis</code></a>)</h4>
<p>This is a follow-up to <a href="https://github-redirect.dependabot.com/prettier/prettier/issues/13930">#13930</a> to establish wrapping consistency between opening block statements and else blocks by
grouping params in opening blocks. This causes params to break to a new line together and not be split across lines
unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the
same as opening blocks.</p>

<pre lang="hbs"><code>{{! Input }}
{{#block param param param param param param param param param param as |blockParam|}}
  Hello
{{else block param param param param param param param param param param as |blockParam|}}
  There
{{/block}}
<p>{{! Prettier 2.8.3 }}
{{#block
param
param
param
param
param
&lt;/tr&gt;&lt;/table&gt;
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e681edb67c"><code>e681edb</code></a> Release 2.8.4</li>
<li><a href="6bb24b2c5a"><code>6bb24b2</code></a> Fix leading comments in mapped types with <code>readonly</code> (Cherry-pick <a href="https://github-redirect.dependabot.com/prettier/prettier/issues/13427">#13427</a>) (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/1">https://github.com/facebook/flipper/issues/1</a>...</li>
<li><a href="399f2fae40"><code>399f2fa</code></a> Add changelog for <a href="https://github-redirect.dependabot.com/prettier/prettier/issues/14206">#14206</a> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/14311">#14311</a>)</li>
<li><a href="9842b29ca3"><code>9842b29</code></a> Recognize <code>satisfies</code> in Closure-style type casts (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/14262">#14262</a>)</li>
<li><a href="bc18fa4397"><code>bc18fa4</code></a> Fix incorrect removal of parentheses when using an <code>infer</code> with a constraint ...</li>
<li><a href="f602be5a47"><code>f602be5</code></a> Update <code>embeddedLanguageFormatting</code> option documentation (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/14048">#14048</a>)</li>
<li><a href="37fb53acf3"><code>37fb53a</code></a> [handlebars] group params in opening block statements (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/14067">#14067</a>)</li>
<li><a href="310a5b1ba5"><code>310a5b1</code></a> Handlebars: Improve HTML void element check (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/14110">#14110</a>)</li>
<li><a href="62195dd1f2"><code>62195dd</code></a> Add .sl to the list of silentlyIgnoredDirs (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/14206">#14206</a>)</li>
<li><a href="bf406f7728"><code>bf406f7</code></a> Clean changelog</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.8.3...2.8.4">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.8.3&new-version=2.8.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/4518

Reviewed By: mweststrate

Differential Revision: D43305199

Pulled By: ivanmisuno

fbshipit-source-id: 96e7f80044b58e270b2a44ba6fa64c43530ff2cf
This commit is contained in:
dependabot[bot]
2023-02-16 04:29:13 -08:00
committed by Facebook GitHub Bot
parent 2970ad855e
commit 69de6e60b2

View File

@@ -3488,9 +3488,9 @@ prettier-linter-helpers@^1.0.0:
fast-diff "^1.1.2"
prettier@^2.8.3:
version "2.8.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.3.tgz#ab697b1d3dd46fb4626fbe2f543afe0cc98d8632"
integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==
version "2.8.4"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3"
integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==
pretty-format@^29.0.0, pretty-format@^29.4.2:
version "29.4.2"