Fix cursor positioning for a special case (#14812 by @fisker)
// <|> is the cursor position
/* Input */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|> } from "fs"
/* Prettier 3.0.0 */
// All messages are represented in JSON.
// So, the prettier.py <|>controls a subprocess which spawns "node {this_file}".
import {} from "fs"
/* Prettier 3.0.1 */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>} from "fs"
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
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 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)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/joelwmale/webhook-action/pull/661
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 8/7/2023
**Status:** ❌ Closed
**Base:** `develop` ← **Head:** `dependabot/npm_and_yarn/prettier-3.0.1`
---
### 📝 Commits (1)
- [`2b518c8`](https://github.com/joelwmale/webhook-action/commit/2b518c815f9a7623825883ab5f4b16017a224c69) build(deps-dev): bump prettier from 2.7.1 to 3.0.1
### 📊 Changes
**2 files changed** (+7 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `package.json` (+1 -1)
📝 `yarn.lock` (+6 -1)
</details>
### 📄 Description
Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 3.0.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.0.1</h2>
<p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#301">Changelog</a></p>
<h2>3.0.0</h2>
<p><a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0">diff</a></p>
<p>🔗 <a href="https://prettier.io/blog/2023/07/05/3.0.0.html">Release note</a></p>
<h2>3.0.0-alpha.6</h2>
<h2>What's Changed</h2>
<ul>
<li>Update <code>.d.ts</code> files of plugins to use <code>export default ...</code> by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/14435">prettier/prettier#14435</a></li>
</ul>
<p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6">https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6</a></p>
<h2>3.0.0-alpha.5</h2>
<h2>What's Changed</h2>
<ul>
<li>Add <code>.d.ts</code> files by <a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/14212">prettier/prettier#14212</a></li>
<li>Support TypeScript 5 via <code>babel-ts</code> parser by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/14391">prettier/prettier#14391</a></li>
</ul>
<p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5">https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5</a></p>
<h2>3.0.0-alpha.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Remove support for Flow comment types by <a href="https://github.com/thorn0"><code>@thorn0</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/13687">prettier/prettier#13687</a></li>
<li>Make <code>resolveParser</code> work like v2 by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/13732">prettier/prettier#13732</a></li>
<li>Add <code>__debug</code> apis to cjs version by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/13731">prettier/prettier#13731</a></li>
</ul>
<p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4">https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4</a></p>
<h2>3.0.0-alpha.3</h2>
<ul>
<li>Fix <code>exports</code> field in <code>package.json</code> file</li>
</ul>
<p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.2...3.0.0-alpha.3">https://github.com/prettier/prettier/compare/3.0.0-alpha.2...3.0.0-alpha.3</a></p>
<h2>3.0.0-alpha.2</h2>
<ul>
<li>Fix bundled <code>index.cjs</code> file</li>
</ul>
<p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.1...3.0.0-alpha.2">https://github.com/prettier/prettier/compare/3.0.0-alpha.1...3.0.0-alpha.2</a></p>
<h2>3.0.0-alpha.1</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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.0.1</h1>
<p><a href="https://github.com/prettier/prettier/compare/3.0.0...3.0.1">diff</a></p>
<h4>Fix cursor positioning for a special case (<a href="https://redirect.github.com/prettier/prettier/pull/14812">#14812</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="js"><code>// <|> is the cursor position
<p>/* Input */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|> } from "fs"</p>
<p>/* Prettier 3.0.0 */
// All messages are represented in JSON.
// So, the prettier.py <|>controls a subprocess which spawns "node {this_file}".
import {} from "fs"</p>
<p>/* Prettier 3.0.1 */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>} from "fs"
</code></pre></p>
<h4>Fix plugins/estree.d.ts to make it a module (<a href="https://redirect.github.com/prettier/prettier/pull/15018">#15018</a> by <a href="https://github.com/kingyue737"><code>@kingyue737</code></a>)</h4>
<p>Add <code>export {}</code> in <code>plugins/estree.d.ts</code> to fix the "File is not a module" error</p>
<h4>Add parenthesis around leading multiline comment in return statement (<a href="https://redirect.github.com/prettier/prettier/pull/15037">#15037</a> by <a href="https://github.com/auvred"><code>@auvred</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="jsx"><code>// Input
function fn() {
return (
/**
* @type {...}
*/ expresssion
)
}
<p>// Prettier 3.0.0
function fn() {
return /**</p>
<ul>
<li><a href="https://github.com/type"><code>@type</code></a> {...}
*/ expresssion;
}</li>
</ul>
<p></tr></table>
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/prettier/prettier/commit/afee0db6646ced248e5e53d0640f043fe5e923e4"><code>afee0db</code></a> Release 3.0.1</li>
<li><a href="https://github.com/prettier/prettier/commit/c3d53dce7e8d50b2b897f332572032de3aa80409"><code>c3d53dc</code></a> Fix <code>runYarn</code> function in release script (<a href="https://redirect.github.com/prettier/prettier/issues/15200">#15200</a>)</li>
<li><a href="https://github.com/prettier/prettier/commit/825425c57f00268abaf3964b441a7649c8004ba0"><code>825425c</code></a> chore(deps): update dependency eslint-plugin-import to v2.28.0 (<a href="https://redirect.github.com/prettier/prettier/issues/15184">#15184</a>)</li>
<li><a href="https://github.com/prettier/prettier/commit/448217df2209e3bfa5fba9cad0f5eedc997f281b"><code>448217d</code></a> chore(deps): update dependency eslint to v8.46.0 (<a href="https://redirect.github.com/prettier/prettier/issues/15182">#15182</a>)</li>
<li><a href="https://github.com/prettier/prettier/commit/f35e9e6babddad791bf6afe52e17ce1d78993ae1"><code>f35e9e6</code></a> chore(deps): update dependency <code>@angular/compiler</code> to v16.1.7 (<a href="https://redirect.github.com/prettier/prettier/issues/15173">#15173</a>)</li>
<li><a href="https://github.com/prettier/prettier/commit/d14e893147d1931030a5c253df3fc195ed5e5eae"><code>d14e893</code></a> chore(deps): update dependency c8 to v8.0.1 (<a href="https://redirect.github.com/prettier/prettier/issues/15174">#15174</a>)</li>
<li><a href="https://github.com/prettier/prettier/commit/c44d4b761ef405b6e251e5b69bf36896371b2e71"><code>c44d4b7</code></a> chore(deps): update dependency eslint-plugin-react to v7.33.1 (<a href="https://redirect.github.com/prettier/prettier/issues/15176">#15176</a>)</li>
<li><a href="https://github.com/prettier/prettier/commit/57e8c875066f6b962ec6644cf671a4e8f80c501a"><code>57e8c87</code></a> chore(deps): update dependency esbuild to v0.18.17 (<a href="https://redirect.github.com/prettier/prettier/issues/15175">#15175</a>)</li>
<li><a href="https://github.com/prettier/prettier/commit/36c3738aa960f808c7a79ec477dadd34fde23f50"><code>36c3738</code></a> chore(deps): update dependency eslint-plugin-unicorn to v48.0.1 (<a href="https://redirect.github.com/prettier/prettier/issues/15177">#15177</a>)</li>
<li><a href="https://github.com/prettier/prettier/commit/2d274dfcdd8813e4ee203441c36ba17d2f4d4071"><code>2d274df</code></a> chore(deps): update dependency flow-parser to v0.213.1 (<a href="https://redirect.github.com/prettier/prettier/issues/15178">#15178</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.7.1...3.0.1">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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.
📋 Pull Request Information
Original PR: https://github.com/joelwmale/webhook-action/pull/661
Author: @dependabot[bot]
Created: 8/7/2023
Status: ❌ Closed
Base:
develop← Head:dependabot/npm_and_yarn/prettier-3.0.1📝 Commits (1)
2b518c8build(deps-dev): bump prettier from 2.7.1 to 3.0.1📊 Changes
2 files changed (+7 additions, -2 deletions)
View changed files
📝
package.json(+1 -1)📝
yarn.lock(+6 -1)📄 Description
Bumps prettier from 2.7.1 to 3.0.1.
Release notes
Sourced from prettier's releases.
... (truncated)
Changelog
Sourced from prettier's changelog.
... (truncated)
Commits
afee0dbRelease 3.0.1c3d53dcFixrunYarnfunction in release script (#15200)825425cchore(deps): update dependency eslint-plugin-import to v2.28.0 (#15184)448217dchore(deps): update dependency eslint to v8.46.0 (#15182)f35e9e6chore(deps): update dependency@angular/compilerto v16.1.7 (#15173)d14e893chore(deps): update dependency c8 to v8.0.1 (#15174)c44d4b7chore(deps): update dependency eslint-plugin-react to v7.33.1 (#15176)57e8c87chore(deps): update dependency esbuild to v0.18.17 (#15175)36c3738chore(deps): update dependency eslint-plugin-unicorn to v48.0.1 (#15177)2d274dfchore(deps): update dependency flow-parser to v0.213.1 (#15178)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.