Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump prettier from 2.8.8 to 3.1.1 (#142)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.1.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>3.1.1</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#311">Changelog</a></p> <h2>3.1.0</h2> <p><a href="https://github.com/prettier/prettier/compare/3.0.3...3.1.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2023/11/13/3.1.0.html">Release note</a></p> <h2>3.0.3</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#303">Changelog</a></p> <h2>3.0.2</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#302">Changelog</a></p> <h2>3.0.1</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#301">Changelog</a></p> <h2>3.0.0</h2> <p><a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2023/07/05/3.0.0.html">Release note</a></p> <h2>3.0.0-alpha.6</h2> <h2>What's Changed</h2> <ul> <li>Update <code>.d.ts</code> files of plugins to use <code>export default ...</code> by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/14435">prettier/prettier#14435</a></li> </ul> <p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6">https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6</a></p> <h2>3.0.0-alpha.5</h2> <h2>What's Changed</h2> <ul> <li>Add <code>.d.ts</code> files by <a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/14212">prettier/prettier#14212</a></li> <li>Support TypeScript 5 via <code>babel-ts</code> parser by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/14391">prettier/prettier#14391</a></li> </ul> <p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5">https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5</a></p> <h2>3.0.0-alpha.4</h2> <h2>What's Changed</h2> <ul> <li>Remove support for Flow comment types by <a href="https://github.com/thorn0"><code>@thorn0</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/13687">prettier/prettier#13687</a></li> <li>Make <code>resolveParser</code> work like v2 by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/13732">prettier/prettier#13732</a></li> <li>Add <code>__debug</code> apis to cjs version by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/13731">prettier/prettier#13731</a></li> </ul> <p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4">https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4</a></p> <h2>3.0.0-alpha.3</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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>3.1.1</h1> <p><a href="https://github.com/prettier/prettier/compare/3.1.0...3.1.1">diff</a></p> <h4>Fix config file search (<a href="https://redirect.github.com/prettier/prettier/pull/15363">#15363</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <p>Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake.</p> <pre lang="text"><code>├─ .prettierrc └─ test.js (A directory) └─ .prettierrc </code></pre> <pre lang="js"><code>// Prettier 3.1.0 await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); // <CWD>/test.js/.prettierrc <p>// Prettier 3.1.1 await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); // <CWD>/.prettierrc </code></pre></p> <h4>Skip explicitly passed symbolic links with <code>--no-error-on-unmatched-pattern</code> (<a href="https://redirect.github.com/prettier/prettier/pull/15533">#15533</a> by <a href="https://github.com/sanmai-NL"><code>@sanmai-NL</code></a>)</h4> <p>Since Prettier v3, we stopped following symbolic links, however in some use cases, the symbolic link patterns can't be filtered out, and there is no way to prevent Prettier from throwing errors.</p> <p>In Prettier 3.1.1, you can use <code>--no-error-on-unmatched-pattern</code> to simply skip symbolic links.</p> <h4>Consistently use tabs in ternaries when <code>useTabs</code> is <code>true</code> (<a href="https://redirect.github.com/prettier/prettier/pull/15662">#15662</a> by <a href="https://github.com/auvred"><code>@auvred</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="jsx"><code>// Input aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff : gggggggggggggggg; <p>// Prettier 3.1.0 aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/b86701dd1df5852f5024d322a17c9fb7ef97850c"><code>b86701d</code></a> Release 3.1.1</li> <li><a href="https://github.com/prettier/prettier/commit/c97480c9a96fedf32ae52d58796eaeb3137ad2dd"><code>c97480c</code></a> Use <code>attributes</code> instead of deprecated <code>assertions</code> (<a href="https://redirect.github.com/prettier/prettier/issues/15758">#15758</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/0d1ffb3a914d0ef779ff98e1e2e426f93a30f692"><code>0d1ffb3</code></a> Consistently use tabs in ternaries when <code>useTabs</code> is <code>true</code> (<a href="https://redirect.github.com/prettier/prettier/issues/15662">#15662</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/5f7aedc1cf0a1b3b4ec2c5a5ca0c09d1e0d00660"><code>5f7aedc</code></a> fix example to fit the actual experimentalTernaries behaviour (<a href="https://redirect.github.com/prettier/prettier/issues/15747">#15747</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/1e30f66f3979ea09adca75dc169cfe0229343a48"><code>1e30f66</code></a> Remove claim, untrue since over 5 years ago, that cursorOffset is incompatibl...</li> <li><a href="https://github.com/prettier/prettier/commit/39e4e7bf409d7ecc864a493d8ffa5f4f12403651"><code>39e4e7b</code></a> Add cursorOffset to Playground (<a href="https://redirect.github.com/prettier/prettier/issues/15751">#15751</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/8e816ade2ebd8b9e3d6bc464916747899535f7de"><code>8e816ad</code></a> Allow skipping symlink patterns, to avoid raising a fault (<a href="https://redirect.github.com/prettier/prettier/issues/15533">#15533</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/2ca5d757b746d661636bc91795fa7d98db10021f"><code>2ca5d75</code></a> Fix expect call in dts test (<a href="https://redirect.github.com/prettier/prettier/issues/15766">#15766</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/15c742844f3a942a855e3837a4175c2d5f9614b7"><code>15c7428</code></a> chore(deps): update dependency flow-parser to v0.223.3 (<a href="https://redirect.github.com/prettier/prettier/issues/15760">#15760</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/d3b3d4f5e3ba794f00cfa63db55a22e8b1faf30e"><code>d3b3d4f</code></a> chore(deps): update dependency hermes-parser to v0.18.0 (<a href="https://redirect.github.com/prettier/prettier/issues/15761">#15761</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.8.8...3.1.1">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.8&new-version=3.1.1)](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information