oxfmt 0.56.0 → 0.58.0

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.
Files changed (35) hide show
  1. package/dist/{acorn-LGWopQvF.js → acorn-CZllRq2x.js} +1893 -1803
  2. package/dist/{angular-BbAuvH72.js → angular-CsoDKqo4.js} +1587 -995
  3. package/dist/{apis-C2fbFQF2.js → apis-DLO0lBDu.js} +4 -4
  4. package/dist/babel-DZD6u90w.js +9896 -0
  5. package/dist/{bindings-Ab6hoO7p.js → bindings-DTiEua0g.js} +26 -26
  6. package/dist/{chunk-DSjvVL_1-DaTvESxp.js → chunk-DSjvVL_1-DX2STy_I.js} +1 -1
  7. package/dist/cli-worker.d.ts +5 -5
  8. package/dist/cli-worker.js +1 -1
  9. package/dist/cli.js +3 -2
  10. package/dist/{dist-BMp5jzRv.js → dist-YOS4M6hk.js} +17 -17
  11. package/dist/estree-ChnhgzGg.js +7885 -0
  12. package/dist/flow-C6LkWPPl.js +9149 -0
  13. package/dist/{glimmer-Ba_8Z2bG.js → glimmer-YnkKK2a7.js} +204 -187
  14. package/dist/{graphql-CZ7EPWgo.js → graphql-BNiwkZTo.js} +905 -820
  15. package/dist/{html-DblM11Xw.js → html-DMHXIbrM.js} +1416 -1305
  16. package/dist/index.js +3 -3
  17. package/dist/{jiti-Bb1dT6Cw-DWQc1k7j.js → jiti-Bb1dT6Cw-B61jQmj-.js} +2 -2
  18. package/dist/markdown-BjyDFyaO.js +14010 -0
  19. package/dist/{meriyah-DafjRZfO.js → meriyah-zDNCk2o1.js} +1501 -1429
  20. package/dist/{migrate-prettier-DrYAkU3F.js → migrate-prettier-BmSsy164.js} +49 -42
  21. package/dist/{plugin-CYEM2898.js → plugin-B4cguZ1l.js} +16 -12
  22. package/dist/{postcss-CkhtwsAS.js → postcss-CwPwODg8.js} +2153 -2002
  23. package/dist/{prettier-DKAx5A83.js → prettier-BByt4AhK.js} +5674 -5038
  24. package/dist/{sorter-BZkvDMjt-c-GMCzH3.js → sorter-BZkvDMjt-B8ihSEiX.js} +7 -7
  25. package/dist/{sorter-DK1aMCjs.js → sorter-BcGkkjyR.js} +1 -1
  26. package/dist/{typescript-DaxiA0nr.js → typescript-Bq_S3kyC.js} +10499 -10252
  27. package/dist/{v3-D-mr2VVh-7G9Y2N0Q.js → v3-D-mr2VVh-p01OHBjH.js} +4 -4
  28. package/dist/{v4-C-HWEQJm-DKnDZXAs.js → v4-C-HWEQJm-BbuYNtSW.js} +4 -4
  29. package/dist/yaml-DlyuuZmC.js +6121 -0
  30. package/package.json +20 -20
  31. package/dist/babel-DLjwvkt5.js +0 -9884
  32. package/dist/estree-DbmUPhmV.js +0 -7269
  33. package/dist/flow-CJbpv7JL.js +0 -52916
  34. package/dist/markdown-B5hFVJKQ.js +0 -6880
  35. package/dist/yaml-BC7gw7un.js +0 -5280
@@ -64,7 +64,7 @@ function requireNative() {
64
64
  try {
65
65
  const binding = require("@oxfmt/binding-android-arm64");
66
66
  const bindingPackageVersion = require("@oxfmt/binding-android-arm64/package.json").version;
67
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
67
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
68
68
  return binding;
69
69
  } catch (e) {
70
70
  loadErrors.push(e);
@@ -78,7 +78,7 @@ function requireNative() {
78
78
  try {
79
79
  const binding = require("@oxfmt/binding-android-arm-eabi");
80
80
  const bindingPackageVersion = require("@oxfmt/binding-android-arm-eabi/package.json").version;
81
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
81
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
82
82
  return binding;
83
83
  } catch (e) {
84
84
  loadErrors.push(e);
@@ -93,7 +93,7 @@ function requireNative() {
93
93
  try {
94
94
  const binding = require("@oxfmt/binding-win32-x64-gnu");
95
95
  const bindingPackageVersion = require("@oxfmt/binding-win32-x64-gnu/package.json").version;
96
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
96
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
97
97
  return binding;
98
98
  } catch (e) {
99
99
  loadErrors.push(e);
@@ -107,7 +107,7 @@ function requireNative() {
107
107
  try {
108
108
  const binding = require("@oxfmt/binding-win32-x64-msvc");
109
109
  const bindingPackageVersion = require("@oxfmt/binding-win32-x64-msvc/package.json").version;
110
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
110
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
111
111
  return binding;
112
112
  } catch (e) {
113
113
  loadErrors.push(e);
@@ -122,7 +122,7 @@ function requireNative() {
122
122
  try {
123
123
  const binding = require("@oxfmt/binding-win32-ia32-msvc");
124
124
  const bindingPackageVersion = require("@oxfmt/binding-win32-ia32-msvc/package.json").version;
125
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
125
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
126
126
  return binding;
127
127
  } catch (e) {
128
128
  loadErrors.push(e);
@@ -136,7 +136,7 @@ function requireNative() {
136
136
  try {
137
137
  const binding = require("@oxfmt/binding-win32-arm64-msvc");
138
138
  const bindingPackageVersion = require("@oxfmt/binding-win32-arm64-msvc/package.json").version;
139
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
139
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
140
140
  return binding;
141
141
  } catch (e) {
142
142
  loadErrors.push(e);
@@ -151,7 +151,7 @@ function requireNative() {
151
151
  try {
152
152
  const binding = require("@oxfmt/binding-darwin-universal");
153
153
  const bindingPackageVersion = require("@oxfmt/binding-darwin-universal/package.json").version;
154
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
154
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
155
155
  return binding;
156
156
  } catch (e) {
157
157
  loadErrors.push(e);
@@ -165,7 +165,7 @@ function requireNative() {
165
165
  try {
166
166
  const binding = require("@oxfmt/binding-darwin-x64");
167
167
  const bindingPackageVersion = require("@oxfmt/binding-darwin-x64/package.json").version;
168
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
168
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
169
169
  return binding;
170
170
  } catch (e) {
171
171
  loadErrors.push(e);
@@ -179,7 +179,7 @@ function requireNative() {
179
179
  try {
180
180
  const binding = require("@oxfmt/binding-darwin-arm64");
181
181
  const bindingPackageVersion = require("@oxfmt/binding-darwin-arm64/package.json").version;
182
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
182
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
183
183
  return binding;
184
184
  } catch (e) {
185
185
  loadErrors.push(e);
@@ -194,7 +194,7 @@ function requireNative() {
194
194
  try {
195
195
  const binding = require("@oxfmt/binding-freebsd-x64");
196
196
  const bindingPackageVersion = require("@oxfmt/binding-freebsd-x64/package.json").version;
197
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
197
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
198
198
  return binding;
199
199
  } catch (e) {
200
200
  loadErrors.push(e);
@@ -208,7 +208,7 @@ function requireNative() {
208
208
  try {
209
209
  const binding = require("@oxfmt/binding-freebsd-arm64");
210
210
  const bindingPackageVersion = require("@oxfmt/binding-freebsd-arm64/package.json").version;
211
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
211
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
212
212
  return binding;
213
213
  } catch (e) {
214
214
  loadErrors.push(e);
@@ -223,7 +223,7 @@ function requireNative() {
223
223
  try {
224
224
  const binding = require("@oxfmt/binding-linux-x64-musl");
225
225
  const bindingPackageVersion = require("@oxfmt/binding-linux-x64-musl/package.json").version;
226
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
226
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
227
227
  return binding;
228
228
  } catch (e) {
229
229
  loadErrors.push(e);
@@ -237,7 +237,7 @@ function requireNative() {
237
237
  try {
238
238
  const binding = require("@oxfmt/binding-linux-x64-gnu");
239
239
  const bindingPackageVersion = require("@oxfmt/binding-linux-x64-gnu/package.json").version;
240
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
240
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
241
241
  return binding;
242
242
  } catch (e) {
243
243
  loadErrors.push(e);
@@ -252,7 +252,7 @@ function requireNative() {
252
252
  try {
253
253
  const binding = require("@oxfmt/binding-linux-arm64-musl");
254
254
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-musl/package.json").version;
255
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
255
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
256
256
  return binding;
257
257
  } catch (e) {
258
258
  loadErrors.push(e);
@@ -266,7 +266,7 @@ function requireNative() {
266
266
  try {
267
267
  const binding = require("@oxfmt/binding-linux-arm64-gnu");
268
268
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-gnu/package.json").version;
269
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
269
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
270
270
  return binding;
271
271
  } catch (e) {
272
272
  loadErrors.push(e);
@@ -281,7 +281,7 @@ function requireNative() {
281
281
  try {
282
282
  const binding = require("@oxfmt/binding-linux-arm-musleabihf");
283
283
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm-musleabihf/package.json").version;
284
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
284
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
285
285
  return binding;
286
286
  } catch (e) {
287
287
  loadErrors.push(e);
@@ -295,7 +295,7 @@ function requireNative() {
295
295
  try {
296
296
  const binding = require("@oxfmt/binding-linux-arm-gnueabihf");
297
297
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm-gnueabihf/package.json").version;
298
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
298
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
299
299
  return binding;
300
300
  } catch (e) {
301
301
  loadErrors.push(e);
@@ -310,7 +310,7 @@ function requireNative() {
310
310
  try {
311
311
  const binding = require("@oxfmt/binding-linux-loong64-musl");
312
312
  const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-musl/package.json").version;
313
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
313
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
314
314
  return binding;
315
315
  } catch (e) {
316
316
  loadErrors.push(e);
@@ -324,7 +324,7 @@ function requireNative() {
324
324
  try {
325
325
  const binding = require("@oxfmt/binding-linux-loong64-gnu");
326
326
  const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-gnu/package.json").version;
327
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
327
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
328
328
  return binding;
329
329
  } catch (e) {
330
330
  loadErrors.push(e);
@@ -339,7 +339,7 @@ function requireNative() {
339
339
  try {
340
340
  const binding = require("@oxfmt/binding-linux-riscv64-musl");
341
341
  const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-musl/package.json").version;
342
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
342
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
343
343
  return binding;
344
344
  } catch (e) {
345
345
  loadErrors.push(e);
@@ -353,7 +353,7 @@ function requireNative() {
353
353
  try {
354
354
  const binding = require("@oxfmt/binding-linux-riscv64-gnu");
355
355
  const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-gnu/package.json").version;
356
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
356
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
357
357
  return binding;
358
358
  } catch (e) {
359
359
  loadErrors.push(e);
@@ -368,7 +368,7 @@ function requireNative() {
368
368
  try {
369
369
  const binding = require("@oxfmt/binding-linux-ppc64-gnu");
370
370
  const bindingPackageVersion = require("@oxfmt/binding-linux-ppc64-gnu/package.json").version;
371
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
371
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
372
372
  return binding;
373
373
  } catch (e) {
374
374
  loadErrors.push(e);
@@ -382,7 +382,7 @@ function requireNative() {
382
382
  try {
383
383
  const binding = require("@oxfmt/binding-linux-s390x-gnu");
384
384
  const bindingPackageVersion = require("@oxfmt/binding-linux-s390x-gnu/package.json").version;
385
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
385
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
386
386
  return binding;
387
387
  } catch (e) {
388
388
  loadErrors.push(e);
@@ -397,7 +397,7 @@ function requireNative() {
397
397
  try {
398
398
  const binding = require("@oxfmt/binding-openharmony-arm64");
399
399
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm64/package.json").version;
400
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
400
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
401
401
  return binding;
402
402
  } catch (e) {
403
403
  loadErrors.push(e);
@@ -411,7 +411,7 @@ function requireNative() {
411
411
  try {
412
412
  const binding = require("@oxfmt/binding-openharmony-x64");
413
413
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-x64/package.json").version;
414
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
414
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
415
415
  return binding;
416
416
  } catch (e) {
417
417
  loadErrors.push(e);
@@ -425,7 +425,7 @@ function requireNative() {
425
425
  try {
426
426
  const binding = require("@oxfmt/binding-openharmony-arm");
427
427
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm/package.json").version;
428
- if (bindingPackageVersion !== "0.56.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
428
+ if (bindingPackageVersion !== "0.58.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.58.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
429
429
  return binding;
430
430
  } catch (e) {
431
431
  loadErrors.push(e);
@@ -1,5 +1,5 @@
1
1
  import { createRequire } from "node:module";
2
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.1_prettie_38bf7b19300712455a0a76d31dd7693b/node_modules/prettier-plugin-tailwindcss/dist/chunk-DSjvVL_1.mjs
2
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.1_prettie_3df15310ed5f784eec0c3143d98cee10/node_modules/prettier-plugin-tailwindcss/dist/chunk-DSjvVL_1.mjs
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/doc.d.ts
1
+ //#region ../../node_modules/.pnpm/prettier@3.9.4/node_modules/prettier/doc.d.ts
2
2
  // https://github.com/prettier/prettier/blob/next/src/document/public.js
3
3
  declare namespace builders {
4
4
  type DocCommand = Align | BreakParent | Cursor | Fill | Group | IfBreak | Indent | IndentIfBreak | Label | Line | LineSuffix | LineSuffixBoundary | Trim;
@@ -177,7 +177,7 @@ declare namespace utils {
177
177
  function canBreak(doc: builders.Doc): boolean;
178
178
  }
179
179
  //#endregion
180
- //#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/index.d.ts
180
+ //#region ../../node_modules/.pnpm/prettier@3.9.4/node_modules/prettier/index.d.ts
181
181
  declare namespace doc {
182
182
  export { builders, printer, utils };
183
183
  }
@@ -436,9 +436,9 @@ interface Parser<T = any> {
436
436
  preprocess?: ((text: string, options: ParserOptions<T>) => string | Promise<string>) | undefined;
437
437
  }
438
438
  interface Printer<T = any> {
439
- print(path: AstPath<T>, options: ParserOptions<T>, print: (path: AstPath<T>) => Doc$1, args?: unknown): Doc$1;
440
- printPrettierIgnored?(path: AstPath<T>, options: ParserOptions<T>, print: (path: AstPath<T>) => Doc$1, args?: unknown): Doc$1;
441
- embed?: ((path: AstPath, options: Options$1) => ((textToDoc: (text: string, options: Options$1) => Promise<Doc$1>, print: (selector?: string | number | Array<string | number> | AstPath) => Doc$1, path: AstPath, options: Options$1) => Promise<Doc$1 | undefined> | Doc$1 | undefined) | Doc$1 | null) | undefined;
439
+ print(path: AstPath<T>, options: ParserOptions<T>, print: (selector?: string | number | Array<string | number> | AstPath<T>, args?: unknown) => Doc$1, args?: unknown): Doc$1;
440
+ printPrettierIgnored?(path: AstPath<T>, options: ParserOptions<T>, print: (selector?: string | number | Array<string | number> | AstPath<T>, args?: unknown) => Doc$1, args?: unknown): Doc$1;
441
+ embed?: ((path: AstPath, options: Options$1) => ((textToDoc: (text: string, options: Options$1) => Promise<Doc$1>, print: (selector?: string | number | Array<string | number> | AstPath, args?: unknown) => Doc$1, path: AstPath, options: Options$1) => Promise<Doc$1 | undefined> | Doc$1 | undefined) | Doc$1 | null) | undefined;
442
442
  preprocess?: ((ast: T, options: ParserOptions<T>) => T | Promise<T>) | undefined;
443
443
  insertPragma?: (text: string) => string;
444
444
  /**
@@ -1,2 +1,2 @@
1
- import { i as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-C2fbFQF2.js";
1
+ import { i as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-DLO0lBDu.js";
2
2
  export { formatEmbeddedCode, formatEmbeddedDoc, formatFile, sortTailwindClasses };
package/dist/cli.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import { n as toNullable, t as toFormatFileResult } from "./napi-callbacks-Sb-usWTs.js";
2
- import { n as runCli } from "./bindings-Ab6hoO7p.js";
2
+ import { n as runCli } from "./bindings-DTiEua0g.js";
3
3
  import Tinypool from "tinypool";
4
4
  import { fileURLToPath, pathToFileURL } from "node:url";
5
5
  import { extname } from "node:path";
6
6
  //#region src-js/cli/worker-proxy.ts
7
7
  let pool = null;
8
8
  async function initExternalFormatter(numThreads) {
9
+ if (pool !== null) return;
9
10
  pool = new Tinypool({
10
11
  filename: new URL("./cli-worker.js", import.meta.url).href,
11
12
  minThreads: numThreads,
@@ -171,7 +172,7 @@ async function loadVitePlusConfig(path) {
171
172
  return;
172
173
  }
173
174
  if (mode === "migrate:prettier") {
174
- await import("./migrate-prettier-DrYAkU3F.js").then((m) => m.runMigratePrettier());
175
+ await import("./migrate-prettier-BmSsy164.js").then((m) => m.runMigratePrettier());
175
176
  return;
176
177
  }
177
178
  if (mode === "migrate:biome") {
@@ -1,13 +1,13 @@
1
1
  import { o as __toESM } from "./rolldown-runtime-CE-6LUnI.js";
2
- import { n as init_babel, parsers as ra, t as babel_exports } from "./babel-DLjwvkt5.js";
3
- import index_exports, { t as init_prettier } from "./prettier-DKAx5A83.js";
4
- import { a as __toESM$1, t as __commonJSMin } from "./chunk-DSjvVL_1-DaTvESxp.js";
5
- import { a as sortClasses, c as cacheForDirs, d as expiringMap, f as loadIfExists, i as sortClassList, l as spliceChangesIntoString, n as error, o as warn, p as maybeResolve, r as getTailwindConfig$1, u as visit } from "./sorter-BZkvDMjt-c-GMCzH3.js";
6
- import { parsers as fn, t as init_angular } from "./angular-BbAuvH72.js";
7
- import { n as postcss_exports, parsers as en, t as init_postcss } from "./postcss-CkhtwsAS.js";
2
+ import { n as init_babel, parsers as Aa, t as babel_exports } from "./babel-DZD6u90w.js";
3
+ import index_exports, { t as init_prettier } from "./prettier-BByt4AhK.js";
4
+ import { a as __toESM$1, t as __commonJSMin } from "./chunk-DSjvVL_1-DX2STy_I.js";
5
+ import { a as sortClasses, c as cacheForDirs, d as expiringMap, f as loadIfExists, i as sortClassList, l as spliceChangesIntoString, n as error, o as warn, p as maybeResolve, r as getTailwindConfig$1, u as visit } from "./sorter-BZkvDMjt-B8ihSEiX.js";
6
+ import { parsers as Cn, t as init_angular } from "./angular-CsoDKqo4.js";
7
+ import { n as postcss_exports, parsers as cn, t as init_postcss } from "./postcss-CwPwODg8.js";
8
8
  import * as path from "node:path";
9
9
  import { isAbsolute } from "path";
10
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.1_prettie_38bf7b19300712455a0a76d31dd7693b/node_modules/prettier-plugin-tailwindcss/dist/index.mjs
10
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.1_prettie_3df15310ed5f784eec0c3143d98cee10/node_modules/prettier-plugin-tailwindcss/dist/index.mjs
11
11
  init_angular();
12
12
  init_babel();
13
13
  init_postcss();
@@ -420,7 +420,7 @@ function defineTransform(opts) {
420
420
  }
421
421
  function tryParseAngularAttribute(value, env) {
422
422
  try {
423
- return fn.__ng_directive.parse(value, env.options);
423
+ return Cn.__ng_directive.parse(value, env.options);
424
424
  } catch (err) {
425
425
  console.warn("prettier-plugin-tailwindcss: Unable to parse angular directive");
426
426
  console.warn(err);
@@ -472,7 +472,7 @@ function transformDynamicAngularAttribute(attr, env) {
472
472
  function transformDynamicJsAttribute(attr, env) {
473
473
  let { matcher } = env;
474
474
  let source = `let __prettier_temp__ = ${attr.value}`;
475
- let ast = ra["babel-ts"].parse(source, env.options);
475
+ let ast = Aa["babel-ts"].parse(source, env.options);
476
476
  let didChange = false;
477
477
  let changes = [];
478
478
  function findConcatEntry(path) {
@@ -830,7 +830,7 @@ function transformCss(ast, env) {
830
830
  function tryParseAtRuleParams(name, params) {
831
831
  if (typeof params !== "string") return params;
832
832
  try {
833
- return en.css.parse(`@import ${params};`, { ...env.options }).nodes[0].params;
833
+ return cn.css.parse(`@import ${params};`, { ...env.options }).nodes[0].params;
834
834
  } catch (err) {
835
835
  console.warn(`[prettier-plugin-tailwindcss] Unable to parse at rule`);
836
836
  console.warn({
@@ -1070,7 +1070,7 @@ const { parsers, printers } = createPlugin([
1070
1070
  staticAttrs: ["class"],
1071
1071
  load: [{
1072
1072
  name: "prettier/plugins/html",
1073
- importer: () => import("./html-DblM11Xw.js")
1073
+ importer: () => import("./html-DMHXIbrM.js")
1074
1074
  }],
1075
1075
  compatible: ["prettier-plugin-organize-attributes"],
1076
1076
  parsers: {
@@ -1085,7 +1085,7 @@ const { parsers, printers } = createPlugin([
1085
1085
  staticAttrs: ["class"],
1086
1086
  load: [{
1087
1087
  name: "prettier/plugins/glimmer",
1088
- importer: () => import("./glimmer-Ba_8Z2bG.js")
1088
+ importer: () => import("./glimmer-YnkKK2a7.js")
1089
1089
  }],
1090
1090
  parsers: { glimmer: {} },
1091
1091
  transform: transformGlimmer
@@ -1117,19 +1117,19 @@ const { parsers, printers } = createPlugin([
1117
1117
  __js_expression: { load: [babel_exports] },
1118
1118
  typescript: { load: [{
1119
1119
  name: "prettier/plugins/typescript",
1120
- importer: () => import("./typescript-DaxiA0nr.js")
1120
+ importer: () => import("./typescript-Bq_S3kyC.js")
1121
1121
  }] },
1122
1122
  meriyah: { load: [{
1123
1123
  name: "prettier/plugins/meriyah",
1124
- importer: () => import("./meriyah-DafjRZfO.js")
1124
+ importer: () => import("./meriyah-zDNCk2o1.js")
1125
1125
  }] },
1126
1126
  acorn: { load: [{
1127
1127
  name: "prettier/plugins/acorn",
1128
- importer: () => import("./acorn-LGWopQvF.js")
1128
+ importer: () => import("./acorn-CZllRq2x.js")
1129
1129
  }] },
1130
1130
  flow: { load: [{
1131
1131
  name: "prettier/plugins/flow",
1132
- importer: () => import("./flow-CJbpv7JL.js")
1132
+ importer: () => import("./flow-C6LkWPPl.js")
1133
1133
  }] },
1134
1134
  oxc: { load: [{
1135
1135
  name: "@prettier/plugin-oxc",
@@ -1160,7 +1160,7 @@ const { parsers, printers } = createPlugin([
1160
1160
  staticAttrs: ["class"],
1161
1161
  load: [{
1162
1162
  name: "prettier-plugin-svelte",
1163
- importer: () => import("./plugin-CYEM2898.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))
1163
+ importer: () => import("./plugin-B4cguZ1l.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))
1164
1164
  }],
1165
1165
  parsers: { svelte: {} },
1166
1166
  printers: { "svelte-ast": {} },