Skip to content

Bump prettier from 2.8.6 to 2.8.7

Dependabot requested to merge dependabot-npm_and_yarn-prettier-2.8.7 into master

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

Merge request reports