chore(deps-dev): bump prettier from 3.5.0 to 3.5.3 #32

Open
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/prettier-3.5.3 into main
dependabot[bot] commented 2025-03-03 16:19:05 +01:00 (Migrated from github.com)

Bumps prettier from 3.5.0 to 3.5.3.

Release notes

Sourced from prettier's releases.

3.5.3

🔗 Changelog

3.5.2

🔗 Changelog

3.5.1

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.5.3

diff

Flow: Fix missing parentheses in ConditionalTypeAnnotation (#17196 by @​fisker)

// Input
type T<U> = 'a' | ('b' extends U ? 'c' : empty);
type T<U> = 'a' & ('b' extends U ? 'c' : empty);

// Prettier 3.5.2
type T<U> = "a" | "b" extends U ? "c" : empty;
type T<U> = "a" & "b" extends U ? "c" : empty;

// Prettier 3.5.3
type T<U> = "a" | ("b" extends U ? "c" : empty);
type T<U> = "a" & ("b" extends U ? "c" : empty);

3.5.2

diff

Remove module-sync condition (#17156 by @​fisker)

In Prettier 3.5.0, we added module-sync condition to package.json, so that require("prettier") can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove the module-sync condition, so require("prettier") will still use the CommonJS version, we'll revisit until require(ESM) feature is more stable.

3.5.1

diff

Fix CLI crash when cache for old version exists (#17100 by @​sosukesuzuki)

Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.

Support dockercompose and github-actions-workflow in VSCode (#17101 by @​remcohaszing)

Prettier now supports the dockercompose and github-actions-workflow languages in Visual Studio Code.

Commits

Dependabot compatibility score

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 commands and options

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)
Bumps [prettier](https://github.com/prettier/prettier) from 3.5.0 to 3.5.3. <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.5.3</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#353">Changelog</a></p> <h2>3.5.2</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#352">Changelog</a></p> <h2>3.5.1</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#351">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.5.3</h1> <p><a href="https://github.com/prettier/prettier/compare/3.5.2...3.5.3">diff</a></p> <h4>Flow: Fix missing parentheses in <code>ConditionalTypeAnnotation</code> (<a href="https://redirect.github.com/prettier/prettier/pull/17196">#17196</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="jsx"><code>// Input type T&lt;U&gt; = 'a' | ('b' extends U ? 'c' : empty); type T&lt;U&gt; = 'a' &amp; ('b' extends U ? 'c' : empty); <p>// Prettier 3.5.2<br /> type T&lt;U&gt; = &quot;a&quot; | &quot;b&quot; extends U ? &quot;c&quot; : empty;<br /> type T&lt;U&gt; = &quot;a&quot; &amp; &quot;b&quot; extends U ? &quot;c&quot; : empty;</p> <p>// Prettier 3.5.3<br /> type T&lt;U&gt; = &quot;a&quot; | (&quot;b&quot; extends U ? &quot;c&quot; : empty);<br /> type T&lt;U&gt; = &quot;a&quot; &amp; (&quot;b&quot; extends U ? &quot;c&quot; : empty);<br /> </code></pre></p> <h1>3.5.2</h1> <p><a href="https://github.com/prettier/prettier/compare/3.5.1...3.5.2">diff</a></p> <h4>Remove <code>module-sync</code> condition (<a href="https://redirect.github.com/prettier/prettier/pull/17156">#17156</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4> <p>In Prettier 3.5.0, <a href="https://prettier.io/blog/2025/02/09/3.5.0#use-esm-entrypoint-for-requireesm-16958-by-tats-u">we added <code>module-sync</code> condition to <code>package.json</code></a>, so that <code>require(&quot;prettier&quot;)</code> can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove the <code>module-sync</code> condition, so <code>require(&quot;prettier&quot;)</code> will still use the CommonJS version, we'll revisit until <code>require(ESM)</code> feature is more stable.</p> <h1>3.5.1</h1> <p><a href="https://github.com/prettier/prettier/compare/3.5.0...3.5.1">diff</a></p> <h4>Fix CLI crash when cache for old version exists (<a href="https://redirect.github.com/prettier/prettier/pull/17100">#17100</a> by <a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</h4> <p>Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.</p> <h4>Support dockercompose and github-actions-workflow in VSCode (<a href="https://redirect.github.com/prettier/prettier/pull/17101">#17101</a> by <a href="https://github.com/remcohaszing"><code>@​remcohaszing</code></a>)</h4> <p>Prettier now supports the <code>dockercompose</code> and <code>github-actions-workflow</code> languages in Visual Studio Code.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/4ff5dc540fa09b25fb0c02709d227af5ca53cfbf"><code>4ff5dc5</code></a> Release 3.5.3</li> <li><a href="https://github.com/prettier/prettier/commit/a2e560e951b44e4b51b0c082da37a5ce396fadd2"><code>a2e560e</code></a> Fix missing parentheses in <code>ConditionalTypeAnnotation</code> (<a href="https://redirect.github.com/prettier/prettier/issues/17196">#17196</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/fa95c97eb30dbcd86e352d4178c9b366bb073b97"><code>fa95c97</code></a> Add <code>mergeBlogPost</code> step to release script (<a href="https://redirect.github.com/prettier/prettier/issues/17199">#17199</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/b47cd502ad87859d83a555a735a2889d65588d51"><code>b47cd50</code></a> Add title to patch release changelog (<a href="https://redirect.github.com/prettier/prettier/issues/17197">#17197</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/de30788d30990b35534832ca554f5d5add2d4221"><code>de30788</code></a> Minor fix in release script</li> <li><a href="https://github.com/prettier/prettier/commit/ecee6a0e52429be07d84d4ffac0be585c2f89614"><code>ecee6a0</code></a> Clean changelog_unreleased</li> <li><a href="https://github.com/prettier/prettier/commit/fd065126148c5f45a125de49242d4feec0cd8557"><code>fd06512</code></a> Bump Prettier dependency to 3.5.2</li> <li><a href="https://github.com/prettier/prettier/commit/1f74dd55aca696e6eb6f4b866c3cd2dbeb0d245d"><code>1f74dd5</code></a> Update dependents count</li> <li><a href="https://github.com/prettier/prettier/commit/399f427f8848ffa3d7b47b00f43925e2f6cd6edc"><code>399f427</code></a> Release 3.5.2</li> <li><a href="https://github.com/prettier/prettier/commit/bf5aab8f2d584bd5a41e37386eb3a236ff131e35"><code>bf5aab8</code></a> Revert &quot;Use ESM entrypoint for <code>require(ESM)</code>&quot; (<a href="https://redirect.github.com/prettier/prettier/issues/17156">#17156</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/3.5.0...3.5.3">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.5.0&new-version=3.5.3)](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>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/prettier-3.5.3:dependabot/npm_and_yarn/prettier-3.5.3
git switch dependabot/npm_and_yarn/prettier-3.5.3

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff dependabot/npm_and_yarn/prettier-3.5.3
git switch dependabot/npm_and_yarn/prettier-3.5.3
git rebase main
git switch main
git merge --ff-only dependabot/npm_and_yarn/prettier-3.5.3
git switch dependabot/npm_and_yarn/prettier-3.5.3
git rebase main
git switch main
git merge --no-ff dependabot/npm_and_yarn/prettier-3.5.3
git switch main
git merge --squash dependabot/npm_and_yarn/prettier-3.5.3
git switch main
git merge --ff-only dependabot/npm_and_yarn/prettier-3.5.3
git switch main
git merge dependabot/npm_and_yarn/prettier-3.5.3
git push origin main
Sign in to join this conversation.
No description provided.