Summary: Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.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.6.1</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#261">Changelog</a></p> <h2>2.6.0</h2> <p>🔗 <a href="https://prettier.io/blog/2022/03/16/2.6.0.html">Release note</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.6.1</h1> <p><a href="https://github.com/prettier/prettier/compare/2.6.0...2.6.1">diff</a></p> <h4>Ignore <code>loglevel</code> when printing information (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/12477">#12477</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <pre lang="bash"><code># Prettier 2.6.0 prettier --loglevel silent --find-config-path index.js # Nothing printed <h1>Prettier 2.6.1</h1> <p>prettier --loglevel silent --help no-color</p> <h1>.prettierrc</h1> <p></code></pre></p> <h4>Make artifact friendly for webpack (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/12485">#12485</a>, <a href="https://github-redirect.dependabot.com/prettier/prettier/pull/12511">#12511</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <p>Fixes two problems when bundling our UMD files with webpack:</p> <ul> <li>A error <code>"`....__exportStar` is not a function"</code> throws when running the bundles.</li> <li>Some files cause warning about <code>"Critical dependency: the request of a dependency is an expression"</code>.</li> </ul> <h4>Fix non-idempotent formatting of function calls with complex type arguments (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/12508">#12508</a> by <a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</h4> <pre lang="tsx"><code>// Input const foo = doSomething<{ foo1: "foo1", foo2: "foo2", foo3: "foo3", foo4: "foo4", foo5: "foo5" }>(); <p>// Prettier 2.6.0 (first) const foo = doSomething<{ foo1: "foo1"; foo2: "foo2"; foo3: "foo3"; foo4: "foo4"; foo5: "foo5"; }>();</p> <p>// Prettier 2.6.0 (second) const foo = doSomething<{ foo1: "foo1"; foo2: "foo2"; foo3: "foo3"; foo4: "foo4"; foo5: "foo5"; }>(); </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="ad505bf771"><code>ad505bf</code></a> Release 2.6.1</li> <li><a href="6128c5c4e4"><code>6128c5c</code></a> Build: Fix <code>esbuildPluginReplaceModule</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12530">#12530</a>)</li> <li><a href="11649270f6"><code>1164927</code></a> Enable <code>unicorn/text-encoding-identifier-case</code> rule (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12526">#12526</a>)</li> <li><a href="0e6c1d58d8"><code>0e6c1d5</code></a> Enter OTP via <code>enquirer</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12528">#12528</a>)</li> <li><a href="67edeeaf72"><code>67edeea</code></a> Build(deps): Bump minimist from 1.2.5 to 1.2.6 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12513">#12513</a>)</li> <li><a href="6664253b9e"><code>6664253</code></a> Fix error when bundle prettier with webpack (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12511">#12511</a>)</li> <li><a href="9e7f7b9295"><code>9e7f7b9</code></a> Updated the State of JS Survey Results (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12350">#12350</a>)</li> <li><a href="becb6c9b74"><code>becb6c9</code></a> Fix non-idempotent formatting of function calls with complex type arguments (...</li> <li><a href="1939f92be5"><code>1939f92</code></a> Build(deps): Bump <code>@typescript-eslint/typescript-estree</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12514">#12514</a>)</li> <li><a href="6fece964c8"><code>6fece96</code></a> Build(deps): Bump json5 from 2.2.0 to 2.2.1 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12515">#12515</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.5.1...2.6.1">compare view</a></li> </ul> </details> <br /> [](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/3586 Reviewed By: passy Differential Revision: D35211399 Pulled By: mweststrate fbshipit-source-id: 98427e2ffb85a9fd6bb0fe9a7f9b4abdf2210e50
171 KiB
171 KiB