prettier/prettier (prettier)
###
[`v3.4.2`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#342)
[Compare
Source](https://redirect.github.com/prettier/prettier/compare/3.4.1...3.4.2)
[diff](https://redirect.github.com/prettier/prettier/compare/3.4.1...3.4.2)
##### Treat U+30A0 & U+30FB in Katakana Block as CJK
([#16796](https://redirect.github.com/prettier/prettier/pull/16796)
by [@tats-u](https://redirect.github.com/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.
```md
C言
語
・
C++
・
Go
・
Rust
C言語・ C++ ・ Go ・ Rust
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](https://redirect.github.com/prettier/prettier/pull/16891)
by [@fisker](https://redirect.github.com/fisker))
```jsx
// Input
class A {
@decorator
/**
* The method description
*
*/
async method(foo: Foo, bar: Bar) {
console.log(foo);
}
}
// Prettier 3.4.1
class A {
@decorator
async /**
* The method description
*
*/
method(foo: Foo, bar: Bar) {
console.log(foo);
}
}
// Prettier 3.4.2
class A {
@decorator
/**
* The method description
*
*/
async method(foo: Foo, bar: Bar) {
console.log(foo);
}
}
```
##### Fix non-idempotent formatting
([#16899](https://redirect.github.com/prettier/prettier/pull/16899)
by [@seiyab](https://redirect.github.com/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.
```jsx
// Input
foo
longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
, abc
;
// Prettier 3.4.1 (first)
foo
longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
, abc
;
// Prettier 3.4.1 (second)
foo
longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
, abc
;
// Prettier 3.4.2
foo
longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
, abc
;
```
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/apollographql/apollo-server).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package-lock.json | 28 ++++++++++++++--------------
package.json | 6 +++---
2 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index c4203c1f0c5..00be2e96649 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
"packages/*"
],
"devDependencies": {
- "@apollo/client": "3.11.10",
+ "@apollo/client": "3.12.0",
"@apollo/gateway": "2.9.3",
"@apollo/subgraph": "2.9.3",
"@apollo/utils.createhash": "2.0.1",
@@ -63,7 +63,7 @@
"lodash.sumby": "4.6.0",
"nock": "13.5.6",
"node-fetch": "2.7.0",
- "prettier": "3.4.1",
+ "prettier": "3.4.2",
"qs-middleware": "1.0.3",
"requisition": "1.7.0",
"rollup": "3.29.5",
@@ -101,9 +101,9 @@
"link": true
},
"node_modules/@apollo/client": {
- "version": "3.11.10",
- "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.11.10.tgz",
- "integrity": "sha512-IfGc+X4il0rDqVQBBWdxIKM+ciDCiDzBq9+Bg9z4tJMi87uF6po4v+ddiac1wP0ARgVPsFwEIGxK7jhN4pW8jg==",
+ "version": "3.12.0",
+ "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.12.0.tgz",
+ "integrity": "sha512-azaTC5Z46vgVrW56Nh/OaRsPwTDAMz+JTNiJhdxqfUd7DMqaNQitq0njECgDvXidtF6ERQ1ZMj10LpdCwI9j7g==",
"license": "MIT",
"dependencies": {
"@graphql-typed-document-node/core": "^3.1.1",
@@ -11840,9 +11840,9 @@
}
},
"node_modules/prettier": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz",
- "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz",
+ "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==",
"dev": true,
"license": "MIT",
"bin": {
@@ -14402,9 +14402,9 @@
"requires": {}
},
"@apollo/client": {
- "version": "3.11.10",
- "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.11.10.tgz",
- "integrity": "sha512-IfGc+X4il0rDqVQBBWdxIKM+ciDCiDzBq9+Bg9z4tJMi87uF6po4v+ddiac1wP0ARgVPsFwEIGxK7jhN4pW8jg==",
+ "version": "3.12.0",
+ "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.12.0.tgz",
+ "integrity": "sha512-azaTC5Z46vgVrW56Nh/OaRsPwTDAMz+JTNiJhdxqfUd7DMqaNQitq0njECgDvXidtF6ERQ1ZMj10LpdCwI9j7g==",
"requires": {
"@graphql-typed-document-node/core": "^3.1.1",
"@wry/caches": "^1.0.0",
@@ -23196,9 +23196,9 @@
"dev": true
},
"prettier": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz",
- "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz",
+ "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==",
"dev": true
},
"pretty-format": {
diff --git a/package.json b/package.json
index d3302bafade..02739270bd7 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
"npm": ">=8.5.0"
},
"devDependencies": {
- "@apollo/client": "3.11.10",
+ "@apollo/client": "3.12.0",
"@apollo/gateway": "2.9.3",
"@apollo/subgraph": "2.9.3",
"@apollo/utils.createhash": "2.0.1",
@@ -91,7 +91,7 @@
"lodash.sumby": "4.6.0",
"nock": "13.5.6",
"node-fetch": "2.7.0",
- "prettier": "3.4.1",
+ "prettier": "3.4.2",
"qs-middleware": "1.0.3",
"requisition": "1.7.0",
"rollup": "3.29.5",
@@ -106,7 +106,7 @@
]
},
"volta": {
- "node": "22.11.0",
+ "node": "22.12.0",
"npm": "9.9.3"
}
}