Skip to content

Commit

Permalink
Update dependency prettier to v3.5.2
Browse files Browse the repository at this point in the history
| datasource | package  | from  | to    |
| ---------- | -------- | ----- | ----- |
| npm        | prettier | 3.5.1 | 3.5.2 |


## [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.
  • Loading branch information
renovate[bot] authored Feb 23, 2025
1 parent da942b2 commit 819c476
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"jest": "29.7.0",
"license-checker": "25.0.1",
"octokit": "4.1.0",
"prettier": "3.5.1",
"prettier": "3.5.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"strong-mock": "~8.0.1",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 819c476

Please sign in to comment.