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

chore(deps): update dependency prettier to v3.4.2 #2133

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

backstage-goalie[bot]
Copy link
Contributor

@backstage-goalie backstage-goalie bot commented Dec 4, 2024

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies minor 3.3.3 -> 3.4.2

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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 has been generated by Renovate Bot.

@backstage-goalie backstage-goalie bot added the dependencies Pull requests that update a dependency file label Dec 4, 2024
@backstage-goalie backstage-goalie bot requested a review from nickboldt December 4, 2024 23:13
@backstage-goalie
Copy link
Contributor Author

backstage-goalie bot commented Dec 4, 2024

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-analytics-module-matomo workspaces/analytics/plugins/analytics-module-matomo patch v1.9.1
@backstage-community/plugin-analytics-provider-segment workspaces/analytics/plugins/analytics-provider-segment patch v1.10.4
@backstage-community/plugin-catalog-backend-module-keycloak workspaces/keycloak/plugins/catalog-backend-module-keycloak patch v3.2.3
@backstage-community/plugin-kiali-backend workspaces/kiali/plugins/kiali-backend patch v1.19.2
@backstage-community/plugin-ocm-backend workspaces/ocm/plugins/ocm-backend patch v5.2.4
@backstage-community/plugin-ocm-common workspaces/ocm/plugins/ocm-common patch v3.6.2
@backstage-community/plugin-ocm workspaces/ocm/plugins/ocm patch v5.2.5
@backstage-community/plugin-scaffolder-backend-module-quay workspaces/quay/plugins/quay-actions patch v2.2.3
@backstage-community/plugin-quay-common workspaces/quay/plugins/quay-common patch v1.3.4
@backstage-community/plugin-quay workspaces/quay/plugins/quay patch v1.14.6
@backstage-community/plugin-rbac-backend workspaces/rbac/plugins/rbac-backend patch v5.2.7
@backstage-community/plugin-rbac-node workspaces/rbac/plugins/rbac-node patch v1.8.3
@backstage-community/plugin-rbac workspaces/rbac/plugins/rbac patch v1.33.4
@backstage-community/plugin-scaffolder-backend-module-annotator workspaces/scaffolder-backend-module-annotator/plugins/scaffolder-backend-module-annotator patch v2.2.2
@backstage-community/plugin-scaffolder-backend-module-kubernetes workspaces/scaffolder-backend-module-kubernetes/plugins/kubernetes-actions patch v2.2.2
@backstage-community/plugin-scaffolder-backend-module-regex workspaces/scaffolder-backend-module-regex/plugins/regex-actions patch v2.2.4
@backstage-community/plugin-scaffolder-backend-module-servicenow workspaces/scaffolder-backend-module-servicenow/plugins/scaffolder-backend-module-servicenow patch v2.2.4
@backstage-community/plugin-scaffolder-backend-module-sonarqube workspaces/scaffolder-backend-module-sonarqube/plugins/scaffolder-backend-module-sonarqube patch v2.2.3
@backstage-community/plugin-tekton workspaces/tekton/plugins/tekton patch v3.16.4

@backstage-goalie backstage-goalie bot requested a review from ciiay as a code owner December 6, 2024 13:29
@backstage-goalie backstage-goalie bot changed the title chore(deps): update dependency prettier to v3.4.1 chore(deps): update dependency prettier to v3.4.2 Dec 19, 2024
Signed-off-by: Renovate Bot <bot@renovateapp.com>
@awanlin awanlin merged commit 0f5c451 into main Dec 20, 2024
48 checks passed
@awanlin awanlin deleted the renovate/linters branch December 20, 2024 12:46
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant