Skip to content

Commit 811ef1f

Browse files
Update dependency prettier to v3.5.3
| datasource | package | from | to | | ---------- | -------- | ----- | ----- | | npm | prettier | 3.5.1 | 3.5.3 | ## [v3.5.3](prettier/prettier@3.5.2...b51ba9d) ## [v3.5.2](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#352) [diff](prettier/prettier@3.5.1...3.5.2) ##### Remove `module-sync` condition ([#17156](prettier/prettier#17156) by [@fisker](https://github.com/fisker)) In Prettier 3.5.0, [we added `module-sync` condition to `package.json`](https://prettier.io/blog/2025/02/09/3.5.0#use-esm-entrypoint-for-requireesm-16958-by-tats-u), so that `require("prettier")` can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove the `module-sync` condition, so `require("prettier")` will still use the CommonJS version, we'll revisit until `require(ESM)` feature is more stable.
1 parent 55caee9 commit 811ef1f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"jest": "29.7.0",
4848
"license-checker": "25.0.1",
4949
"octokit": "4.1.2",
50-
"prettier": "3.5.1",
50+
"prettier": "3.5.3",
5151
"react": "17.0.2",
5252
"react-dom": "17.0.2",
5353
"strong-mock": "~8.0.1",

pnpm-lock.yaml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)