Bump prettier from 3.0.0 to 3.1.0 #92

Closed
dependabot[bot] wants to merge 1 commits from dependabot/npm_and_yarn/prettier-3.1.0 into main
dependabot[bot] commented 2023-11-13 08:59:06 -08:00 (Migrated from github.com)

Bumps prettier from 3.0.0 to 3.1.0.

Release notes

Sourced from prettier's releases.

3.1.0

diff

🔗 Release note

3.0.3

🔗 Changelog

3.0.2

🔗 Changelog

3.0.1

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.1.0

diff

🔗 Release Notes

3.0.3

diff

Add preferUnplugged: true to package.json (#15169 by @​fisker and @​so1ve)

Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add preferUnplugged: true to package.json, so Yarn will install Prettier as unplug by default.

Support shared config that forbids require() (#15233 by @​fisker)

If an external shared config package is used, and the package exports don't have require or default export.

In Prettier 3.0.2 Prettier fails when attempt to require() the package, and throws an error.

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in <packageName>/package.json

Allow argument of require() to break (#15256 by @​fisker)

// Input
const plugin = require(
  global.STANDALONE
    ? path.join(__dirname, "../standalone.js")
    : path.join(__dirname, "..")
);

// Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, ".."));

// Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") );

Do not print trailing commas in arrow function type parameter lists in ts code blocks (#15286 by @​sosukesuzuki)

... (truncated)

Commits
  • e8ac9f8 Release 3.1.0
  • 6a1d409 chore(deps): update dependency eslint-plugin-regexp to v2 (#15521)
  • f4d93d3 chore(deps): update dependency esbuild to v0.19.5 (#15630)
  • 4fc71a5 chore(deps): update dependency flow-parser to v0.221.0 (#15637)
  • d452f45 chore(deps): update dependency eslint-plugin-jest to v27.6.0 (#15635)
  • eb84a60 chore(deps): update dependency @​types/estree to v1.0.5 (#15625)
  • 2af23ee chore(deps): update dependency webpack to v5.89.0 (#15640)
  • 8f27c73 chore(deps): update dependency eslint-plugin-unicorn to v49 (#15642)
  • cdc5f5a chore(deps): update dependency webpack to v5.89.0 (#15639)
  • 14607ef chore(deps): update dependency eslint-plugin-n to v16.3.1 (#15636)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.0 to 3.1.0. <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>3.1.0</h2> <p><a href="https://github.com/prettier/prettier/compare/3.0.3...3.1.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2023/11/13/3.1.0.html">Release note</a></p> <h2>3.0.3</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#303">Changelog</a></p> <h2>3.0.2</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#302">Changelog</a></p> <h2>3.0.1</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#301">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>3.1.0</h1> <p><a href="https://github.com/prettier/prettier/compare/3.0.3...3.1.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2023/11/13/3.1.0.html">Release Notes</a></p> <h1>3.0.3</h1> <p><a href="https://github.com/prettier/prettier/compare/3.0.2...3.0.3">diff</a></p> <h4>Add <code>preferUnplugged: true</code> to <code>package.json</code> (<a href="https://redirect.github.com/prettier/prettier/pull/15169">#15169</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a> and <a href="https://github.com/so1ve"><code>@​so1ve</code></a>)</h4> <p>Prettier v3 uses dynamic imports, user <a href="https://redirect.github.com/yarnpkg/berry/pull/5411#issuecomment-1523502224">will need to unplug Prettier</a> when Yarn's PnP mode is enabled, add <a href="https://yarnpkg.com/configuration/manifest#preferUnplugged"><code>preferUnplugged: true</code></a> to <code>package.json</code>, so Yarn will install Prettier as unplug by default.</p> <h4>Support shared config that forbids <code>require()</code> (<a href="https://redirect.github.com/prettier/prettier/pull/15233">#15233</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4> <p>If an external shared config package is used, and the package <code>exports</code> don't have <code>require</code> or <code>default</code> export.</p> <p>In Prettier 3.0.2 Prettier fails when attempt to <code>require()</code> the package, and throws an error.</p> <pre lang="text"><code>Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No &quot;exports&quot; main defined in &lt;packageName&gt;/package.json </code></pre> <h4>Allow argument of <code>require()</code> to break (<a href="https://redirect.github.com/prettier/prettier/pull/15256">#15256</a> by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="jsx"><code>// Input const plugin = require( global.STANDALONE ? path.join(__dirname, &quot;../standalone.js&quot;) : path.join(__dirname, &quot;..&quot;) ); <p>// Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, &quot;../standalone.js&quot;) : path.join(__dirname, &quot;..&quot;));</p> <p>// Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, &quot;../standalone.js&quot;) : path.join(__dirname, &quot;..&quot;) ); </code></pre></p> <h4>Do not print trailing commas in arrow function type parameter lists in <code>ts</code> code blocks (<a href="https://redirect.github.com/prettier/prettier/pull/15286">#15286</a> by <a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/e8ac9f8d2a1c7083ac4f8a9b960521b62d60c94f"><code>e8ac9f8</code></a> Release 3.1.0</li> <li><a href="https://github.com/prettier/prettier/commit/6a1d4096b9fdc60c93fbcbc90465293906fcd2d0"><code>6a1d409</code></a> chore(deps): update dependency eslint-plugin-regexp to v2 (<a href="https://redirect.github.com/prettier/prettier/issues/15521">#15521</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/f4d93d3d226c67e3b01dbea39ee92d869786953d"><code>f4d93d3</code></a> chore(deps): update dependency esbuild to v0.19.5 (<a href="https://redirect.github.com/prettier/prettier/issues/15630">#15630</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/4fc71a5ce895e8a022970cf4072432a60efb5a10"><code>4fc71a5</code></a> chore(deps): update dependency flow-parser to v0.221.0 (<a href="https://redirect.github.com/prettier/prettier/issues/15637">#15637</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/d452f45c19a8b19087868509fa426f6bd562dfdc"><code>d452f45</code></a> chore(deps): update dependency eslint-plugin-jest to v27.6.0 (<a href="https://redirect.github.com/prettier/prettier/issues/15635">#15635</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/eb84a60ef8f2c5a8ccf909d34560c3ba7beaf5c9"><code>eb84a60</code></a> chore(deps): update dependency <code>@​types/estree</code> to v1.0.5 (<a href="https://redirect.github.com/prettier/prettier/issues/15625">#15625</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/2af23eefd07a75dc15782b00435f8caadc00c3ad"><code>2af23ee</code></a> chore(deps): update dependency webpack to v5.89.0 (<a href="https://redirect.github.com/prettier/prettier/issues/15640">#15640</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/8f27c736b3bfbb44583f33f43fb99425cae69783"><code>8f27c73</code></a> chore(deps): update dependency eslint-plugin-unicorn to v49 (<a href="https://redirect.github.com/prettier/prettier/issues/15642">#15642</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/cdc5f5a60b8667284779b963d770861af9c7ee63"><code>cdc5f5a</code></a> chore(deps): update dependency webpack to v5.89.0 (<a href="https://redirect.github.com/prettier/prettier/issues/15639">#15639</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/14607efc39f91adbe6914cb80844643c6dfa3033"><code>14607ef</code></a> chore(deps): update dependency eslint-plugin-n to v16.3.1 (<a href="https://redirect.github.com/prettier/prettier/issues/15636">#15636</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/3.0.0...3.1.0">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=3.0.0&new-version=3.1.0)](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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>
dependabot[bot] commented 2023-12-11 08:34:44 -08:00 (Migrated from github.com)

Superseded by #97.

Superseded by #97.

Pull request closed

Sign in to join this conversation.
No description provided.