chore(deps): update dependency prettier to v2.6.2
This MR 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
#12536 by @fisker)
Fix LESS/SCSS format error (// 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%
);
}
meriyah
to fix several bugs (#12567 by @fisker, fixes in meriyah
by @3cp)
Update 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
loglevel
when printing information (#12477 by @fisker)
Ignore
v2.6.0
prettier --loglevel silent --find-config-path index.js
v2.5.1
#11884 by @sosukesuzuki)
Improve formatting for empty tuple types (// 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;
#11892 by @fisker)
Fix compatibility with Jest inline snapshot test (A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test.
#11899 by @duailibe)
Support Glimmer's named blocks (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
v2.4.1
@forward
(#11482) (#11487 by @niksy)
Fix wildcard syntax in // Input
@​forward "library" as btn-*;
// Prettier 2.4.0
@​forward "library" as btn- *;
// Prettier 2.4.1
@​forward "library" as btn-*;
debug-print-ast
(#11514 by @sosukesuzuki)
Add new CLI option A new --debug-print-ast
CLI flag for debugging.
v2.4.0
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.