Skip to content

Commit 80c91a4

Browse files
chore(deps): update dependency prettier to v3.6.1 (#195)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prettier](https://prettier.io) ([source](https://redirect.github.com/prettier/prettier)) | [`3.5.3` -> `3.6.1`](https://renovatebot.com/diffs/npm/prettier/3.5.3/3.6.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.5.3/3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.5.3/3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prettier/prettier (prettier)</summary> ### [`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 ([#&#8203;17650](https://redirect.github.com/prettier/prettier/pull/17650), [#&#8203;17654](https://redirect.github.com/prettier/prettier/pull/17654) by [@&#8203;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 ([#&#8203;17665](https://redirect.github.com/prettier/prettier/pull/17665) by [@&#8203;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 - "after 10am on monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/xddq/nodejs-typescript-modern-starter). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 4e53562 commit 80c91a4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"eslint-config-prettier": "9.1.0",
5757
"jest": "29.7.0",
5858
"nodemon": "3.1.10",
59-
"prettier": "3.5.3",
59+
"prettier": "3.6.1",
6060
"rimraf": "5.0.10",
6161
"typescript": "5.8.3"
6262
},

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5126,7 +5126,7 @@ __metadata:
51265126
eslint-config-prettier: "npm:9.1.0"
51275127
jest: "npm:29.7.0"
51285128
nodemon: "npm:3.1.10"
5129-
prettier: "npm:3.5.3"
5129+
prettier: "npm:3.6.1"
51305130
rimraf: "npm:5.0.10"
51315131
typescript: "npm:5.8.3"
51325132
bin:
@@ -5387,12 +5387,12 @@ __metadata:
53875387
languageName: node
53885388
linkType: hard
53895389

5390-
"prettier@npm:3.5.3":
5391-
version: 3.5.3
5392-
resolution: "prettier@npm:3.5.3"
5390+
"prettier@npm:3.6.1":
5391+
version: 3.6.1
5392+
resolution: "prettier@npm:3.6.1"
53935393
bin:
53945394
prettier: bin/prettier.cjs
5395-
checksum: 10/7050c08f674d9e49fbd9a4c008291d0715471f64e94cc5e4b01729affce221dfc6875c8de7e66b728c64abc9352eefb7eaae071b5f79d30081be207b53774b78
5395+
checksum: 10/e2c4b47bf1bda4f932143e52e0f57239dd60cfef08296b56d4073426e2d310edc353a7daa5285a546bd3c1619c76894759cc98d82d4ac710f72a711ae2899bcc
53965396
languageName: node
53975397
linkType: hard
53985398

0 commit comments

Comments
 (0)