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 3.1.0 to 3.1.1 (#154)
Bumps [prettier](https://github.com/prettier/prettier) from 3.1.0 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> </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>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/3.1.0...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=3.1.0&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 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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information