dependabot-npm_and_yarn-prettier-2.5.1
master
Bumps prettier from 2.5.0 to 2.5.1.
Sourced from prettier's releases.
2.5.1 🔗 Changelog
🔗 Changelog
Sourced from prettier's changelog.
2.5.1 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 Prettier@v2.5.0 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 </tr></table>
diff
@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;
// 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;
@fisker
A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test.
@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 </tr></table>
... (truncated)
56ed71d
29f408c
e7a7452
options
99649c7
c0250b3
7fc196e
04aa850
255d389
854ca32
846dbdd
$dependabot rebase
$dependabot recreate
mentioned in commit 38db264330
38db264330
No dependencies set.
The note is not visible to the blocked user.
Bumps prettier from 2.5.0 to 2.5.1.
Release notes
Sourced from prettier's releases.
Changelog
Sourced from prettier's changelog.
... (truncated)
Commits
56ed71dRelease 2.5.129f408cAdd changelog for #11892 (#11904)e7a7452Makeoptionsargument in parsers optional (#11892)99649c7[handlebars] Named blocks can't be self closing (#11900)c0250b3Improve formatting for empty tuple types (#11884)7fc196eClean changelog_unreleased04aa850Add 2.5 blog (#11823)255d389Update dependents count854ca32Git blame ignore 2.5.0846dbddBump Prettier dependency to 2.5.0Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsmentioned in commit
38db264330