Skip to content

chore(deps): update dependency prettier to v3.6.2#667

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prettier-3.x
Closed

chore(deps): update dependency prettier to v3.6.2#667
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prettier-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Nov 26, 2024

This PR contains the following updates:

Package Change Age Confidence
prettier (source) 3.3.3 -> 3.6.2 age confidence

Release Notes

prettier/prettier (prettier)

v3.6.2

Compare Source

diff

Markdown: Add missing blank line around code block (#​17675 by @​fisker)
<!-- Input -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

<!-- Prettier 3.6.1 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```
   1. Another
   2. List

<!-- Prettier 3.6.2 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

v3.6.1

Compare Source

diff

TypeScript: Allow const without initializer (#​17650, #​17654 by @​fisker)
// Input
export const version: string;

// Prettier 3.6.0 (--parser=babel-ts)
SyntaxError: Unexpected token (1:21)
> 1 | export const version: string;
    |                     ^

// Prettier 3.6.0 (--parser=oxc-ts)
SyntaxError: Missing initializer in const declaration (1:14)
> 1 | export const version: string;
    |              ^^^^^^^^^^^^^^^

// Prettier 3.6.1
export const version: string;
Miscellaneous: Avoid closing files multiple times (#​17665 by @​43081j)

When reading a file to infer the interpreter from a shebang, we use the
n-readlines library to read the first line in order to get the shebang.

This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only if n-readlines did not already close
them.

v3.6.0

Compare Source

diff

🔗 Release Notes

v3.5.3

Compare Source

v3.5.2

Compare Source

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.

v3.5.1

Compare Source

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.

v3.5.0

Compare Source

diff

🔗 Release Notes

v3.4.2

Compare Source

diff

Treat U+30A0 & U+30FB in Katakana Block as CJK (#​16796 by @​tats-u)

Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.

<!-- Input (--prose-wrap=never) -->

C言
語
・
C++
・
Go
・
Rust

<!-- Prettier 3.4.1 -->
C言語・ C++ ・ Go ・ Rust

<!-- Prettier 3.4.2 -->
C言語・C++・Go・Rust

U+30A0 can be used as the replacement of the - in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).

Fix comments print on class methods with decorators (#​16891 by @​fisker)
// Input
class A {
  @&#8203;decorator
  /** 
   * The method description
   *
  */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.1
class A {
  @&#8203;decorator
  async /**
   * The method description
   *
   */
  method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.2
class A {
  @&#8203;decorator
  /**
   * The method description
   *
   */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}
Fix non-idempotent formatting (#​16899 by @​seiyab)

This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.

// Input
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

// Prettier 3.4.1 (first)
<div>
  foo
  <span>
    longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
  </span>, abc
</div>;

// Prettier 3.4.1 (second)
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

// Prettier 3.4.2
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

v3.4.1

Compare Source

diff

Remove unnecessary parentheses around assignment in v-on (#​16887 by @​fisker)
<!-- Input -->
<template>
  <button @&#8203;click="foo += 2">Click</button>
</template>

<!-- Prettier 3.4.0 -->
<template>
  <button @&#8203;click="(foo += 2)">Click</button>
</template>

<!-- Prettier 3.4.1 -->
<template>
  <button @&#8203;click="foo += 2">Click</button>
</template>

v3.4.0

Compare Source

diff

🔗 Release Notes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 26, 2024

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

Project Deployment Preview Comments Updated (UTC)
fairdataihub-website Ready Preview Comment Aug 13, 2025 1:44pm

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Nov 26, 2024

Reviewer's Guide by Sourcery

This is a straightforward dependency update PR that upgrades the Prettier package from version 3.3.3 to 3.4.0. The changes are implemented through direct version updates in the package.json and corresponding yarn.lock files.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update Prettier dependency version
  • Bump Prettier version from 3.3.3 to 3.4.0
  • Update package version in package.json
  • Update corresponding entry in yarn.lock
package.json
yarn.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 26, 2024

Running Lighthouse audit...

@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from 3d820db to b1a1dd2 Compare November 26, 2024 14:19
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.4.0 chore(deps): update dependency prettier to v3.4.1 Nov 26, 2024
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from b1a1dd2 to 6a0fdb5 Compare November 30, 2024 07:18
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.4.1 chore(deps): update dependency prettier to v3.4.0 Nov 30, 2024
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from 6a0fdb5 to bd7eade Compare November 30, 2024 16:48
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.4.0 chore(deps): update dependency prettier to v3.4.1 Nov 30, 2024
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from bd7eade to d8b5ace Compare December 8, 2024 09:47
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.4.1 chore(deps): update dependency prettier to v3.4.2 Dec 8, 2024
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Dec 8, 2024

@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.4.2 chore(deps): update dependency prettier to v3.5.0 Feb 13, 2025
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from d8b5ace to 5821865 Compare February 13, 2025 12:59
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from 5821865 to 9f00c63 Compare February 17, 2025 15:27
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.5.0 chore(deps): update dependency prettier to v3.5.1 Feb 17, 2025
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from 9f00c63 to 539f949 Compare February 26, 2025 06:54
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.5.1 chore(deps): update dependency prettier to v3.5.2 Feb 26, 2025
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from 539f949 to d9f0dbf Compare March 7, 2025 03:09
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.5.2 chore(deps): update dependency prettier to v3.5.3 Mar 7, 2025
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from d9f0dbf to 2862eeb Compare June 27, 2025 03:56
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.5.3 chore(deps): update dependency prettier to v3.6.0 Jun 27, 2025
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jun 27, 2025

Deploying fairdataihub-org with  Cloudflare Pages  Cloudflare Pages

Latest commit: 63a0c6f
Status:🚫  Build failed.

View logs

@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from 2862eeb to df80541 Compare June 29, 2025 08:33
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.6.0 chore(deps): update dependency prettier to v3.6.1 Jun 29, 2025
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from df80541 to 3b85325 Compare July 1, 2025 07:55
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.6.1 chore(deps): update dependency prettier to v3.6.2 Jul 1, 2025
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from 3b85325 to bf8e058 Compare August 10, 2025 13:47
@renovate renovate Bot force-pushed the renovate/prettier-3.x branch from bf8e058 to 63a0c6f Compare August 13, 2025 13:40
@megasanjay megasanjay closed this Aug 22, 2025
@megasanjay megasanjay deleted the renovate/prettier-3.x branch September 16, 2025 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant