Browse Source

Bump prettier from 2.6.1 to 2.6.2 (#2005)

Bumps [prettier](https://github.com/prettier/prettier) from 2.6.1 to 2.6.2.
<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.6.2</h2>
<p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#262">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.6.2</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.6.1...2.6.2">diff</a></p>
<h4>Fix LESS/SCSS format error (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/12536">#12536</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="less"><code>// Input
.background-gradient(@cut) {
    background: linear-gradient(
        to right,
        @white 0%,
        @white (@cut - 0.01%),
        @portal-background @cut,
        @portal-background 100%
    );
}
<p>// Prettier 2.6.1
TypeError: Cannot read properties of undefined (reading 'endOffset')</p>
<p>// Prettier 2.6.2
.background-gradient(<a href="https://github.com/cut"><code>@​cut</code></a>) {
background: linear-gradient(
to right,
<a href="https://github.com/white"><code>@​white</code></a> 0%,
<a href="https://github.com/white"><code>@​white</code></a> (<a href="https://github.com/cut"><code>@​cut</code></a> - 0.01%),
<a href="https://github.com/portal-background"><code>@​portal-background</code></a> <a href="https://github.com/cut"><code>@​cut</code></a>,
<a href="https://github.com/portal-background"><code>@​portal-background</code></a> 100%
);
}
</code></pre></p>
<h4>Update <code>meriyah</code> to fix several bugs (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/12567">#12567</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>, fixes in <a href="https://github.com/meriyah/meriyah/"><code>meriyah</code></a> by <a href="https://github.com/3cp"><code>@​3cp</code></a>)</h4>
<p>Fixes bugs when parsing following valid code:</p>
<pre lang="js"><code>foo(await bar());
</code></pre>
<pre lang="js"><code>const regex = /.*/ms;
</code></pre>
<pre lang="js"><code>const element = &lt;p&gt;{/w/.test(s)}&lt;/p&gt;;
</code></pre>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d6f82a024a"><code>d6f82a0</code></a> Release 2.6.2</li>
<li><a href="2bca9d65f4"><code>2bca9d6</code></a> Add new workflow to prevent updating <code>users.yml</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11784">#11784</a>)</li>
<li><a href="378370a01e"><code>378370a</code></a> Build(deps): Bump leven from 3.1.0 to 4.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11349">#11349</a>)</li>
<li><a href="3c96a08176"><code>3c96a08</code></a> Build(deps): Bump strip-ansi from 6.0.0 to 7.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10731">#10731</a>)</li>
<li><a href="1bfb08f289"><code>1bfb08f</code></a> Build(deps): Bump meriyah from 4.2.0 to 4.2.1 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12567">#12567</a>)</li>
<li><a href="9400c893a3"><code>9400c89</code></a> Refactor: Add a wrapped <code>normalizeCliOptions</code> version for CLI usage (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12573">#12573</a>)</li>
<li><a href="5e3de4828d"><code>5e3de48</code></a> Build(deps): Bump escape-string-regexp from 4.0.0 to 5.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10725">#10725</a>)</li>
<li><a href="5d73acc42d"><code>5d73acc</code></a> Build(deps-dev): Bump esbuild from 0.14.29 to 0.14.30 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12581">#12581</a>)</li>
<li><a href="e2eac0cb8a"><code>e2eac0c</code></a> Move some bundle test code into <code>tests/</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12577">#12577</a>)</li>
<li><a href="7d33ed5452"><code>7d33ed5</code></a> Build(deps-dev): Bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/12580">#12580</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.6.1...2.6.2">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.6.1&new-version=2.6.2)](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/2008/head
dependabot[bot] 3 years ago
parent
commit
e72c7c1bf9
  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.6.1",
"prettier": "^2.6.2",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.71.0",
@ -3404,9 +3404,9 @@
"dev": true
},
"node_modules/prettier": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.1.tgz",
"integrity": "sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==",
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
"integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
@ -7462,9 +7462,9 @@
"dev": true
},
"prettier": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.1.tgz",
"integrity": "sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==",
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
"integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==",
"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.6.1",
"prettier": "^2.6.2",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.71.0",

Loading…
Cancel
Save