Skip to content

Commit a63d854

Browse files
authored
fix(deps): Update dependency prettier to v3.5.3 (#677)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prettier](https://prettier.io) ([source](https://redirect.github.com/prettier/prettier)) | devDependencies | patch | [`3.5.1` -> `3.5.3`](https://renovatebot.com/diffs/npm/prettier/3.5.1/3.5.3) | --- ### Release Notes <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.5.3`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#353) [Compare Source](https://redirect.github.com/prettier/prettier/compare/3.5.2...3.5.3) [diff](https://redirect.github.com/prettier/prettier/compare/3.5.2...3.5.3) ##### Flow: Fix missing parentheses in `ConditionalTypeAnnotation` ([#&#8203;17196](https://redirect.github.com/prettier/prettier/pull/17196) by [@&#8203;fisker](https://redirect.github.com/fisker)) <!-- prettier-ignore --> ```jsx // 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); ``` ### [`v3.5.2`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#352) [Compare Source](https://redirect.github.com/prettier/prettier/compare/3.5.1...3.5.2) [diff](https://redirect.github.com/prettier/prettier/compare/3.5.1...3.5.2) ##### Remove `module-sync` condition ([#&#8203;17156](https://redirect.github.com/prettier/prettier/pull/17156) by [@&#8203;fisker](https://redirect.github.com/fisker)) In Prettier 3.5.0, [we added `module-sync` condition to `package.json`](https://prettier.io/blog/2025/02/09/3.5.0#use-esm-entrypoint-for-requireesm-16958-by-tats-u), 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. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* 0-3 1 * *" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
1 parent fed711e commit a63d854

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"eslint-plugin-n": "17.15.1",
5050
"eslint-plugin-prettier": "5.2.3",
5151
"husky": "^9.0.11",
52-
"prettier": "3.5.1",
52+
"prettier": "3.5.3",
5353
"typescript": "5.7.3"
5454
}
5555
}

0 commit comments

Comments
 (0)