Commit 811ef1f
authored
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
2 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments