Skip to content

Commit 4965057

Browse files
Bump prettier from 3.6.0 to 3.6.1 (#618)
Bumps [prettier](https://github.com/prettier/prettier) from 3.6.0 to 3.6.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>3.6.1</h2> <ul> <li>Fix &quot;Warning: File descriptor 39 closed but not opened in unmanaged mode&quot; error when running <code>--experimental-cli</code></li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#361">Changelog</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>3.6.1</h1> <p><a href="https://github.com/prettier/prettier/compare/3.6.0...3.6.1">diff</a></p> <h4>TypeScript: Allow const without initializer (<a href="https://redirect.github.com/prettier/prettier/pull/17650">#17650</a>, <a href="https://redirect.github.com/prettier/prettier/pull/17654">#17654</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="jsx"><code>// Input export const version: string; <p>// Prettier 3.6.0 (--parser=babel-ts)<br /> SyntaxError: Unexpected token (1:21)<br /> &gt; 1 | export const version: string;<br /> | ^</p> <p>// Prettier 3.6.0 (--parser=oxc-ts)<br /> SyntaxError: Missing initializer in const declaration (1:14)<br /> &gt; 1 | export const version: string;<br /> | ^^^^^^^^^^^^^^^</p> <p>// Prettier 3.6.1<br /> export const version: string;<br /> </code></pre></p> <h4>Miscellaneous: Avoid closing files multiple times (<a href="https://redirect.github.com/prettier/prettier/pull/17665">#17665</a> by <a href="https://github.com/43081j"><code>@​43081j</code></a>)</h4> <p>When reading a file to infer the interpreter from a shebang, we use the <code>n-readlines</code> library to read the first line in order to get the shebang.</p> <p>This library closes files when it reaches EOF, and we later try close the same files again. We now close files only if <code>n-readlines</code> did not already close them.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/2bfff20275b8de52b9bdd987f966ff8ac198b71b"><code>2bfff20</code></a> Release 3.6.1</li> <li><a href="https://github.com/prettier/prettier/commit/cb8af6c59b897835687917c2719104ef182ea1b0"><code>cb8af6c</code></a> Disable &quot;Linting files&quot; step on release</li> <li><a href="https://github.com/prettier/prettier/commit/65e603d414d06b8eee36479014cfc5825bb32e88"><code>65e603d</code></a> chore(deps): update dependency jest to v30.0.3 (<a href="https://redirect.github.com/prettier/prettier/issues/17667">#17667</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/37f6e09589c44b455571a1f1876cec364b5e0fab"><code>37f6e09</code></a> Avoid closing files multiple times in <code>getInterpreter</code>(<a href="https://redirect.github.com/prettier/prettier/issues/17665">#17665</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/0e6ec982df2b8c7653a6a2d2dd35107a70d5a1b6"><code>0e6ec98</code></a> chore(deps): update dependency meriyah to v6.1.3 (<a href="https://redirect.github.com/prettier/prettier/issues/17666">#17666</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/4292cbf2ef9db4a272e0747bd90ad567b6b8b05a"><code>4292cbf</code></a> Disable <code>experimentalRawTransfer</code> for oxc parser (<a href="https://redirect.github.com/prettier/prettier/issues/17663">#17663</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/e9045d0fcc087da5662042ac5da01a8da25ee15a"><code>e9045d0</code></a> Docs: delete outdated part about decorators (<a href="https://redirect.github.com/prettier/prettier/issues/17662">#17662</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/0926587a5fc4134b5773e54a2739cc5576c4dd23"><code>0926587</code></a> Allow const without initializer in <code>oxc-ts</code> parser (<a href="https://redirect.github.com/prettier/prettier/issues/17654">#17654</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/456179ace8c0ebe321821f72019a4c011d532310"><code>456179a</code></a> Fix typo in v3.6.0 release notes for markdown (<a href="https://redirect.github.com/prettier/prettier/issues/17661">#17661</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/75bdb5d5de50308c396657dcbda70b60798f5d09"><code>75bdb5d</code></a> Add issue link for the experimental CLI (<a href="https://redirect.github.com/prettier/prettier/issues/17659">#17659</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/3.6.0...3.6.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=3.6.0&new-version=3.6.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
1 parent 5fd8bec commit 4965057

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
@@ -58,7 +58,7 @@
5858
"license-checker-rseidelsohn": "^4.4.2",
5959
"lint-staged": "^16.1.2",
6060
"micromark-util-types": "^2.0.2",
61-
"prettier": "^3.6.0",
61+
"prettier": "^3.6.1",
6262
"sort-package-json": "^3.3.0",
6363
"ts-jest": "^29.4.0",
6464
"ts-node": "^10.9.2",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ __metadata:
927927
micromark-util-character: "npm:^2.1.1"
928928
micromark-util-symbol: "npm:^2.0.1"
929929
micromark-util-types: "npm:^2.0.2"
930-
prettier: "npm:^3.6.0"
930+
prettier: "npm:^3.6.1"
931931
rehype-raw: "npm:^7.0.0"
932932
rehype-sanitize: "npm:^6.0.0"
933933
remark-gfm: "npm:^4.0.1"
@@ -6036,12 +6036,12 @@ __metadata:
60366036
languageName: node
60376037
linkType: hard
60386038

6039-
"prettier@npm:^3.5.3, prettier@npm:^3.6.0":
6040-
version: 3.6.0
6041-
resolution: "prettier@npm:3.6.0"
6039+
"prettier@npm:^3.5.3, prettier@npm:^3.6.1":
6040+
version: 3.6.1
6041+
resolution: "prettier@npm:3.6.1"
60426042
bin:
60436043
prettier: bin/prettier.cjs
6044-
checksum: 636897c8084b71ef1f740a46199df0d8f6ed896aa497212cc8cc229d3026b9dca82fa92f61e55924c4708cea11e39a88478e2d93c4818741c55b7408a9ac6d91
6044+
checksum: cf54254b9ddf1a8dff12f84bf0089e6aef3eeb9d0ce9d0344e39549ddc4f5c290fc5060d7d5a597848b9617e53e05b33a4118e37cd560f9e132ecc19c211300a
60456045
languageName: node
60466046
linkType: hard
60476047

0 commit comments

Comments
 (0)