chore(deps): update dependency prettier to v2.5.1
Created by: renovate[bot]
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
prettier (source) | ^2.2.1 -> 2.5.1 |
Release Notes
prettier/prettier
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
v2.3.2
#11000 by @fisker)
Fix failure on dir with trailing slash ($ ls
1.js 1.unknown
v2.3.1
$ prettier . -l 1.js $ prettier ./ -l [error] No supported files were found in the directory: "./".
v2.3.0
Configuration
-
If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by WhiteSource Renovate. View repository job log here.