⬆️ Update dependency prettier to v2.6.2 #7

Merged
sebclem merged 1 commits from renovate/prettier-2.x into master 2022-04-07 09:28:06 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies patch 2.6.0 -> 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)

Configuration

📅 Schedule: 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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | devDependencies | patch | [`2.6.0` -> `2.6.2`](https://renovatebot.com/diffs/npm/prettier/2.6.0/2.6.2) | --- ### Release Notes <details> <summary>prettier/prettier</summary> ### [`v2.6.2`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;262) [Compare Source](https://github.com/prettier/prettier/compare/2.6.1...2.6.2) [diff](https://github.com/prettier/prettier/compare/2.6.1...2.6.2) ##### Fix LESS/SCSS format error ([#&#8203;12536](https://github.com/prettier/prettier/pull/12536) by [@&#8203;fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```less // Input .background-gradient(@&#8203;cut) { background: linear-gradient( to right, @&#8203;white 0%, @&#8203;white (@&#8203;cut - 0.01%), @&#8203;portal-background @&#8203;cut, @&#8203;portal-background 100% ); } // Prettier 2.6.1 TypeError: Cannot read properties of undefined (reading 'endOffset') // Prettier 2.6.2 .background-gradient(@&#8203;cut) { background: linear-gradient( to right, @&#8203;white 0%, @&#8203;white (@&#8203;cut - 0.01%), @&#8203;portal-background @&#8203;cut, @&#8203;portal-background 100% ); } ``` ##### Update `meriyah` to fix several bugs ([#&#8203;12567](https://github.com/prettier/prettier/pull/12567) by [@&#8203;fisker](https://github.com/fisker), fixes in [`meriyah`](https://github.com/meriyah/meriyah/) by [@&#8203;3cp](https://github.com/3cp)) Fixes bugs when parsing following valid code: ```js foo(await bar()); ``` ```js const regex = /.*/ms; ``` ```js const element = <p>{/w/.test(s)}</p>; ``` ```js class A extends B { #privateMethod() { super.method(); } } ``` ### [`v2.6.1`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;261) [Compare Source](https://github.com/prettier/prettier/compare/2.6.0...2.6.1) [diff](https://github.com/prettier/prettier/compare/2.6.0...2.6.1) ##### Ignore `loglevel` when printing information ([#&#8203;12477](https://github.com/prettier/prettier/pull/12477) by [@&#8203;fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```bash ``` </details> --- ### Configuration 📅 **Schedule**: 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate-bot added 1 commit 2022-03-26 03:03:40 +01:00
renovate-bot changed title from ⬆️ Update dependency prettier to v2.6.1 to ⬆️ Update dependency prettier to v2.6.2 2022-04-03 03:02:58 +02:00
renovate-bot force-pushed renovate/prettier-2.x from 1c46425ea0 to 6aeb472248 2022-04-03 03:02:58 +02:00 Compare
sebclem merged commit 6aeb472248 into master 2022-04-07 09:28:06 +02:00
sebclem deleted branch renovate/prettier-2.x 2022-04-07 09:28:06 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ansible-roles/ansible-renovate-role#7
No description provided.