Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

chore(deps): update dependency prettier to v2.6.2 #40

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

Conversation

cfsdevops
Copy link
Contributor

@cfsdevops cfsdevops commented Sep 12, 2021

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies minor 2.3.2 -> 2.6.2

Release Notes

prettier/prettier

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

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


Configuration

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

🚦 Automerge: Disabled due to failing status checks.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 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 Renovate Bot.

@renovate renovate bot force-pushed the renovate-custom/prettier-2.x branch from 1428c4b to ed515a0 Compare September 16, 2021 08:25
@cfsdevops cfsdevops changed the title chore(deps): update dependency prettier to v2.4.0 chore(deps): update dependency prettier to v2.4.1 Sep 16, 2021
@renovate renovate bot force-pushed the renovate-custom/prettier-2.x branch 2 times, most recently from c3a66b9 to 2fd547e Compare November 5, 2021 17:51
@renovate renovate bot force-pushed the renovate-custom/prettier-2.x branch from 2fd547e to 7abcdb2 Compare November 25, 2021 16:27
@cfsdevops cfsdevops changed the title chore(deps): update dependency prettier to v2.4.1 chore(deps): update dependency prettier to v2.5.0 Nov 25, 2021
@renovate renovate bot force-pushed the renovate-custom/prettier-2.x branch from 7abcdb2 to 3eac3c4 Compare December 4, 2021 16:39
@cfsdevops cfsdevops changed the title chore(deps): update dependency prettier to v2.5.0 chore(deps): update dependency prettier to v2.5.1 Dec 4, 2021
@renovate renovate bot force-pushed the renovate-custom/prettier-2.x branch from 3eac3c4 to f256d18 Compare March 26, 2022 14:34
@cfsdevops cfsdevops 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-custom/prettier-2.x branch from f256d18 to 9faee22 Compare April 24, 2022 17:27
@cfsdevops cfsdevops 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-custom/prettier-2.x branch from 9faee22 to 7cf7c4e Compare June 18, 2022 15:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant