Commit 1298c30
committed
Auto merge of #4668 - rust-lang:renovate/prettier-2.x, r=Turbo87
Update dependency prettier to v2.6.2
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.6.0` -> `2.6.2`](https://renovatebot.com/diffs/npm/prettier/2.6.0/2.6.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>prettier/prettier</summary>
### [`v2.6.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​262)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2)
[diff](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2)
##### Fix LESS/SCSS format error ([#​12536](https://togithub.com/prettier/prettier/pull/12536) by [`@​fisker](https://togithub.com/fisker))`
<!-- prettier-ignore -->
```less
// 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](https://togithub.com/prettier/prettier/pull/12567) by [`@​fisker](https://togithub.com/fisker),` fixes in [`meriyah`](https://togithub.com/meriyah/meriyah/) by [`@​3cp](https://togithub.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://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​261)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1)
[diff](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1)
##### Ignore `loglevel` when printing information ([#​12477](https://togithub.com/prettier/prettier/pull/12477) by [`@​fisker](https://togithub.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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/rust-lang/crates.io).2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11929 | 11929 | | |
11930 | 11930 | | |
11931 | 11931 | | |
11932 | | - | |
11933 | | - | |
11934 | | - | |
11935 | | - | |
| 11932 | + | |
| 11933 | + | |
| 11934 | + | |
| 11935 | + | |
11936 | 11936 | | |
11937 | 11937 | | |
11938 | 11938 | | |
| |||
0 commit comments