Skip to content

chore(deps): update dependency prettier to v3.9.5#1876

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

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

Conversation

@renovate

@renovate renovate Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
prettier (source) 3.8.53.9.5 age confidence

Release Notes

prettier/prettier (prettier)

v3.9.5

Compare Source

diff

Markdown: Cap ordered list mark at 999,999,999 (#​19351 by @​tats-u)

CommonMark parsers only support ordered list item numbers up to 999,999,999.

With this change, Prettier now caps the ordered list item number at 999,999,999 to ensure that the output is correctly parsed as an ordered list by CommonMark parsers. Numbers larger than 999,999,999 are not parsed as list item numbers and are left unchanged in the output:

<!-- Input -->
999999998. text
999999998. text
999999998. text
999999998. text

1234567890123456789012) text

<!-- Prettier 3.9.4 -->
999999998. text
999999999. text
1000000000. text
1000000001. text

1234567890123456789012) text

<!-- Prettier 3.9.5 -->
999999998. text
999999999. text
999999999. text
999999999. text

1234567890123456789012) text
Markdown: Avoid corrupting empty link with title (#​19487 by @​andersk)

Do not remove <> from an inline link or image with an empty URL and a title, as this removal would change its interpretation.

<!-- Input -->
[link](<> "title")

<!-- Prettier 3.9.4 -->
[link]( "title")

<!-- Prettier 3.9.5 -->
[link](<> "title")
Less: Remove extra spaces after [ in map lookups (#​19503 by @​kovsu)
// Input
.foo {
  color: #theme[ primary];
  color: #theme[@&#8203;name];
  color: #theme[@&#8203;@&#8203;name];
}

// Prettier 3.9.4
.foo {
  color: #theme[ primary];
  color: #theme[ @&#8203;name];
  color: #theme[ @&#8203;@&#8203;name];
}

// Prettier 3.9.5
.foo {
  color: #theme[primary];
  color: #theme[@&#8203;name];
  color: #theme[@&#8203;@&#8203;name];
}
CSS: Prevent addition space in type() with + (#​19516 by @​bigandy)

This fixes the addition space before + in CSS type() declaration. For example type(<number>+) was being converted into type(<number> +) which is invalid CSS and does not work.

/* Input */
div {
  border-radius: attr(br type(<length>+));
}

/* Prettier 3.9.4 */
div {
  border-radius: attr(br type(<length> +));
}

/* Prettier 3.9.5 */
div {
  border-radius: attr(br type(<length>+));
}
Less: Remove spaces between merge markers and colons (#​19517 by @​kovsu)
// Input
a {
  box-shadow  +  : 0 0 1px #&#8203;000;
}

// Prettier 3.9.4
a {
  box-shadow+  : 0 0 1px #&#8203;000;
}

// Prettier 3.9.5
a {
  box-shadow+: 0 0 1px #&#8203;000;
}
Markdown: Preserve wiki links with aliases (#​19527 by @​kovsu)
<!-- Input -->
[[Foo:Bar]]

<!-- Prettier 3.9.4 -->
[[Foo]]

<!-- Prettier 3.9.5 -->
[[Foo:Bar]]
TypeScript: Fix comments being dropped on shorthand type import/export specifiers (#​19565 by @​kirkwaiblinger)
// Input
export { type /* comment */ T } from "foo";
import { type /* comment */ T } from "foo";

// Prettier 3.9.4
Error: Comment "comment" was not printed. Please report this error!

// Prettier 3.9.5
export { type /* comment */ T } from "foo";
import { type /* comment */ T } from "foo";
Miscellaneous: Preserving comments' placement property (#​19567 by @​Janther)

Prettier@​3.9.0 deleted an undocumented property on comments, which was already used by plugins, comment.placement is now available again after comment attach.

Flow: Stop enforcing empty module declaration to break (#​19568 by @​fisker)
// Input
declare module "foo" {}

// Prettier 3.9.4
declare module "foo" {
}

// Prettier 3.9.5
declare module "foo" {}
Angular: Support expression for exhaustive typechecking (#​19571 by @​fisker)
<!-- Input -->
@&#8203;switch (state.mode) {
  @&#8203;default never(state);
}

<!-- Prettier 3.9.4 -->
@&#8203;switch (state.mode) {
  @&#8203;default never;
}

<!-- Prettier 3.9.5 -->
@&#8203;switch (state.mode) {
  @&#8203;default never(state);
}
TypeScript: Ignore comments inside mapped type when checking type parameter comments (#​19572 by @​fisker)
// Input
foo<{
  // comment
  [key in keyof Foo]: number
}>();

// Prettier 3.9.4
foo<
  {
    // comment
    [key in keyof Foo]: number;
  }
>();

// Prettier 3.9.5
foo<{
  // comment
  [key in keyof Foo]: number;
}>();
Less: Fix adjacent block comments being corrupted (#​19574 by @​kovsu)
// Input
/* a *//* b */
/* a */* {
  color: red;
}

// Prettier 3.9.4
/* a */
/* b */
/* a * {
  color: red;
}

// Prettier 3.9.5
/* a */ /* b */
/* a */
* {
  color: red;
}
JavaScript: Handle dangling comments in SwitchStatement (#​19581 by @​fisker)
// Input
switch (foo) {
 // comment
}

// Prettier 3.9.4
switch (
  foo
  // comment
) {
}

// Prettier 3.9.5
switch (foo) {
  // comment
}
TypeScript: Remove space in comment-only object type (#​19583 by @​fisker)
// Input
var foo = {
  /* comment */
};
type Foo = {
  /* comment */
};

// Prettier 3.9.4
var foo = {/* comment */};
type Foo = { /* comment */ };

// Prettier 3.9.5
var foo = {/* comment */};
type Foo = {/* comment */};

v3.9.4

Compare Source

v3.9.3

Compare Source

v3.9.2

Compare Source

v3.9.1

Compare Source

v3.9.0

Compare Source

diff

🔗 Release Notes


Configuration

📅 Schedule: (UTC)

  • 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 is behind base branch, 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.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

3.8.5 → 3.9.5 の変更概要(バグ修正のみ、破壊的変更なし):

  • TypeScript: shorthand type import/export 内のコメント欠落バグ修正 (#19565)
  • TypeScript: mapped type 内コメントによる型パラメータの不正なインデント修正 (#19572)
  • TypeScript: comment-only object type への余計なスペース除去 (#19583)
  • JavaScript: SwitchStatement の dangling comment 処理修正 (#19581)
  • Markdown: 順序付きリストの番号上限を 999,999,999 にキャップ (#19351)
  • Markdown: 空URL+タイトルのリンク破損修正 (#19487)
  • Markdown: wiki links のエイリアス保持 (#19527)
  • CSS: type() 内の + 前の不要スペース除去 (#19516)
  • Less: map lookup の [ 後の余計なスペース除去 (#19503)
  • Less: merge marker とコロン間のスペース除去 (#19517)
  • Less: 隣接ブロックコメント破損修正 (#19574)
  • Flow: 空モジュール宣言の強制改行停止 (#19568)
  • Angular: exhaustive typechecking 用式のサポート (#19571)
  • Misc: comment.placement プロパティの復元 (#19567)

全変更がバグ修正・書式改善であり、破壊的変更(breaking changes)は存在しない

🎯 Impact Scope Investigation

  • 利用箇所: package.jsonformat / format:check スクリプトでのみ使用(dev dependency)
  • 設定ファイル: .prettierrc.json はシンプル構成(singleQuote, trailingComma, printWidth のみ)
  • 対象ファイル: src/tools/ 配下の .ts/.tsx/.astro/.css 計 126 ファイル
  • Less ファイル: 存在しない → Less 関連の変更は影響なし
  • Flow ファイル: 存在しない → Flow 関連の変更は影響なし
  • Angular テンプレート: 存在しない → Angular 関連の変更は影響なし
  • 依存関係への影響: prettier は dev dependency のみで runtime への影響なし。他パッケージへの peer dependency 変更もなし

関連する変更(TypeScript/JS のバグ修正)について: type import のコメント処理や SwitchStatement の dangling comment など TypeScript/JS のバグ修正が存在するが、いずれも既存コードの意味を変えるものではなく、formatter の出力を正しくするものに限られる。

💡 Recommended Actions

  • 追加の移行作業は不要
  • マージ後に pnpm format を実行すると、修正されたバグにより一部ファイルの書式が更新される可能性があるが、これは正常な動作であり問題なし
  • CI の format:check が通ればそのままマージ可能

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

🚀 Preview deployment ready!

✅ Preview URL: https://pr-1876---web-njpdbbjcea-an.a.run.app
📝 Commit SHA: b1da757 (view commit)

This comment was automatically generated by the deploy-preview workflow.

@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 3fcbdc1 to 75b1689 Compare July 2, 2026 12:50
@renovate
renovate Bot temporarily deployed to development July 2, 2026 12:50 Inactive
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.9.0 chore(deps): update dependency prettier to v3.9.1 Jul 3, 2026
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 75b1689 to 45b2eba Compare July 4, 2026 13:04
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.9.1 chore(deps): update dependency prettier to v3.9.3 Jul 4, 2026
@renovate
renovate Bot temporarily deployed to development July 4, 2026 13:04 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 45b2eba to 1e91b0f Compare July 4, 2026 13:08
@renovate
renovate Bot temporarily deployed to development July 4, 2026 13:08 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 1e91b0f to fd6e5b2 Compare July 4, 2026 16:16
@renovate
renovate Bot temporarily deployed to development July 4, 2026 16:16 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from fd6e5b2 to 802b3a6 Compare July 4, 2026 16:19
@renovate
renovate Bot temporarily deployed to development July 4, 2026 16:20 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 802b3a6 to 985d5bb Compare July 4, 2026 21:16
@renovate
renovate Bot temporarily deployed to development July 4, 2026 21:16 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 985d5bb to 957dc9e Compare July 5, 2026 02:41
@renovate renovate Bot changed the title chore(deps): update dependency prettier to v3.9.3 chore(deps): update dependency prettier to v3.9.4 Jul 5, 2026
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 957dc9e to b56ec20 Compare July 5, 2026 02:44
@renovate
renovate Bot temporarily deployed to development July 5, 2026 02:44 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from b56ec20 to 1d06f18 Compare July 5, 2026 14:08
@renovate
renovate Bot temporarily deployed to development July 5, 2026 14:08 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 1d06f18 to 3b10e6b Compare July 5, 2026 17:46
@renovate
renovate Bot temporarily deployed to development July 5, 2026 17:46 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 3b10e6b to e67e775 Compare July 5, 2026 22:39
@renovate
renovate Bot temporarily deployed to development July 5, 2026 22:39 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from e67e775 to e0f09ba Compare July 6, 2026 11:41
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 32de60c to 0e74318 Compare July 8, 2026 09:33
@renovate
renovate Bot temporarily deployed to development July 8, 2026 09:33 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 0e74318 to fd29e10 Compare July 8, 2026 20:56
@renovate
renovate Bot temporarily deployed to development July 8, 2026 20:56 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from fd29e10 to 7377299 Compare July 8, 2026 21:01
@renovate
renovate Bot temporarily deployed to development July 8, 2026 21:01 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 7377299 to e47fe58 Compare July 9, 2026 01:19
@renovate
renovate Bot temporarily deployed to development July 9, 2026 01:19 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from e47fe58 to d8df804 Compare July 10, 2026 09:45
@renovate
renovate Bot temporarily deployed to development July 10, 2026 09:45 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from d8df804 to 042f3f7 Compare July 11, 2026 09:05
@renovate
renovate Bot temporarily deployed to development July 11, 2026 09:05 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 042f3f7 to c231b1d Compare July 11, 2026 23:18
@renovate
renovate Bot temporarily deployed to development July 11, 2026 23:18 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from c231b1d to 6cc4d9f Compare July 11, 2026 23:22
@renovate
renovate Bot temporarily deployed to development July 11, 2026 23:22 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 6cc4d9f to 5c53866 Compare July 12, 2026 01:10
@renovate
renovate Bot temporarily deployed to development July 12, 2026 01:10 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 5c53866 to 317f100 Compare July 12, 2026 10:57
@renovate
renovate Bot temporarily deployed to development July 12, 2026 10:57 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 317f100 to 6e492d8 Compare July 12, 2026 13:22
@renovate
renovate Bot temporarily deployed to development July 12, 2026 13:22 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 6e492d8 to 6e6e270 Compare July 12, 2026 13:45
@renovate
renovate Bot temporarily deployed to development July 12, 2026 13:45 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 6e6e270 to fff59f5 Compare July 12, 2026 13:49
@renovate
renovate Bot temporarily deployed to development July 12, 2026 13:49 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from fff59f5 to 3284e3b Compare July 12, 2026 23:49
@renovate
renovate Bot temporarily deployed to development July 12, 2026 23:49 Inactive
@renovate
renovate Bot force-pushed the renovate/prettier-3.x branch from 3284e3b to 81fd2b2 Compare July 13, 2026 00:59
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.

0 participants