Skip to content

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

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

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

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 2, 2023

This PR contains the following updates:

Package Change Age Confidence
prettier (source) 2.8.42.8.8 age confidence

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

v2.8.6

Compare Source

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

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)
// Input
class Person {
  @​(myDecoratorArray[0])
  greet() {}
}

// Prettier 2.8.4
class Person {
  @​myDecoratorArray[0]
  greet() {}
}

// Prettier 2.8.5
class Person {
  @​(myDecoratorArray[0])
  greet() {}
}
Add parentheses for TypeofTypeAnnotation to improve readability (#​14458 by @​fisker)
// Input
type A = (typeof node.children)[];

// Prettier 2.8.4
type A = typeof node.children[];

// Prettier 2.8.5
type A = (typeof node.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 -->
<div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}/>

<!-- Prettier 2.8.4 -->
<div
  className="HelloWorld"
  title={`You are visitor number ${num}`}
  onMouseOver={onMouseOver}
/>;

<!-- Prettier 2.8.5 -->
<div className="HelloWorld" title={`You are visitor number ${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 is behind base branch, 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.

@netlify
Copy link

netlify bot commented Apr 2, 2023

Deploy Preview for vue3-management-system ready!

Name Link
🔨 Latest commit 63e5c5b
🔍 Latest deploy log https://app.netlify.com/projects/vue3-management-system/deploys/691e14797ff92200085c66c3
😎 Deploy Preview https://deploy-preview-61--vue3-management-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate renovate bot force-pushed the renovate/prettier-2.x-lockfile branch from b5e2595 to 177bcc1 Compare April 17, 2023 13:17
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.8.7 chore(deps): update dependency prettier to v2.8.8 Apr 23, 2023
@renovate renovate bot force-pushed the renovate/prettier-2.x-lockfile branch from 177bcc1 to a005a79 Compare April 23, 2023 08:20
@renovate renovate bot force-pushed the renovate/prettier-2.x-lockfile branch 2 times, most recently from b7d8479 to 63e5c5b Compare November 19, 2025 19:03
@renovate renovate bot force-pushed the renovate/prettier-2.x-lockfile branch from 63e5c5b to 228569c Compare February 3, 2026 12:13
@netlify
Copy link

netlify bot commented Feb 3, 2026

Deploy Preview for vue3-management-system ready!

Name Link
🔨 Latest commit 228569c
🔍 Latest deploy log https://app.netlify.com/projects/vue3-management-system/deploys/6981e6780c456600087a7ccb
😎 Deploy Preview https://deploy-preview-61--vue3-management-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Comments