
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| prettier (source) | 2.4.0
-> 2.6.2
|
|
|
|
|
Release Notes
prettier/prettier
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();
}
}
Compare Source
diff
Ignore loglevel
when printing information (#12477 by @fisker)
Compare Source
prettier --loglevel silent --find-config-path index.js
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 Pr[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>
Compare Source
diff
🔗 Release Notes
Compare Source
diff
// Input
@​forward "library" as btn-*;
// Prettier 2.4.0
@​forward "library" as btn- *;
// Prettier 2.4.1
@​forward "library" as btn-*;
A new --debug-print-ast
CLI flag for debugging.
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 WhiteSource Renovate. View repository job log here.