Bump prettier from 2.8.8 to 3.2.4 #22

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/prettier-3.2.4 into main 2024-01-29 12:36:51 +00:00
dependabot[bot] commented 2024-01-29 11:40:18 +00:00 (Migrated from github.com)

Bumps prettier from 2.8.8 to 3.2.4.

Release notes

Sourced from prettier's releases.

3.2.4

  • Fix .eslintrc.json format #15947

🔗 Changelog

3.2.3

  • Format tsconfig.json file with jsonc parser #15927

🔗 Changelog

3.2.2

🔗 Changelog

3.2.1

🔗 Changelog

3.2.0

diff

🔗 Release note

3.1.1

🔗 Changelog

3.1.0

diff

🔗 Release note

3.0.3

🔗 Changelog

3.0.2

🔗 Changelog

3.0.1

🔗 Changelog

3.0.0

diff

🔗 Release note

3.0.0-alpha.6

What's Changed

Other changes since v2, see 3.0.0-alpha.1 release notes

Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6

... (truncated)

Changelog

Sourced from prettier's changelog.

3.2.4

diff

Fix incorrect parser inference (#15947 by @​fisker)

Files like .eslintrc.json were incorrectly formatted as JSONC files.

// Input
prettier --file-info .eslintrc.json
{ "ignored": false, "inferredParser": "jsonc" }

// Prettier 3.2.4 prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "json" }

3.2.3

diff

Throw errors for invalid code (#15881 by @​fisker, @​Josh-Cena, @​auvred)

// Input
1++;

// Prettier 3.2.2 1++;

// Prettier 3.2.3 SyntaxError: Invalid left-hand side expression in unary operation (1:1) > 1 | 1++; | ^

// Input
try {} catch (error = 1){}

// Prettier 3.2.2
try {
} catch (error) {}

// Prettier 3.2.3
SyntaxError: Catch clause variable cannot have an initializer. (1:23)
</tr></table>

... (truncated)

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 2.8.8 to 3.2.4. <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.2.4</h2> <ul> <li>Fix <code>.eslintrc.json</code> format <a href="https://redirect.github.com/prettier/prettier/issues/15947">#15947</a></li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#324">Changelog</a></p> <h2>3.2.3</h2> <ul> <li>Format <code>tsconfig.json</code> file with <code>jsonc</code> parser <a href="https://redirect.github.com/prettier/prettier/issues/15927">#15927</a></li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#323">Changelog</a></p> <h2>3.2.2</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#322">Changelog</a></p> <h2>3.2.1</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#321">Changelog</a></p> <h2>3.2.0</h2> <p><a href="https://github.com/prettier/prettier/compare/3.1.1...3.2.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2024/01/12/3.2.0.html">Release note</a></p> <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> <!-- 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.2.4</h1> <p><a href="https://github.com/prettier/prettier/compare/3.2.3...3.2.4">diff</a></p> <h4>Fix incorrect parser inference (<a href="https://redirect.github.com/prettier/prettier/pull/15947">#15947</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4> <p>Files like <code>.eslintrc.json</code> were incorrectly formatted as JSONC files.</p> <!-- raw HTML omitted --> <pre lang="jsx"><code>// Input prettier --file-info .eslintrc.json { &quot;ignored&quot;: false, &quot;inferredParser&quot;: &quot;jsonc&quot; } <p>// Prettier 3.2.4 prettier --file-info .eslintrc.json { &quot;ignored&quot;: false, &quot;inferredParser&quot;: &quot;json&quot; } </code></pre></p> <h1>3.2.3</h1> <p><a href="https://github.com/prettier/prettier/compare/3.2.2...3.2.3">diff</a></p> <h4>Throw errors for invalid code (<a href="https://redirect.github.com/prettier/prettier/pull/15881">#15881</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>, <a href="https://github.com/Josh-Cena"><code>@​Josh-Cena</code></a>, <a href="https://github.com/auvred"><code>@​auvred</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="ts"><code>// Input 1++; <p>// Prettier 3.2.2 1++;</p> <p>// Prettier 3.2.3 SyntaxError: Invalid left-hand side expression in unary operation (1:1) &gt; 1 | 1++; | ^ </code></pre></p> <!-- raw HTML omitted --> <pre lang="ts"><code>// Input try {} catch (error = 1){} // Prettier 3.2.2 try { } catch (error) {} // Prettier 3.2.3 SyntaxError: Catch clause variable cannot have an initializer. (1:23) &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/03822f5b3428ad77781ede5bd41a248b465be3cd"><code>03822f5</code></a> Release 3.2.4</li> <li><a href="https://github.com/prettier/prettier/commit/1cd4d9c1605e7344e6c0735c1c6cb51ad620b01d"><code>1cd4d9c</code></a> Fix JSONC filenames list (<a href="https://redirect.github.com/prettier/prettier/issues/15947">#15947</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/6c6a332171f590a38c369673662d1a5baf765167"><code>6c6a332</code></a> Spellcheck</li> <li><a href="https://github.com/prettier/prettier/commit/75ec1f792123f42f943fad605236d14a7b02f8c1"><code>75ec1f7</code></a> Fix lock file</li> <li><a href="https://github.com/prettier/prettier/commit/dda00cdd1d602e6034d0dbdac7ee84fc3b32f3a9"><code>dda00cd</code></a> Clean changelog_unreleased</li> <li><a href="https://github.com/prettier/prettier/commit/c12e3c67f93d637cacd2e2a2430f97103abe1276"><code>c12e3c6</code></a> Git blame ignore 3.2.3</li> <li><a href="https://github.com/prettier/prettier/commit/4985be553e911fef7d83f3341eb143c443473c58"><code>4985be5</code></a> Bump Prettier dependency to 3.2.3</li> <li><a href="https://github.com/prettier/prettier/commit/38c0d212e78e645f6c64b88fc6a5847013bc837e"><code>38c0d21</code></a> Update dependents count</li> <li><a href="https://github.com/prettier/prettier/commit/42ba4373f47a67a5d50756a76a57b2ce3a5524e5"><code>42ba437</code></a> Release 3.2.3</li> <li><a href="https://github.com/prettier/prettier/commit/99c873d4219f02f684ec8f3d200abee04e9bbe85"><code>99c873d</code></a> chore(deps): update typescript-eslint to v6.19.0 (<a href="https://redirect.github.com/prettier/prettier/issues/15939">#15939</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.8.8...3.2.4">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.2.4)](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>
vercel[bot] commented 2024-01-29 11:40:20 +00:00 (Migrated from github.com)

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
astro-ghostcms-demo Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 0:24am
astro-ghostcms-xyz Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 0:24am
[vc]: #fMpjqDDq/x0mWOl73jkFTeg6baqW7p8/rj6r5UJhl5g=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJhc3Ryby1naG9zdGNtcy14eXoiLCJyb290RGlyZWN0b3J5Ijoid3d3IiwiaW5zcGVjdG9yVXJsIjoiaHR0cHM6Ly92ZXJjZWwuY29tL2FkYW1tYXR0aGllc2Vucy1wcm9qZWN0cy9hc3Ryby1naG9zdGNtcy14eXovNGtaZEFlZmdzZVk1YXBkSm40WnRBOWlxRkNDNyIsInByZXZpZXdVcmwiOiJhc3Ryby1naG9zdGNtcy14eXotZ2l0LWRlcGVuZGFiLTBmNDg4ZC1hZGFtbWF0dGhpZXNlbnMtcHJvamVjdHMudmVyY2VsLmFwcCIsIm5leHRDb21taXRTdGF0dXMiOiJERVBMT1lFRCIsImxpdmVGZWVkYmFjayI6eyJyZXNvbHZlZCI6MCwidW5yZXNvbHZlZCI6MCwidG90YWwiOjAsImxpbmsiOiJhc3Ryby1naG9zdGNtcy14eXotZ2l0LWRlcGVuZGFiLTBmNDg4ZC1hZGFtbWF0dGhpZXNlbnMtcHJvamVjdHMudmVyY2VsLmFwcCJ9fSx7Im5hbWUiOiJhc3Ryby1naG9zdGNtcy1kZW1vIiwicm9vdERpcmVjdG9yeSI6ImRlbW8iLCJpbnNwZWN0b3JVcmwiOiJodHRwczovL3ZlcmNlbC5jb20vYWRhbW1hdHRoaWVzZW5zLXByb2plY3RzL2FzdHJvLWdob3N0Y21zLWRlbW8vRFZ1enJrcEtzZkc1Z2lYNW5KekJNeUU5QjdvMiIsInByZXZpZXdVcmwiOiJhc3Ryby1naG9zdGNtcy1kZW1vLWdpdC1kZXBlbmRhLWUyOGE3NS1hZGFtbWF0dGhpZXNlbnMtcHJvamVjdHMudmVyY2VsLmFwcCIsIm5leHRDb21taXRTdGF0dXMiOiJERVBMT1lFRCIsImxpdmVGZWVkYmFjayI6eyJyZXNvbHZlZCI6MCwidW5yZXNvbHZlZCI6MCwidG90YWwiOjAsImxpbmsiOiJhc3Ryby1naG9zdGNtcy1kZW1vLWdpdC1kZXBlbmRhLWUyOGE3NS1hZGFtbWF0dGhpZXNlbnMtcHJvamVjdHMudmVyY2VsLmFwcCJ9fV19 **The latest updates on your projects**. Learn more about [Vercel for Git ↗︎](https://vercel.link/github-learn-more) | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **astro-ghostcms-demo** | ✅ Ready ([Inspect](https://vercel.com/adammatthiesens-projects/astro-ghostcms-demo/DVuzrkpKsfG5giX5nJzBMyE9B7o2)) | [Visit Preview](https://vercel.live/open-feedback/astro-ghostcms-demo-git-dependa-e28a75-adammatthiesens-projects.vercel.app?via=pr-comment-visit-preview-link&passThrough=1) | 💬 [**Add feedback**](https://vercel.live/open-feedback/astro-ghostcms-demo-git-dependa-e28a75-adammatthiesens-projects.vercel.app?via=pr-comment-feedback-link) | Jan 29, 2024 0:24am | | **astro-ghostcms-xyz** | ✅ Ready ([Inspect](https://vercel.com/adammatthiesens-projects/astro-ghostcms-xyz/4kZdAefgseY5apdJn4ZtA9iqFCC7)) | [Visit Preview](https://vercel.live/open-feedback/astro-ghostcms-xyz-git-dependab-0f488d-adammatthiesens-projects.vercel.app?via=pr-comment-visit-preview-link&passThrough=1) | 💬 [**Add feedback**](https://vercel.live/open-feedback/astro-ghostcms-xyz-git-dependab-0f488d-adammatthiesens-projects.vercel.app?via=pr-comment-feedback-link) | Jan 29, 2024 0:24am |
Adammatthiesen (Migrated from github.com) approved these changes 2024-01-29 12:36:45 +00:00
Sign in to join this conversation.
No description provided.