chore(deps-dev): bump prettier from 2.8.6 to 2.8.7 #61

Merged
argoyle merged 1 commits from dependabot-npm_and_yarn-prettier-2.8.7 into main 2023-03-28 06:16:13 +00:00
argoyle commented 2023-03-27 14:04:04 +00:00 (Migrated from gitlab.com)

Bumps prettier from 2.8.6 to 2.8.7.

Release notes

Sourced from prettier's releases.

2.8.7

  • Allow multiple decorators on same getter/setter

🔗 Changelog

Changelog

Sourced from prettier's changelog.

2.8.7

diff

Allow multiple decorators on same getter/setter (#14584 by @​fisker)

// Input
class A {
  @decorator()
  get foo () {}

@​decorator() set foo (value) {} }

// Prettier 2.8.6 SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3) 3 | get foo () {} 4 |
> 5 | @​decorator() | ^^^^^^^^^^^^ 6 | set foo (value) {} 7 | }

// Prettier 2.8.7 class A { @​decorator() get foo() {}

@​decorator() set foo(value) {} }

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.6 to 2.8.7. <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.7</h2> <ul> <li>Allow multiple decorators on same getter/setter</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#287">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.7</h1> <p><a href="https://github.com/prettier/prettier/compare/2.8.6...2.8.7">diff</a></p> <h4>Allow multiple decorators on same getter/setter (<a href="https://github.com/prettier/prettier/pull/14584">#14584</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="ts"><code>// Input class A { @decorator() get foo () {} <p><a href="https://github.com/decorator"><code>@​decorator</code></a>() set foo (value) {} }</p> <p>// Prettier 2.8.6 SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3) 3 | get foo () {} 4 |<br /> &gt; 5 | <a href="https://github.com/decorator"><code>@​decorator</code></a>() | ^^^^^^^^^^^^ 6 | set foo (value) {} 7 | }</p> <p>// Prettier 2.8.7 class A { <a href="https://github.com/decorator"><code>@​decorator</code></a>() get foo() {}</p> <p><a href="https://github.com/decorator"><code>@​decorator</code></a>() set foo(value) {} } </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/543a9d71a7a61436948814181bd3a5b434a6c2ae"><code>543a9d7</code></a> Release 2.8.7</li> <li><a href="https://github.com/prettier/prettier/commit/f9fae7f34ce6a5664073fb9c78d692dcacb82527"><code>f9fae7f</code></a> Allow multiple decorators on same getter/setter (<a href="https://github.com/prettier/prettier/issues/14584">#14584</a>)</li> <li>See full diff in <a href="https://github.com/prettier/prettier/compare/2.8.6...2.8.7">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-28 06:16:14 +00:00
Sign in to join this conversation.