Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump prettier from 3.0.2 to 3.0.3 #480

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 30, 2023

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps prettier from 3.0.2 to 3.0.3.

Release notes

Sourced from prettier's releases.

3.0.3

🔗 Changelog

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

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.2 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner August 30, 2023 02:52
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 30, 2023
@github-actions
Copy link

Bundle Stats — With chunk and module information

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
2 1.98 MB 0%
Changeset
File Δ Size
src/client/this/file/has/a/long/name/so-that-it-will-hopefully-wrap.tsx 🆕 +2.72 kB 0 B → 2.72 kB
src/client/this-file-was-added.ts 🆕 +1.46 kB 0 B → 1.46 kB
src/client/this-is-another-file-with-a-long-name-to-test-the-table-sizing.tsx 🆕 +1.04 kB 0 B → 1.04 kB
src/client/helpers/this-file-is-much-larger.ts 📈 +11.66 kB (+865.77%) 1.35 kB → 13.01 kB
src/client/this-file-grew-larger.tsx 📈 +200 B (+35.59%) 562 B → 762 B
src/client/helpers/this-file-grew-smaller.ts 📉 -200 B (-7.94%) 2.46 kB → 2.26 kB
src/client/this-file-is-much-smaller.tsx 📉 -11.66 kB (-99.92%) 11.67 kB → 10 B
src/client/routes.tsx 🔥 -2.72 kB (-100%) 2.72 kB → 0 B
src/client/this-file-will-be-deleted.ts 🔥 -1.46 kB (-100%) 1.46 kB → 0 B
src/client/render-memex.tsx 🔥 -1.04 kB (-100%) 1.04 kB → 0 B
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
app.bundle.js 1.98 MB 0%
manifest.json 91 B 0%

@github-actions
Copy link

Bundle Stats

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
7 → 2 1.34 MB → 1.29 MB (-53.65 kB)
386.44 kB → N/A (gzip)
-3.91%
View detailed bundle breakdown

Added

No assets were added

Removed

Asset File Size % Changed
296.chunk.js 124.57 kB → 0 B (-124.57 kB)
35.05 kB → 0 B (gzip)
-100%
288.chunk.js 57.24 kB → 0 B (-57.24 kB)
16.33 kB → 0 B (gzip)
-100%
920.chunk.js 54.98 kB → 0 B (-54.98 kB)
17.08 kB → 0 B (gzip)
-100%
912.chunk.js 44.37 kB → 0 B (-44.37 kB)
14.31 kB → 0 B (gzip)
-100%
699.chunk.js 26.39 kB → 0 B (-26.39 kB)
6.14 kB → 0 B (gzip)
-100%

Bigger

Asset File Size % Changed
app.bundle.js 1.04 MB → 1.29 MB (+254.35 kB)
297.38 kB → N/A (gzip)
+23.91%

Smaller

Asset File Size % Changed
manifest.json 551 B → 91 B (-460 B)
151 B → N/A (gzip)
-83.48%

Unchanged

No assets were unchanged

@github-actions
Copy link

Bundle Stats — Flipped around

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
2 → 7 1.29 MB → 1.34 MB (+53.65 kB)
N/A → 386.44 kB (gzip)
+4.07%
View detailed bundle breakdown

Added

Asset File Size % Changed
296.chunk.js 0 B → 124.57 kB (+124.57 kB)
0 B → 35.05 kB (gzip)
-
288.chunk.js 0 B → 57.24 kB (+57.24 kB)
0 B → 16.33 kB (gzip)
-
920.chunk.js 0 B → 54.98 kB (+54.98 kB)
0 B → 17.08 kB (gzip)
-
912.chunk.js 0 B → 44.37 kB (+44.37 kB)
0 B → 14.31 kB (gzip)
-
699.chunk.js 0 B → 26.39 kB (+26.39 kB)
0 B → 6.14 kB (gzip)
-

Removed

No assets were removed

Bigger

Asset File Size % Changed
manifest.json 91 B → 551 B (+460 B)
N/A → 151 B (gzip)
+505.49%

Smaller

Asset File Size % Changed
app.bundle.js 1.29 MB → 1.04 MB (-254.35 kB)
N/A → 297.38 kB (gzip)
-19.29%

Unchanged

No assets were unchanged

@github-actions
Copy link

Bundle Stats — Non existent

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
0 0 B 0%
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

No assets were unchanged

@github-actions
Copy link

Bundle Stats — No changes

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
7 1.34 MB
386.44 kB
0%
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
app.bundle.js 1.04 MB
297.38 kB
0%
296.chunk.js 124.57 kB
35.05 kB
0%
288.chunk.js 57.24 kB
16.33 kB
0%
920.chunk.js 54.98 kB
17.08 kB
0%
912.chunk.js 44.37 kB
14.31 kB
0%
699.chunk.js 26.39 kB
6.14 kB
0%
manifest.json 551 B
151 B
0%

@joshrowley joshrowley added this pull request to the merge queue Sep 11, 2023
Merged via the queue into main with commit 4bb9e82 Sep 11, 2023
3 checks passed
@joshrowley joshrowley deleted the dependabot/npm_and_yarn/prettier-3.0.3 branch September 11, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant