chore(deps-dev): bump prettier from 3.1.0 to 3.1.1 #79

Merged
argoyle merged 1 commits from dependabot-npm_and_yarn-prettier-3.1.1 into main 2023-12-11 07:00:50 +00:00
argoyle commented 2023-12-11 06:52:51 +00:00 (Migrated from gitlab.com)

Bumps prettier from 3.1.0 to 3.1.1.

Release notes

Sourced from prettier's releases.

3.1.1

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.1.1

diff

Fix config file search (#15363 by @​fisker)

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.

├─ .prettierrc
└─ test.js         (A directory)
  └─ .prettierrc
// Prettier 3.1.0
await prettier.resolveConfigFile(new URL("./test.js", import.meta.url));
// <CWD>/test.js/.prettierrc

// Prettier 3.1.1 await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); // <CWD>/.prettierrc

Skip explicitly passed symbolic links with --no-error-on-unmatched-pattern (#15533 by @​sanmai-NL)

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.

In Prettier 3.1.1, you can use --no-error-on-unmatched-pattern to simply skip symbolic links.

Consistently use tabs in ternaries when useTabs is true (#15662 by @​auvred)

// Input
aaaaaaaaaaaaaaa
	? bbbbbbbbbbbbbbbbbb
	: ccccccccccccccc
	  ? ddddddddddddddd
	  : eeeeeeeeeeeeeee
	    ? fffffffffffffff
	    : gggggggggggggggg;

// Prettier 3.1.0 aaaaaaaaaaaaaaa ? bbbbbbbbbbbbbbbbbb : ccccccccccccccc ? ddddddddddddddd : eeeeeeeeeeeeeee ? fffffffffffffff </tr></table>

... (truncated)

Commits
  • b86701d Release 3.1.1
  • c97480c Use attributes instead of deprecated assertions (#15758)
  • 0d1ffb3 Consistently use tabs in ternaries when useTabs is true (#15662)
  • 5f7aedc fix example to fit the actual experimentalTernaries behaviour (#15747)
  • 1e30f66 Remove claim, untrue since over 5 years ago, that cursorOffset is incompatibl...
  • 39e4e7b Add cursorOffset to Playground (#15751)
  • 8e816ad Allow skipping symlink patterns, to avoid raising a fault (#15533)
  • 2ca5d75 Fix expect call in dts test (#15766)
  • 15c7428 chore(deps): update dependency flow-parser to v0.223.3 (#15760)
  • d3b3d4f chore(deps): update dependency hermes-parser to v0.18.0 (#15761)
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
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://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(&quot;./test.js&quot;, import.meta.url)); // &lt;CWD&gt;/test.js/.prettierrc <p>// Prettier 3.1.1 await prettier.resolveConfigFile(new URL(&quot;./test.js&quot;, import.meta.url)); // &lt;CWD&gt;/.prettierrc </code></pre></p> <h4>Skip explicitly passed symbolic links with <code>--no-error-on-unmatched-pattern</code> (<a href="https://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://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 &lt;/tr&gt;&lt;/table&gt; </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://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://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://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://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://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://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://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://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 /> --- <details> <summary>Dependabot commands</summary> <br /> You can trigger Dependabot actions by commenting on this MR - `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts </details>
argoyle commented 2023-12-11 06:52:59 +00:00 (Migrated from gitlab.com)

added 1 commit

  • 44047f88 - chore(deps-dev): bump prettier from 3.1.0 to 3.1.1

Compare with previous version

added 1 commit <ul><li>44047f88 - chore(deps-dev): bump prettier from 3.1.0 to 3.1.1</li></ul> [Compare with previous version](/unboundsoftware/auth0mock/-/merge_requests/74/diffs?diff_id=868300815&start_sha=a9633e907951bfed2c86781b9157ebfed85ad3c5)
argoyle (Migrated from gitlab.com) merged commit into main 2023-12-11 07:00:50 +00:00
Sign in to join this conversation.