Commit e48583a
authored
fix(deps): Update dependency prettier to v3.7.4 (#52)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [prettier](https://prettier.io) ([source](https://redirect.github.com/prettier/prettier)) | devDependencies | minor | [`3.6.2` -> `3.7.4`](https://renovatebot.com/diffs/npm/prettier/3.6.2/3.7.4) |
---
### Release Notes
<details>
<summary>prettier/prettier (prettier)</summary>
### [`v3.7.4`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#374)
[Compare Source](https://redirect.github.com/prettier/prettier/compare/3.7.3...3.7.4)
[diff](https://redirect.github.com/prettier/prettier/compare/3.7.3...3.7.4)
##### LWC: Avoid quote around interpolations ([#​18383](https://redirect.github.com/prettier/prettier/pull/18383) by [@​kovsu](https://redirect.github.com/kovsu))
<!-- prettier-ignore -->
```html
<!-- Input -->
<div foo={bar}> </div>
<!-- Prettier 3.7.3 (--embedded-language-formatting off) -->
<div foo="{bar}"></div>
<!-- Prettier 3.7.4 (--embedded-language-formatting off) -->
<div foo={bar}></div>
```
##### TypeScript: Fix comment inside union type gets duplicated ([#​18393](https://redirect.github.com/prettier/prettier/pull/18393) by [@​fisker](https://redirect.github.com/fisker))
<!-- prettier-ignore -->
```tsx
// Input
type Foo = (/** comment */ a | b) | c;
// Prettier 3.7.3
type Foo = /** comment */ (/** comment */ a | b) | c;
// Prettier 3.7.4
type Foo = /** comment */ (a | b) | c;
```
##### TypeScript: Fix unstable comment print in union type comments ([#​18395](https://redirect.github.com/prettier/prettier/pull/18395) by [@​fisker](https://redirect.github.com/fisker))
<!-- prettier-ignore -->
```tsx
// Input
type X = (A | B) & (
// comment
A | B
);
// Prettier 3.7.3 (first format)
type X = (A | B) &
(// comment
A | B);
// Prettier 3.7.3 (second format)
type X = (
| A
| B // comment
) &
(A | B);
// Prettier 3.7.4
type X = (A | B) &
// comment
(A | B);
```
### [`v3.7.3`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#373)
[Compare Source](https://redirect.github.com/prettier/prettier/compare/3.7.2...3.7.3)
[diff](https://redirect.github.com/prettier/prettier/compare/3.7.2...3.7.3)
##### API: Fix `prettier.getFileInfo()` change that breaks VSCode extension ([#​18375](https://redirect.github.com/prettier/prettier/pull/18375) by [@​fisker](https://redirect.github.com/fisker))
An internal refactor accidentally broke the VSCode extension plugin loading.
### [`v3.7.2`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#372)
[Compare Source](https://redirect.github.com/prettier/prettier/compare/3.7.1...3.7.2)
[diff](https://redirect.github.com/prettier/prettier/compare/3.7.1...3.7.2)
##### JavaScript: Fix string print when switching quotes ([#​18351](https://redirect.github.com/prettier/prettier/pull/18351) by [@​fisker](https://redirect.github.com/fisker))
<!-- prettier-ignore -->
```jsx
// Input
console.log("A descriptor\\'s .kind must be \"method\" or \"field\".")
// Prettier 3.7.1
console.log('A descriptor\\'s .kind must be "method" or "field".');
// Prettier 3.7.2
console.log('A descriptor\\\'s .kind must be "method" or "field".');
```
##### JavaScript: Preserve quote for embedded HTML attribute values ([#​18352](https://redirect.github.com/prettier/prettier/pull/18352) by [@​kovsu](https://redirect.github.com/kovsu))
<!-- prettier-ignore -->
```tsx
// Input
const html = /* HTML */ ` <div class="${styles.banner}"></div> `;
// Prettier 3.7.1
const html = /* HTML */ ` <div class=${styles.banner}></div> `;
// Prettier 3.7.2
const html = /* HTML */ ` <div class="${styles.banner}"></div> `;
```
##### TypeScript: Fix comment in empty type literal ([#​18364](https://redirect.github.com/prettier/prettier/pull/18364) by [@​fisker](https://redirect.github.com/fisker))
<!-- prettier-ignore -->
```tsx
// Input
export type XXX = {
// tbd
};
// Prettier 3.7.1
export type XXX = { // tbd };
// Prettier 3.7.2
export type XXX = {
// tbd
};
```
### [`v3.7.1`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#371)
[Compare Source](https://redirect.github.com/prettier/prettier/compare/3.7.0...3.7.1)
[diff](https://redirect.github.com/prettier/prettier/compare/3.7.0...3.7.1)
##### API: Fix performance regression in doc printer ([#​18342](https://redirect.github.com/prettier/prettier/pull/18342) by [@​fisker](https://redirect.github.com/fisker))
Prettier 3.7.0 can be very slow when formatting big files, the regression has been fixed.
### [`v3.7.0`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#370)
[Compare Source](https://redirect.github.com/prettier/prettier/compare/3.6.2...3.7.0)
[diff](https://redirect.github.com/prettier/prettier/compare/3.6.2...3.7.0)
🔗 [Release Notes](https://prettier.io/blog/2025/11/27/3.7.0)
</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:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->1 parent fe32099 commit e48583a
1 file changed
+6
-6
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments