prettier 3.7.1 → 3.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.mjs +4071 -4074
- package/internal/experimental-cli.mjs +1 -1
- package/internal/legacy-cli.mjs +1 -1
- package/package.json +1 -1
- package/plugins/estree.js +23 -23
- package/plugins/estree.mjs +23 -23
- package/plugins/html.js +1 -1
- package/plugins/html.mjs +1 -1
- package/plugins/markdown.js +50 -50
- package/plugins/markdown.mjs +50 -50
- package/plugins/postcss.js +1 -1
- package/plugins/postcss.mjs +1 -1
- package/standalone.js +1 -1
- package/standalone.mjs +1 -1
package/internal/legacy-cli.mjs
CHANGED
|
@@ -1528,7 +1528,7 @@ async function logFileInfoOrDie(context) {
|
|
|
1528
1528
|
const fileInfo = await getFileInfo(path2.resolve(file), {
|
|
1529
1529
|
ignorePath,
|
|
1530
1530
|
withNodeModules: withNodeModules2,
|
|
1531
|
-
plugins,
|
|
1531
|
+
plugins: plugins.length > 0 ? plugins : void 0,
|
|
1532
1532
|
resolveConfig: config !== false
|
|
1533
1533
|
});
|
|
1534
1534
|
const result = await format((0, import_fast_json_stable_stringify.default)(fileInfo), { parser: "json" });
|