[PR #664] [CLOSED] build(deps-dev): bump prettier from 2.7.1 to 3.0.3 #662

Closed
opened 2026-03-29 18:16:28 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/joelwmale/webhook-action/pull/664
Author: @dependabot[bot]
Created: 9/4/2023
Status: Closed

Base: developHead: dependabot/npm_and_yarn/prettier-3.0.3


📝 Commits (1)

  • 0999c8a build(deps-dev): bump prettier from 2.7.1 to 3.0.3

📊 Changes

2 files changed (+7 additions, -2 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+6 -1)

📄 Description

Bumps prettier from 2.7.1 to 3.0.3.

Release notes

Sourced from prettier's releases.

3.0.3

🔗 Changelog

3.0.2

🔗 Changelog

3.0.1

🔗 Changelog

3.0.0

diff

🔗 Release note

3.0.0-alpha.6

What's Changed

Other changes since v2, see 3.0.0-alpha.1 release notes

Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6

3.0.0-alpha.5

What's Changed

Other changes since v2, see 3.0.0-alpha.1 release notes

Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5

3.0.0-alpha.4

What's Changed

Other changes since v2, see 3.0.0-alpha.1 release notes

Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4

3.0.0-alpha.3

  • Fix exports field in package.json file

Other changes since v2, see 3.0.0-alpha.1 release notes

Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.2...3.0.0-alpha.3

3.0.0-alpha.2

  • Fix bundled index.cjs file

... (truncated)

Changelog

Sourced from prettier's changelog.

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)

<!-- Input -->
```ts
const foo = <T>() => {}
```
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note


Automatic rebases have been disabled on this pull request as it has been open for over 30 days.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/joelwmale/webhook-action/pull/664 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/4/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `dependabot/npm_and_yarn/prettier-3.0.3` --- ### 📝 Commits (1) - [`0999c8a`](https://github.com/joelwmale/webhook-action/commit/0999c8a3bb9aed48330ce5e2048764dd8502a177) build(deps-dev): bump prettier from 2.7.1 to 3.0.3 ### 📊 Changes **2 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+6 -1) </details> ### 📄 Description Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 3.0.3. <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.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> <h2>3.0.0</h2> <p><a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2023/07/05/3.0.0.html">Release note</a></p> <h2>3.0.0-alpha.6</h2> <h2>What's Changed</h2> <ul> <li>Update <code>.d.ts</code> files of plugins to use <code>export default ...</code> by <a href="https://github.com/fisker"><code>@​fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/14435">prettier/prettier#14435</a></li> </ul> <p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6">https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6</a></p> <h2>3.0.0-alpha.5</h2> <h2>What's Changed</h2> <ul> <li>Add <code>.d.ts</code> files by <a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/14212">prettier/prettier#14212</a></li> <li>Support TypeScript 5 via <code>babel-ts</code> parser by <a href="https://github.com/fisker"><code>@​fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/14391">prettier/prettier#14391</a></li> </ul> <p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5">https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5</a></p> <h2>3.0.0-alpha.4</h2> <h2>What's Changed</h2> <ul> <li>Remove support for Flow comment types by <a href="https://github.com/thorn0"><code>@​thorn0</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/13687">prettier/prettier#13687</a></li> <li>Make <code>resolveParser</code> work like v2 by <a href="https://github.com/fisker"><code>@​fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/13732">prettier/prettier#13732</a></li> <li>Add <code>__debug</code> apis to cjs version by <a href="https://github.com/fisker"><code>@​fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/13731">prettier/prettier#13731</a></li> </ul> <p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4">https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4</a></p> <h2>3.0.0-alpha.3</h2> <ul> <li>Fix <code>exports</code> field in <code>package.json</code> file</li> </ul> <p>Other changes since v2, see <a href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code> release notes</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/prettier/prettier/compare/3.0.0-alpha.2...3.0.0-alpha.3">https://github.com/prettier/prettier/compare/3.0.0-alpha.2...3.0.0-alpha.3</a></p> <h2>3.0.0-alpha.2</h2> <ul> <li>Fix bundled <code>index.cjs</code> file</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.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 --> <pre lang="md"><code>&lt;!-- Input --&gt; ```ts const foo = &lt;T&gt;() =&gt; {} ``` &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/d5f31710b2fc25f3f472e86f9ee00a561a17ffa2"><code>d5f3171</code></a> Release 3.0.3</li> <li><a href="https://github.com/prettier/prettier/commit/a35008fb0a010f92c1002ee074c6a7f3c0d8da41"><code>a35008f</code></a> Support shared config that forbids <code>require()</code> (<a href="https://redirect.github.com/prettier/prettier/issues/15233">#15233</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/1ce97d13a3008bf6be1c17a374d2a80138a83fe1"><code>1ce97d1</code></a> Support TypeScript 5.2 <code>using</code> / <code>await using</code> declaration (<a href="https://redirect.github.com/prettier/prettier/issues/15321">#15321</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/a73cfa0ec43d575d35dbf7779dcec3694d57b3e9"><code>a73cfa0</code></a> Fix build script <code>--report</code> option (<a href="https://redirect.github.com/prettier/prettier/issues/15323">#15323</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/941c6b3a3cda41e6940b1682437f12065c635dab"><code>941c6b3</code></a> Minor refactor to <code>getSupportedFilesGlob</code> (<a href="https://redirect.github.com/prettier/prettier/issues/15319">#15319</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/f6c9e9b0b8e5affce678dd8286be301b298a47f4"><code>f6c9e9b</code></a> Assert uniqueness in language properties (<a href="https://redirect.github.com/prettier/prettier/issues/15320">#15320</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/288ea7e911f83d79453034681f951d307520e1e5"><code>288ea7e</code></a> chore(deps): update dependency webpack to v5.88.2 (<a href="https://redirect.github.com/prettier/prettier/issues/15147">#15147</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/6654451d9eced219f10fe8f763e9bd8c4e98a7b6"><code>6654451</code></a> chore(deps): update dependency webpack to v5.88.2 (<a href="https://redirect.github.com/prettier/prettier/issues/15148">#15148</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/d05964460d9681ea16f479f449b7ce042663ead9"><code>d059644</code></a> chore(deps): update dependency fast-glob to v3.3.1 (<a href="https://redirect.github.com/prettier/prettier/issues/15001">#15001</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/423011dcab464aaab18d233bbee34c37eb56bfd6"><code>423011d</code></a> Minor refactor to <code>expandPatterns</code> (<a href="https://redirect.github.com/prettier/prettier/issues/15317">#15317</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.7.1...3.0.3">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.7.1&new-version=3.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-29 18:16:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/webhook-action#662