Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency prettier to v2.7.1 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 24, 2020

Mend Renovate

This PR contains the following updates:

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

Release Notes

prettier/prettier

v2.7.1

Compare Source

diff

Keep useful empty lines in description (#​13013 by @​chimurai)

v2.7.0

Compare Source

"""
First line
Second Line
"""
type Person {
name: String
}

v2.6.2

Compare Source

diff

Fix LESS/SCSS format error (#​12536 by @​fisker)
// Input
.background-gradient(@​cut) {
    background: linear-gradient(
        to right,
        @​white 0%,
        @​white (@​cut - 0.01%),
        @​portal-background @​cut,
        @​portal-background 100%
    );
}

// Prettier 2.6.1
TypeError: Cannot read properties of undefined (reading 'endOffset')

// Prettier 2.6.2
.background-gradient(@​cut) {
  background: linear-gradient(
    to right,
    @​white 0%,
    @​white (@​cut - 0.01%),
    @​portal-background @​cut,
    @​portal-background 100%
  );
}
Update meriyah to fix several bugs (#​12567 by @​fisker, fixes in meriyah by @​3cp)

Fixes bugs when parsing following valid code:

foo(await bar());
const regex = /.*/ms;
const element = <p>{/w/.test(s)}</p>;
class A extends B {
  #privateMethod() {
    super.method();
  }
}

v2.6.1

Compare Source

diff

Ignore loglevel when printing information (#​12477 by @​fisker)

v2.6.0

Compare Source

prettier --loglevel silent --find-config-path index.js

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 Prettier@v2.5.0 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: 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, click this checkbox.

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

@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.1.0 chore(deps): update dependency prettier to v2.1.1 Aug 26, 2020
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from ddb0b7f to 7a51702 Compare August 26, 2020 05:04
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 7a51702 to df05cb7 Compare September 16, 2020 01:26
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.1.1 chore(deps): update dependency prettier to v2.1.2 Sep 16, 2020
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from df05cb7 to 0e8b5e9 Compare November 26, 2020 19:55
@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 0e8b5e9 to d7fc20d Compare December 11, 2020 09:00
@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 11, 2020
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from d7fc20d to 077dc84 Compare May 15, 2021 21:31
@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 15, 2021
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 077dc84 to 926d67d Compare June 6, 2021 20:48
@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 6, 2021
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 926d67d to f436fc6 Compare March 7, 2022 12:59
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.3.1 chore(deps): update dependency prettier to v2.5.1 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from f436fc6 to 0258591 Compare March 26, 2022 12:22
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.5.1 chore(deps): update dependency prettier to v2.6.1 Mar 26, 2022
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 0258591 to 3d3d5b1 Compare April 24, 2022 22:28
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.6.1 chore(deps): update dependency prettier to v2.6.2 Apr 24, 2022
@renovate renovate bot force-pushed the renovate/prettier-2.x branch from 3d3d5b1 to c411dc9 Compare June 18, 2022 17:09
@renovate renovate bot changed the title chore(deps): update dependency prettier to v2.6.2 chore(deps): update dependency prettier to v2.7.1 Jun 18, 2022
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