Browse Source

Bump prettier from 2.8.4 to 2.8.5 (#2696)

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.4 to 2.8.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p>
<blockquote>
<h2>2.8.5</h2>
<ul>
<li>Support TypeScript 5.0</li>
</ul>
<p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#285">Changelog</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p>
<blockquote>
<h1>2.8.5</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.8.4...2.8.5">diff</a></p>
<h4>Support TypeScript 5.0 (<a href="https://redirect.github.com/prettier/prettier/pull/14391">#14391</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>, <a href="https://redirect.github.com/prettier/prettier/pull/13819">#13819</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>, <a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</h4>
<p>TypeScript 5.0 introduces two new syntactic features:</p>
<ul>
<li><code>const</code> modifiers for type parameters</li>
<li><code>export type *</code> declarations</li>
</ul>
<h4>Add missing parentheses for decorator (<a href="https://redirect.github.com/prettier/prettier/pull/14393">#14393</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="jsx"><code>// Input
class Person {
  @(myDecoratorArray[0])
  greet() {}
}
<p>// Prettier 2.8.4
class Person {
<a href="https://github.com/myDecoratorArray"><code>@​myDecoratorArray</code></a>[0]
greet() {}
}</p>
<p>// Prettier 2.8.5
class Person {
@(myDecoratorArray[0])
greet() {}
}
</code></pre></p>
<h4>Add parentheses for <code>TypeofTypeAnnotation</code> to improve readability (<a href="https://redirect.github.com/prettier/prettier/pull/14458">#14458</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="tsx"><code>// Input
type A = (typeof node.children)[];
<p>// Prettier 2.8.4
type A = typeof node.children[];</p>
<p>// Prettier 2.8.5
type A = (typeof node.children)[];
</code></pre></p>
<h4>Support <code>max_line_length=off</code> when parsing <code>.editorconfig</code> (<a href="https://redirect.github.com/prettier/prettier/pull/14516">#14516</a> by <a href="https://github.com/josephfrazier"><code>@​josephfrazier</code></a>)</h4>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0a79535916"><code>0a79535</code></a> Release 2.8.5</li>
<li><a href="019ebe5207"><code>019ebe5</code></a> Support TypeScript 5 (backport <a href="https://redirect.github.com/prettier/prettier/issues/14391">#14391</a> and <a href="https://redirect.github.com/prettier/prettier/issues/13819">#13819</a>) (<a href="https://redirect.github.com/prettier/prettier/issues/14512">#14512</a>)</li>
<li><a href="e7b383b570"><code>e7b383b</code></a> Support <code>max_line_length=off</code> when parsing <code>.editorconfig</code> (<a href="https://redirect.github.com/prettier/prettier/issues/14516">#14516</a>)</li>
<li><a href="5446a8f32a"><code>5446a8f</code></a> Build(deps-dev): Bump webpack from 5.73.0 to 5.76.0 in /website (<a href="https://redirect.github.com/prettier/prettier/issues/14511">#14511</a>)</li>
<li><a href="03f0b90cb9"><code>03f0b90</code></a> Build(deps-dev): Bump webpack from 5.70.0 to 5.76.0 in /scripts/tools/bundle-...</li>
<li><a href="0894348de8"><code>0894348</code></a> Add note about SmartTabs (<a href="https://redirect.github.com/prettier/prettier/issues/14428">#14428</a>)</li>
<li><a href="f1b18f2319"><code>f1b18f2</code></a> Add parentheses to <code>TypeofTypeAnnotation</code> (<a href="https://redirect.github.com/prettier/prettier/issues/14458">#14458</a>)</li>
<li><a href="3d706379ed"><code>3d70637</code></a> Include prettier-plugin-sql-cst to community plugins list (<a href="https://redirect.github.com/prettier/prettier/issues/14408">#14408</a>)</li>
<li><a href="bc098779c4"><code>bc09877</code></a> Add missing parentheses for decorator (<a href="https://redirect.github.com/prettier/prettier/issues/14393">#14393</a>)</li>
<li><a href="2a5b391cc0"><code>2a5b391</code></a> Explain ASI issues aren't always auto-fixed (<a href="https://redirect.github.com/prettier/prettier/issues/14174">#14174</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.8.4...2.8.5">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.8.4&new-version=2.8.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
pull/2702/head
dependabot[bot] 2 years ago
parent
commit
0354d8295f
  1. 14
      package-lock.json
  2. 2
      package.json

14
package-lock.json generated

@ -16,7 +16,7 @@
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"prettier": "^2.8.4",
"prettier": "^2.8.5",
"style-loader": "^3.3.2",
"terser-webpack-plugin": "^5.3.7",
"webpack": "^5.76.2",
@ -3285,9 +3285,9 @@
"dev": true
},
"node_modules/prettier": {
"version": "2.8.4",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz",
"integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==",
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.5.tgz",
"integrity": "sha512-3gzuxrHbKUePRBB4ZeU08VNkUcqEHaUaouNt0m7LGP4Hti/NuB07C7PPTM/LkWqXoJYJn2McEo5+kxPNrtQkLQ==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
@ -7170,9 +7170,9 @@
"dev": true
},
"prettier": {
"version": "2.8.4",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz",
"integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==",
"version": "2.8.5",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.5.tgz",
"integrity": "sha512-3gzuxrHbKUePRBB4ZeU08VNkUcqEHaUaouNt0m7LGP4Hti/NuB07C7PPTM/LkWqXoJYJn2McEo5+kxPNrtQkLQ==",
"dev": true
},
"pretty-error": {

2
package.json

@ -13,7 +13,7 @@
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"prettier": "^2.8.4",
"prettier": "^2.8.5",
"style-loader": "^3.3.2",
"terser-webpack-plugin": "^5.3.7",
"webpack": "^5.76.2",

Loading…
Cancel
Save