Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

chore(deps): update dependency prettier to v2.8.8 - #34

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prettier-2.x
Open

chore(deps): update dependency prettier to v2.8.8#34
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/prettier-2.x

Conversation

@renovate

@renovaterenovateBot commented Mar 20, 2023

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
prettier (source)2.8.4 -> 2.8.8ageadoptionpassingconfidence

Release Notes

prettier/prettier (prettier)

v2.8.8

Compare Source

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.

v2.8.7

Compare Source

diff

Allow multiple decorators on same getter/setter (#​14584 by @​fisker)
// InputclassA{
@​decorator()getfoo(){}
@​decorator()setfoo(value){}}// Prettier 2.8.6
SyntaxError: Decoratorscannotbeappliedtomultipleget/setaccessorsofthesamename.(5:3)3|getfoo(){}4|>5| @​decorator()|^^^^^^^^^^^^6|setfoo(value){}7|}// Prettier 2.8.7classA{
@​decorator()getfoo(){}
@​decorator()setfoo(value){}}

v2.8.6

Compare Source

diff

Allow decorators on private members and class expressions (#​14548 by @​fisker)
// InputclassA{
@​decorator()
#privateMethod (){}}// Prettier 2.8.5
SyntaxError: Decoratorsarenotvalidhere.(2:3)1|classA{>2| @​decorator()|^^^^^^^^^^^^3| #privateMethod (){}4|}// Prettier 2.8.6classA{
@​decorator()
#privateMethod(){}}

v2.8.5

Compare Source

diff

Support TypeScript 5.0 (#​14391 by @​fisker, #​13819 by @​fisker, @​sosukesuzuki)

TypeScript 5.0 introduces two new syntactic features:

  • const modifiers for type parameters
  • export type * declarations
Add missing parentheses for decorator (#​14393 by @​fisker)
// InputclassPerson{
@​(myDecoratorArray[0])greet(){}}// Prettier 2.8.4classPerson{
@​myDecoratorArray[0]greet(){}}// Prettier 2.8.5classPerson{
@​(myDecoratorArray[0])greet(){}}
Add parentheses for TypeofTypeAnnotation to improve readability (#​14458 by @​fisker)
// InputtypeA=(typeofnode.children)[];// Prettier 2.8.4typeA=typeofnode.children[];// Prettier 2.8.5typeA=(typeofnode.children)[];
Support max_line_length=off when parsing .editorconfig (#​14516 by @​josephfrazier)

If an .editorconfig file is in your project and it sets max_line_length=off for the file you're formatting,
it will be interpreted as a printWidth of Infinity rather than being ignored
(which previously resulted in the default printWidth of 80 being applied, if not overridden by Prettier-specific configuration).

<!-- Input --><divclassName='HelloWorld' title={`Youarevisitornumber${num}`}onMouseOver={onMouseOver}/><!-- Prettier 2.8.4 --><divclassName="HelloWorld"
title={`Youarevisitornumber${num}`}onMouseOver={onMouseOver}/>;
<!-- Prettier 2.8.5 --><divclassName="HelloWorld" title={`Youarevisitornumber${num}`}onMouseOver={onMouseOver}/>;

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovaterenovateBot changed the title chore(deps): update dependency prettier to v2.8.5chore(deps): update dependency prettier to v2.8.6Mar 21, 2023
@renovate
renovateBotforce-pushed the renovate/prettier-2.x branch from 977ad10 to 0c666f9CompareMarch 21, 2023 11:30
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v2.8.6chore(deps): update dependency prettier to v2.8.7Mar 24, 2023
@renovate
renovateBotforce-pushed the renovate/prettier-2.x branch from 0c666f9 to 68be555CompareMarch 24, 2023 11:56
@renovaterenovateBot changed the title chore(deps): update dependency prettier to v2.8.7chore(deps): update dependency prettier to v2.8.8Apr 23, 2023
@renovate
renovateBotforce-pushed the renovate/prettier-2.x branch from 68be555 to 37f1258CompareApril 23, 2023 09:54
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants