Update dependency prettier to ^2.1.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
prettier (source) | devDependencies | patch | ^2.1.0 -> ^2.1.1 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
prettier/prettier
v2.1.1
#9043 by @fisker)
Fix format on html with frontMatter (<!-- Input -->
---
layout: foo
---
Test <a
href="https://prettier.io">abc</a>.
<!-- Prettier stable -->
TypeError: Cannot read property 'end' of undefined
...
<!-- Prettier master -->
---
layout: foo
---
Test <a href="https://prettier.io">abc</a>.
...infer T
(#9044 by @fisker)
Fix broken format for // Input
type Tail<T extends any[]> = T extends [infer U, ...infer R] ? R : never;
// Prettier stable
type Tail<T extends any[]> = T extends [infer U, ...(infer R)] ? R : never;
// Prettier master
type Tail<T extends any[]> = T extends [infer U, ...infer R] ? R : never;
style[lang="sass"]
(#9051 by @fisker)
Fix format on <!-- Input -->
<style lang="sass">
.hero
@​include background-centered
</style>
<!-- Prettier stable -->
<style lang="sass">
.hero @​include background-centered;
</style>
<!-- Prettier master -->
<style lang="sass">
.hero
@​include background-centered
</style>
src
attribute format (#9052, #9055 by @fisker)
Fix self-closing blocks and blocks with <!-- Input -->
<custom lang="markdown" src="./foo.md"></custom>
<custom lang="markdown" src="./foo.md" />
<custom lang="markdown" />
<!-- Prettier stable -->
<custom lang="markdown" src="./foo.md">
</custom>
<custom lang="markdown" src="./foo.md"
/>
<custom lang="markdown"
/>
<!-- Prettier master -->
<custom lang="markdown" src="./foo.md"></custom>
<custom lang="markdown" src="./foo.md" />
<custom lang="markdown" />
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.