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.
@@ -2147,7 +2147,7 @@ var init_constants_evaluate = __esm({
2147
2147
  "angular",
2148
2148
  "lwc"
2149
2149
  ];
2150
- PRETTIER_VERSION = "3.7.1";
2150
+ PRETTIER_VERSION = "3.7.3";
2151
2151
  }
2152
2152
  });
2153
2153
 
@@ -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" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prettier",
3
- "version": "3.7.1",
3
+ "version": "3.7.3",
4
4
  "description": "Prettier is an opinionated code formatter",
5
5
  "bin": "./bin/prettier.cjs",
6
6
  "repository": "prettier/prettier",