JavaScript: Fix string print when switching quotes (#18351 by @fisker)
// Input
console.log("A descriptor\\'s .kind must be \"method\" or \"field\".")// Prettier 3.7.1
console.log('A descriptor\\'s.kindmustbe"method"or"field".');
// Prettier 3.7.2
console.log('Adescriptor\\\'s .kind must be "method" or "field".');
JavaScript: Preserve quote for embedded HTML attribute values (#18352 by @kovsu)
// Input
consthtml=/* HTML */` <div class="${styles.banner}"></div> `;// Prettier 3.7.1
consthtml=/* HTML */` <div class=${styles.banner}></div> `;// Prettier 3.7.2
consthtml=/* HTML */` <div class="${styles.banner}"></div> `;
TypeScript: Fix comment in empty type literal (#18364 by @fisker)
This MR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | [`3.7.1` -> `3.7.2`](https://renovatebot.com/diffs/npm/prettier/3.7.1/3.7.2) |  |  |
---
### Release Notes
<details>
<summary>prettier/prettier (prettier)</summary>
### [`v3.7.2`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#372)
[Compare Source](https://github.com/prettier/prettier/compare/3.7.1...3.7.2)
[diff](https://github.com/prettier/prettier/compare/3.7.1...3.7.2)
##### JavaScript: Fix string print when switching quotes ([#​18351](https://github.com/prettier/prettier/pull/18351) by [@​fisker](https://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://github.com/prettier/prettier/pull/18352) by [@​kovsu](https://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://github.com/prettier/prettier/pull/18364) by [@​fisker](https://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
};
```
</details>
---
### 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 MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4yNi4xMCIsInVwZGF0ZWRJblZlciI6IjQyLjI2LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This MR contains the following updates:
3.7.1->3.7.2Release Notes
prettier/prettier (prettier)
v3.7.2Compare Source
diff
JavaScript: Fix string print when switching quotes (#18351 by @fisker)
JavaScript: Preserve quote for embedded HTML attribute values (#18352 by @kovsu)
TypeScript: Fix comment in empty type literal (#18364 by @fisker)
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 MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about this update again.
This MR has been generated by Renovate Bot.
mentioned in issue #5
mentioned in commit
f3ff720eb6