chore(deps-dev): bump prettier from 2.8.5 to 2.8.6 #59

Merged
argoyle merged 1 commits from dependabot-npm_and_yarn-prettier-2.8.6 into main 2023-03-22 12:11:55 +00:00
argoyle commented 2023-03-22 06:52:37 +00:00 (Migrated from gitlab.com)

Bumps prettier from 2.8.5 to 2.8.6.

Release notes

Sourced from prettier's releases.

2.8.6

  • Allow decorators on private members and class expressions

🔗 Changelog

Changelog

Sourced from prettier's changelog.

2.8.6

diff

Allow decorators on private members and class expressions (#14548 by @​fisker)

// Input
class A {
  @decorator()
  #privateMethod () {}
}

// Prettier 2.8.5 SyntaxError: Decorators are not valid here. (2:3) 1 | class A { > 2 | @​decorator() | ^^^^^^^^^^^^ 3 | #privateMethod () {} 4 | }

// Prettier 2.8.6 class A { @​decorator() #privateMethod() {} }

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.5 to 2.8.6. <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>2.8.6</h2> <ul> <li>Allow decorators on private members and class expressions</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#286">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>2.8.6</h1> <p><a href="https://github.com/prettier/prettier/compare/2.8.5...2.8.6">diff</a></p> <h4>Allow decorators on private members and class expressions (<a href="https://github.com/prettier/prettier/pull/14548">#14548</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="ts"><code>// Input class A { @decorator() #privateMethod () {} } <p>// Prettier 2.8.5 SyntaxError: Decorators are not valid here. (2:3) 1 | class A { &gt; 2 | <a href="https://github.com/decorator"><code>@​decorator</code></a>() | ^^^^^^^^^^^^ 3 | #privateMethod () {} 4 | }</p> <p>// Prettier 2.8.6 class A { <a href="https://github.com/decorator"><code>@​decorator</code></a>() #privateMethod() {} } </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/10fe1ed6230c6dcdce879104b69cfb2274728c86"><code>10fe1ed</code></a> Release 2.8.6</li> <li><a href="https://github.com/prettier/prettier/commit/44aef0b1ba067cd286ae5b79a9f1f17c751e4cdf"><code>44aef0b</code></a> Allow decorator on private members and class expressions (<a href="https://github.com/prettier/prettier/issues/14548">#14548</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/ddf3b43c33e2e98f6413b5232ad623876d96738e"><code>ddf3b43</code></a> Clean changelog</li> <li><a href="https://github.com/prettier/prettier/commit/71ba29f22bf39d8ddbfd42f33fefd8efdd28a64b"><code>71ba29f</code></a> Git blame ignore 2.8.5</li> <li><a href="https://github.com/prettier/prettier/commit/c1808e86a3c7c2c8f43093f99e78fce3b6d0a97d"><code>c1808e8</code></a> Bump Prettier dependency to 2.8.5</li> <li>See full diff in <a href="https://github.com/prettier/prettier/compare/2.8.5...2.8.6">compare view</a></li> </ul> </details> <br /> --- <details> <summary>Dependabot commands</summary> <br /> You can trigger Dependabot actions by commenting on this MR - `$dependabot rebase` will rebase this MR - `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts </details>
argoyle (Migrated from gitlab.com) merged commit into main 2023-03-22 12:11:55 +00:00
Sign in to join this conversation.