Update dependency prettier to ^2.1.1
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
prettier (source) | devDependencies | minor | ^2.1.1 | homepage, source |
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" />
v2.1.0
Renovate configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.