Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 6, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) 2.0.5 -> 2.5.1 age adoption passing confidence

Release Notes

prettier/prettier

v2.5.1

Compare Source

diff

Improve formatting for empty tuple types (#​11884 by @​sosukesuzuki)
// Input
type Foo =
  Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
    ? Foo3
    : Foo4;

// Prettier 2.5.0
type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [

]
  ? Foo3
  : Foo4;

// Prettier 2.5.0 (tailingCommma = all)
// Invalid TypeScript code
type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [
  ,
]
  ? Foo3
  : Foo4;

// Prettier 2.5.1
type Foo =
  Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
    ? Foo3
    : Foo4;
Fix compatibility with Jest inline snapshot test (#​11892 by @​fisker)

A internal change in [email protected] accidentally breaks the Jest inline snapshot test.

Support Glimmer's named blocks (#​11899 by @​duailibe)

Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler.

See: Glimmer's named blocks.

// Input
<Component>
  <:named></:named>
</Component>

// Prettier 2.5.0
<Component>
  <:named />
</Component>

// Prettier 2.5.1
<Component>
  <:named></:named>
</Component>

v2.5.0

Compare Source

diff

🔗 Release Notes

v2.4.1

Compare Source

diff

Fix wildcard syntax in @forward (#​11482) (#​11487 by @​niksy)
// Input
@&#8203;forward "library" as btn-*;

// Prettier 2.4.0
@&#8203;forward "library" as btn- *;

// Prettier 2.4.1
@&#8203;forward "library" as btn-*;
Add new CLI option debug-print-ast (#​11514 by @​sosukesuzuki)

A new --debug-print-ast CLI flag for debugging.

v2.4.0

Compare Source

diff

🔗 Release Notes

v2.3.2

Compare Source

diff

Fix failure on dir with trailing slash (#​11000 by @​fisker)
$ ls
1.js  1.unknown

v2.3.1

Compare Source

$ prettier . -l
1.js
$ prettier ./ -l
[error] No supported files were found in the directory: "./".

v2.3.0

Compare Source

diff

🔗 Release Notes

v2.2.1

Compare Source

diff

Fix formatting for AssignmentExpression with ClassExpression (#​9741 by @​sosukesuzuki)
// Input
module.exports = class A extends B {
  method() {
    console.log("foo");
  }
};

// Prettier 2.2.0
module.exports = class A extends (
  B
) {
  method() {
    console.log("foo");
  }
};

// Prettier 2.2.1
module.exports = class A extends B {
  method() {
    console.log("foo");
  }
};

v2.2.0

Compare Source

diff

🔗 Release Notes

v2.1.2

Compare Source

diff

Fix formatting for directives in fields (#​9116 by @​sosukesuzuki)

v2.1.1

Compare Source

diff

Fix format on html with frontMatter (#​9043 by @​fisker)
<!-- Input -->
---
layout: foo
---

Test <a
href="https://prettier.io">abc</a>.

<!-- Prettier stable -->
TypeError: Cannot read property 'end' of undefined
  ...

<!-- Prettier master -->
---
layout: foo
---

Test <a href="https://prettier.io">abc</a>.
Fix broken format for ...infer T (#​9044 by @​fisker)
// Input
type Tail<T extends any[]> = T extends [infer U, ...infer R] ? R : never;

// Prettier stable
type Tail<T extends any[]> = T extends [infer U, ...(infer R)] ? R : never;

// Prettier master
type Tail<T extends any[]> = T extends [infer U, ...infer R] ? R : never;
Fix format on style[lang="sass"] (#​9051 by @​fisker)
<!-- Input -->
<style lang="sass">
.hero
  @&#8203;include background-centered
</style>

<!-- Prettier stable -->
<style lang="sass">
.hero @&#8203;include background-centered;
</style>

<!-- Prettier master -->
<style lang="sass">
  .hero
    @&#8203;include background-centered
</style>
Fix self-closing blocks and blocks with src attribute format (#​9052, #​9055 by @​fisker)
<!-- Input -->
<custom lang="markdown" src="./foo.md"></custom>
<custom lang="markdown" src="./foo.md" />
<custom lang="markdown" />

<!-- Prettier stable -->
<custom lang="markdown" src="./foo.md">

</custom>
<custom lang="markdown" src="./foo.md"

/>
<custom lang="markdown"

/>

<!-- Prettier master -->
<custom lang="markdown" src="./foo.md"></custom>
<custom lang="markdown" src="./foo.md" />
<custom lang="markdown" />

v2.1.0

Compare Source

diff

🔗 Release Notes


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled due to failing status checks.

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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 8cbcafd to 82ee759 Compare November 6, 2020 16:58
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 82ee759 to 0de5de5 Compare November 26, 2020 19:00
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.1.2 chore(deps): update dependency prettier to v2.2.0 Nov 26, 2020
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 0de5de5 to 70020b1 Compare December 8, 2020 11:01
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.2.0 chore(deps): update dependency prettier to v2.2.1 Dec 8, 2020
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 70020b1 to 02f647b Compare March 23, 2021 09:06
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 02f647b to 1e087be Compare April 12, 2021 09:20
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 1e087be to cc3c54c Compare April 19, 2021 14:13
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.2.1 fix(deps): update dependency prettier to v2.2.1 Apr 19, 2021
@renovate renovate bot changed the title fix(deps): update dependency prettier to v2.2.1 chore(deps): update dependency prettier to v2.2.1 Apr 19, 2021
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from cc3c54c to 253ff3c Compare May 10, 2021 00:07
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.2.1 chore(deps): update dependency prettier to v2.3.0 May 10, 2021
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 253ff3c to a7b77ec Compare June 5, 2021 10:46
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.3.0 chore(deps): update dependency prettier to v2.3.1 Jun 5, 2021
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from a7b77ec to 8d25c2a Compare June 14, 2021 09:39
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 8d25c2a to c4445ff Compare June 26, 2021 09:47
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.3.1 chore(deps): update dependency prettier to v2.3.2 Jun 26, 2021
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from c4445ff to 68f00df Compare September 21, 2021 09:49
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.3.2 chore(deps): update dependency prettier to v2.4.1 Sep 21, 2021
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 68f00df to d8074ef Compare December 7, 2021 10:12
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.4.1 chore(deps): update dependency prettier to v2.5.1 Dec 7, 2021
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from d8074ef to 83b27ca Compare January 31, 2022 13:03
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 83b27ca to d9f0fa2 Compare January 31, 2022 13:19
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from d9f0fa2 to 3aca692 Compare January 31, 2022 13:26
@dhayab dhayab closed this Mar 15, 2023
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.

3 participants