-
Notifications
You must be signed in to change notification settings - Fork 2
Commit 8376dba
authored
fix(deps): Update dependency prettier to v3.5.3 (#277)
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` ([#​17196](https://redirect.github.com/prettier/prettier/pull/17196) by [@​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 ([#​17156](https://redirect.github.com/prettier/prettier/pull/17156) by [@​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 - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->1 parent 104c039 commit 8376dbaCopy full SHA for 8376dba
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedFilter options
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changed+3-3Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments