-
Notifications
You must be signed in to change notification settings - Fork 2
Commit 47f6c0d
authored
fix(deps): Update dependency prettier to v3.6.2 (#295)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [prettier](https://prettier.io) ([source](https://redirect.github.com/prettier/prettier)) | devDependencies | minor | [`3.5.3` -> `3.6.2`](https://renovatebot.com/diffs/npm/prettier/3.5.3/3.6.2) |
---
### Release Notes
<details>
<summary>prettier/prettier (prettier)</summary>
### [`v3.6.2`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#362)
[Compare Source](https://redirect.github.com/prettier/prettier/compare/3.6.1...3.6.2)
[diff](https://redirect.github.com/prettier/prettier/compare/3.6.1...3.6.2)
##### Markdown: Add missing blank line around code block ([#​17675](https://redirect.github.com/prettier/prettier/pull/17675) by [@​fisker](https://redirect.github.com/fisker))
<!-- prettier-ignore -->
````md
<!-- Input -->
1. Some text, and code block below, with newline after code block
```yaml
---
foo: bar
```
1. Another
2. List
<!-- Prettier 3.6.1 -->
1. Some text, and code block below, with newline after code block
```yaml
---
foo: bar
```
1. Another
2. List
<!-- Prettier 3.6.2 -->
1. Some text, and code block below, with newline after code block
```yaml
---
foo: bar
```
1. Another
2. List
````
### [`v3.6.1`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#361)
[Compare Source](https://redirect.github.com/prettier/prettier/compare/3.6.0...3.6.1)
[diff](https://redirect.github.com/prettier/prettier/compare/3.6.0...3.6.1)
##### TypeScript: Allow const without initializer ([#​17650](https://redirect.github.com/prettier/prettier/pull/17650), [#​17654](https://redirect.github.com/prettier/prettier/pull/17654) by [@​fisker](https://redirect.github.com/fisker))
<!-- prettier-ignore -->
```jsx
// Input
export const version: string;
// Prettier 3.6.0 (--parser=babel-ts)
SyntaxError: Unexpected token (1:21)
> 1 | export const version: string;
| ^
// Prettier 3.6.0 (--parser=oxc-ts)
SyntaxError: Missing initializer in const declaration (1:14)
> 1 | export const version: string;
| ^^^^^^^^^^^^^^^
// Prettier 3.6.1
export const version: string;
```
##### Miscellaneous: Avoid closing files multiple times ([#​17665](https://redirect.github.com/prettier/prettier/pull/17665) by [@​43081j](https://redirect.github.com/43081j))
When reading a file to infer the interpreter from a shebang, we use the
`n-readlines` library to read the first line in order to get the shebang.
This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only if `n-readlines` did not already close
them.
### [`v3.6.0`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#360)
[Compare Source](https://redirect.github.com/prettier/prettier/compare/3.5.3...3.6.0)
[diff](https://redirect.github.com/prettier/prettier/compare/3.5.3...3.6.0)
🔗 [Release Notes](https://prettier.io/blog/2025/06/23/3.6.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 c1ae4c8 commit 47f6c0dCopy full SHA for 47f6c0d
File tree
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+3
-3
lines changedOpen diff view settings
Collapse file
+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