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

⬆️ upgrade prettier to v3.4.2 #781

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 30, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) 3.3.3 -> 3.4.2 age adoption passing confidence

Release Notes

prettier/prettier (prettier)

v3.4.2

Compare Source

diff

Treat U+30A0 & U+30FB in Katakana Block as CJK (#​16796 by @​tats-u)

Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.

<!-- Input (--prose-wrap=never) -->

C言
語
・
C++
・
Go
・
Rust

<!-- Prettier 3.4.1 -->
C言語・ C++ ・ Go ・ Rust

<!-- Prettier 3.4.2 -->
C言語・C++・Go・Rust

U+30A0 can be used as the replacement of the - in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).

Fix comments print on class methods with decorators (#​16891 by @​fisker)
// Input
class A {
  @&#8203;decorator
  /** 
   * The method description
   *
  */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.1
class A {
  @&#8203;decorator
  async /**
   * The method description
   *
   */
  method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.2
class A {
  @&#8203;decorator
  /**
   * The method description
   *
   */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}
Fix non-idempotent formatting (#​16899 by @​seiyab)

This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.

// Input
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

// Prettier 3.4.1 (first)
<div>
  foo
  <span>
    longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
  </span>, abc
</div>;

// Prettier 3.4.1 (second)
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

// Prettier 3.4.2
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

v3.4.1

Compare Source

diff

Remove unnecessary parentheses around assignment in v-on (#​16887 by @​fisker)
<!-- Input -->
<template>
  <button @&#8203;click="foo += 2">Click</button>
</template>

<!-- Prettier 3.4.0 -->
<template>
  <button @&#8203;click="(foo += 2)">Click</button>
</template>

<!-- Prettier 3.4.1 -->
<template>
  <button @&#8203;click="foo += 2">Click</button>
</template>

v3.4.0

Compare Source

diff

🔗 Release Notes


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Nov 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kitchn-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2025 5:55pm
kitchn-workshop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2025 5:55pm

Copy link

changeset-bot bot commented Nov 30, 2024

⚠️ No Changeset found

Latest commit: bbb2034

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 7ede359 to b48b5ca Compare December 1, 2024 00:18
@renovate renovate bot changed the title ⬆️ upgrade prettier to v3.4.1 ⬆️ upgrade prettier to v3.4.2 Dec 4, 2024
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from b48b5ca to 8fd0014 Compare December 11, 2024 22:36
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 8fd0014 to 44177a9 Compare December 13, 2024 20:53
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 44177a9 to dfe88f8 Compare January 11, 2025 02:35
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from dfe88f8 to b9ac432 Compare January 11, 2025 06:37
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from b9ac432 to 5b15328 Compare January 11, 2025 23:45
Copy link

vercel bot commented Jan 11, 2025

Deployment failed with the following error:

Resource is limited - try again in 3 hours (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 04b4369 to 3ff3a9d Compare January 16, 2025 14:20
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from 399d7e9 to d143fea Compare January 17, 2025 15:50
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from d143fea to 099282a Compare January 23, 2025 17:09
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 099282a to 5f0a00e Compare January 24, 2025 00:46
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 5f0a00e to 6af2ac3 Compare January 27, 2025 17:05
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from 69d735e to dae1741 Compare January 28, 2025 10:18
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from f137fc8 to 29a20b7 Compare January 29, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants