Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

chore(deps): update dependency prettier to ^2.8.1 #44

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 25, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) ^2.4.1 -> ^2.8.1 age adoption passing confidence
@types/prettier (source) ^2.4.2 -> ^2.7.1 age adoption passing confidence

Release Notes

prettier/prettier

v2.8.1

Compare Source

diff

Fix SCSS map in arguments (#​9184 by @​agamkrbit)
// Input
$display-breakpoints: map-deep-merge(
  (
    "print-only": "only print",
    "screen-only": "only screen",
    "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
  ),
  $display-breakpoints
);

// Prettier 2.8.0
$display-breakpoints: map-deep-merge(
  (
    "print-only": "only print",
    "screen-only": "only screen",
    "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm
      ")-1})",
  ),
  $display-breakpoints
);

// Prettier 2.8.1
$display-breakpoints: map-deep-merge(
  (
    "print-only": "only print",
    "screen-only": "only screen",
    "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
  ),
  $display-breakpoints
);
Support auto accessors syntax (#​13919 by @​sosukesuzuki)

Support for Auto Accessors Syntax landed in TypeScript 4.9.

(Doesn't work well with babel-ts parser)

class Foo {
  accessor foo: number = 3;
}

v2.8.0

Compare Source

diff

🔗 Release Notes

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 [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


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 these updates again.


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

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

@renovate renovate bot added dependencies Pull requests that update a dependency file self-review labels Nov 25, 2021
@renovate renovate bot changed the title chore(deps): update dependency prettier to ^2.5.0 chore(deps): update dependency prettier to ^2.5.1 Dec 4, 2021
@renovate renovate bot changed the title chore(deps): update dependency prettier to ^2.5.1 chore(deps): update dependency prettier to ^2.6.0 Mar 16, 2022
@renovate renovate bot changed the title chore(deps): update dependency prettier to ^2.6.0 chore(deps): update dependency prettier to ^2.6.1 Mar 25, 2022
@renovate renovate bot changed the title chore(deps): update dependency prettier to ^2.6.1 chore(deps): update dependency prettier to ^2.6.2 Apr 2, 2022
@renovate renovate bot force-pushed the renovate/prettier-2.x branch 2 times, most recently from 57806f4 to dc01755 Compare May 28, 2022 10:25
@renovate renovate bot changed the title chore(deps): update dependency prettier to ^2.6.2 chore(deps): update dependency prettier to ^2.7.1 Jun 18, 2022
@renovate renovate bot changed the title chore(deps): update dependency prettier to ^2.7.1 chore(deps): update dependency prettier to ^2.8.0 Nov 23, 2022
@renovate renovate bot changed the title chore(deps): update dependency prettier to ^2.8.0 chore(deps): update dependency prettier to ^2.8.1 Dec 7, 2022
@renovate renovate bot changed the title chore(deps): update dependency prettier to ^2.8.1 Update dependency prettier to ^2.8.1 Dec 17, 2022
@renovate renovate bot changed the title Update dependency prettier to ^2.8.1 chore(deps): update dependency prettier to ^2.8.1 Dec 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file self-review
Development

Successfully merging this pull request may close these issues.

0 participants