Skip to content

Bump prettier from 2.8.1 to 2.8.8

HIFIS Bot requested to merge dependabot/npm_and_yarn/prettier-2.8.8 into master

Bumps prettier from 2.8.1 to 2.8.8.

Release notes

Sourced from prettier's releases.

2.8.8

This version is a republished version of v2.8.7. A bad version was accidentally published and it can't be unpublished, apologies for the churn.

2.8.7

  • Allow multiple decorators on same getter/setter

🔗 Changelog

2.8.6

  • Allow decorators on private members and class expressions

🔗 Changelog

2.8.5

  • Support TypeScript 5.0

🔗 Changelog

2.8.4

🔗 Changelog

2.8.3

Support Angular 15.1

🔗 Changelog

2.8.2

🔗 Changelog

Changelog

Sourced from prettier's changelog.

2.8.8

This version is a republished version of v2.8.7. A bad version was accidentally published and it can't be unpublished, apologies for the churn.

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) {}
}

2.8.6

diff

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

// Input
</tr></table> 

... (truncated)

Commits

Merge request reports