oxfmt 0.58.0 → 0.59.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 (32) hide show
  1. package/configuration_schema.json +3 -3
  2. package/dist/{acorn-CZllRq2x.js → acorn-Dxp-n4ed.js} +136 -43
  3. package/dist/{angular-CsoDKqo4.js → angular-Clx-wbm6.js} +253 -90
  4. package/dist/{apis-DLO0lBDu.js → apis-D299uPBa.js} +4 -4
  5. package/dist/{babel-DZD6u90w.js → babel-7tfAjQas.js} +178 -69
  6. package/dist/{bindings-DTiEua0g.js → bindings-CjOHPMBU.js} +26 -26
  7. package/dist/{chunk-DSjvVL_1-DX2STy_I.js → chunk-DSjvVL_1-Do0Iorfu.js} +1 -1
  8. package/dist/cli-worker.d.ts +18 -24
  9. package/dist/cli-worker.js +1 -1
  10. package/dist/cli.js +2 -2
  11. package/dist/{dist-YOS4M6hk.js → dist-Byfj_1s9.js} +14 -14
  12. package/dist/{estree-ChnhgzGg.js → estree-CyQu6pff.js} +1982 -1861
  13. package/dist/{flow-C6LkWPPl.js → flow-BH5imzwC.js} +2014 -1999
  14. package/dist/{glimmer-YnkKK2a7.js → glimmer-B5hfTXAX.js} +107 -42
  15. package/dist/{graphql-BNiwkZTo.js → graphql-DQB_nHt9.js} +80 -15
  16. package/dist/{html-DMHXIbrM.js → html--849eFzc.js} +257 -155
  17. package/dist/index.d.ts +7 -3
  18. package/dist/index.js +3 -3
  19. package/dist/{jiti-Bb1dT6Cw-B61jQmj-.js → jiti-Bb1dT6Cw-cY1yrK9n.js} +2 -2
  20. package/dist/{markdown-BjyDFyaO.js → markdown-B1lBrqaF.js} +3778 -3745
  21. package/dist/{meriyah-zDNCk2o1.js → meriyah-B5wbO5kj.js} +264 -213
  22. package/dist/{migrate-prettier-BmSsy164.js → migrate-prettier-CbxtU9AG.js} +1 -1
  23. package/dist/{plugin-B4cguZ1l.js → plugin-D1B0s0iv.js} +3 -3
  24. package/dist/{postcss-CwPwODg8.js → postcss-DuOoF7OX.js} +1129 -1050
  25. package/dist/{prettier-BByt4AhK.js → prettier-CEZwFZsY.js} +18 -19
  26. package/dist/{sorter-BZkvDMjt-B8ihSEiX.js → sorter-BZkvDMjt-DFTeIPU-.js} +7 -7
  27. package/dist/{sorter-BcGkkjyR.js → sorter-Cm0Z2eGI.js} +1 -1
  28. package/dist/{typescript-Bq_S3kyC.js → typescript-Cvdwz3-D.js} +120 -47
  29. package/dist/{v3-D-mr2VVh-p01OHBjH.js → v3-D-mr2VVh-C_WUxELf.js} +6 -5
  30. package/dist/{v4-C-HWEQJm-BbuYNtSW.js → v4-C-HWEQJm-C0ut0NwJ.js} +108 -30
  31. package/dist/{yaml-DlyuuZmC.js → yaml-Dd4aShtG.js} +138 -49
  32. package/package.json +20 -20
@@ -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.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.`);
67
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
81
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
96
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
110
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
125
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
139
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
154
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
168
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
182
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
197
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
211
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
226
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
240
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
255
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
269
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
284
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
298
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
313
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
327
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
342
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
356
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
371
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
385
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
400
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
414
+ if (bindingPackageVersion !== "0.59.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.59.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.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.`);
428
+ if (bindingPackageVersion !== "0.59.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.59.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_3df15310ed5f784eec0c3143d98cee10/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_98ae334cd105e01916eac934f27a76de/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.9.4/node_modules/prettier/doc.d.ts
1
+ //#region ../../node_modules/.pnpm/prettier@3.9.5/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.9.4/node_modules/prettier/index.d.ts
180
+ //#region ../../node_modules/.pnpm/prettier@3.9.5/node_modules/prettier/index.d.ts
181
181
  declare namespace doc {
182
182
  export { builders, printer, utils };
183
183
  }
@@ -193,15 +193,19 @@ type LiteralUnion<T extends U, U = string> = T | (Pick<U, never> & {
193
193
  });
194
194
  type Doc$1 = doc.builders.Doc;
195
195
  // The type of elements that make up the given array T.
196
- type ArrayElement<T> = T extends Array<infer E> ? E : never; // A union of the properties of the given object that are arrays.
197
- type ArrayProperties<T> = { [K in keyof T]: NonNullable<T[K]> extends readonly any[] ? K : never }[keyof T]; // A union of the properties of the given array T that can be used to index it.
196
+ type ArrayElement<T> = T extends Array<infer E> ? E : never;
197
+ // A union of the properties of the given object that are arrays.
198
+ type ArrayProperties<T> = { [K in keyof T]: NonNullable<T[K]> extends readonly any[] ? K : never; }[keyof T];
199
+ // A union of the properties of the given array T that can be used to index it.
198
200
  // If the array is a tuple, then that's going to be the explicit indices of the
199
201
  // array, otherwise it's going to just be number.
200
202
  type IndexProperties<T extends {
201
203
  length: number;
202
- }> = IsTuple<T> extends true ? Exclude<Partial<T>["length"], T["length"]> : number; // Effectively performing T[P], except that it's telling TypeScript that it's
204
+ }> = IsTuple<T> extends true ? Exclude<Partial<T>["length"], T["length"]> : number;
205
+ // Effectively performing T[P], except that it's telling TypeScript that it's
203
206
  // safe to do this for tuples, arrays, or objects.
204
- type IndexValue<T, P> = T extends any[] ? P extends number ? T[P] : never : P extends keyof T ? T[P] : never; // Determines if an object T is an array like string[] (in which case this
207
+ type IndexValue<T, P> = T extends any[] ? P extends number ? T[P] : never : P extends keyof T ? T[P] : never;
208
+ // Determines if an object T is an array like string[] (in which case this
205
209
  // evaluates to false) or a tuple like [string] (in which case this evaluates to
206
210
  // true).
207
211
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -210,7 +214,8 @@ type CallProperties<T> = T extends any[] ? IndexProperties<T> : keyof T;
210
214
  type IterProperties<T> = T extends any[] ? IndexProperties<T> : ArrayProperties<T>;
211
215
  type CallCallback<T, U> = (path: AstPath<T>, index: number, value: any) => U;
212
216
  type EachCallback<T> = (path: AstPath<ArrayElement<T>>, index: number, value: any) => void;
213
- type MapCallback<T, U> = (path: AstPath<ArrayElement<T>>, index: number, value: any) => U; // https://github.com/prettier/prettier/blob/next/src/common/ast-path.js
217
+ type MapCallback<T, U> = (path: AstPath<ArrayElement<T>>, index: number, value: any) => U;
218
+ // https://github.com/prettier/prettier/blob/next/src/common/ast-path.js
214
219
  declare class AstPath<T = any> {
215
220
  constructor(value: T);
216
221
  get key(): string | null;
@@ -239,7 +244,8 @@ declare class AstPath<T = any> {
239
244
  getValue(): T;
240
245
  getNode(count?: number): T | null;
241
246
  getParentNode(count?: number): T | null;
242
- match(...predicates: Array<(node: any, name: string | null, number: number | null) => boolean>): boolean; // For each of the tree walk functions (call, each, and map) this provides 5
247
+ match(...predicates: Array<(node: any, name: string | null, number: number | null) => boolean>): boolean;
248
+ // For each of the tree walk functions (call, each, and map) this provides 5
243
249
  // strict type signatures, along with a fallback at the end if you end up
244
250
  // calling more than 5 properties deep. This helps a lot with typing because
245
251
  // for the majority of cases you're calling fewer than 5 properties, so the
@@ -584,10 +590,7 @@ type FormatFileParam = {
584
590
  *
585
591
  * @returns Formatted code
586
592
  */
587
- declare function formatFile({
588
- code,
589
- options
590
- }: FormatFileParam): Promise<string>;
593
+ declare function formatFile({ code, options }: FormatFileParam): Promise<string>;
591
594
  type FormatEmbeddedCodeParam = {
592
595
  code: string;
593
596
  options: Options$1;
@@ -599,10 +602,7 @@ type FormatEmbeddedCodeParam = {
599
602
  *
600
603
  * @returns Formatted code snippet
601
604
  */
602
- declare function formatEmbeddedCode({
603
- code,
604
- options
605
- }: FormatEmbeddedCodeParam): Promise<string>;
605
+ declare function formatEmbeddedCode({ code, options }: FormatEmbeddedCodeParam): Promise<string>;
606
606
  type FormatEmbeddedDocParam = {
607
607
  texts: string[];
608
608
  options: Options$1;
@@ -618,10 +618,7 @@ type FormatEmbeddedDocParam = {
618
618
  *
619
619
  * @returns Doc JSON strings
620
620
  */
621
- declare function formatEmbeddedDoc({
622
- texts,
623
- options
624
- }: FormatEmbeddedDocParam): Promise<string[]>;
621
+ declare function formatEmbeddedDoc({ texts, options }: FormatEmbeddedDocParam): Promise<string[]>;
625
622
  interface SortTailwindClassesArgs {
626
623
  classes: string[];
627
624
  options: {
@@ -637,9 +634,6 @@ interface SortTailwindClassesArgs {
637
634
  * @param args - Object containing classes and options (filepath is in options.filepath)
638
635
  * @returns Array of sorted class strings (same order/length as input)
639
636
  */
640
- declare function sortTailwindClasses({
641
- classes,
642
- options
643
- }: SortTailwindClassesArgs): Promise<string[]>;
637
+ declare function sortTailwindClasses({ classes, options }: SortTailwindClassesArgs): Promise<string[]>;
644
638
  //#endregion
645
639
  export { formatEmbeddedCode, formatEmbeddedDoc, formatFile, sortTailwindClasses };
@@ -1,2 +1,2 @@
1
- import { i as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-DLO0lBDu.js";
1
+ import { i as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-D299uPBa.js";
2
2
  export { formatEmbeddedCode, formatEmbeddedDoc, formatFile, sortTailwindClasses };
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as toNullable, t as toFormatFileResult } from "./napi-callbacks-Sb-usWTs.js";
2
- import { n as runCli } from "./bindings-DTiEua0g.js";
2
+ import { n as runCli } from "./bindings-CjOHPMBU.js";
3
3
  import Tinypool from "tinypool";
4
4
  import { fileURLToPath, pathToFileURL } from "node:url";
5
5
  import { extname } from "node:path";
@@ -172,7 +172,7 @@ async function loadVitePlusConfig(path) {
172
172
  return;
173
173
  }
174
174
  if (mode === "migrate:prettier") {
175
- await import("./migrate-prettier-BmSsy164.js").then((m) => m.runMigratePrettier());
175
+ await import("./migrate-prettier-CbxtU9AG.js").then((m) => m.runMigratePrettier());
176
176
  return;
177
177
  }
178
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 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";
2
+ import { n as init_babel, parsers as Aa, t as babel_exports } from "./babel-7tfAjQas.js";
3
+ import index_exports, { t as init_prettier } from "./prettier-CEZwFZsY.js";
4
+ import { a as __toESM$1, t as __commonJSMin } from "./chunk-DSjvVL_1-Do0Iorfu.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-DFTeIPU-.js";
6
+ import { parsers as Cn, t as init_angular } from "./angular-Clx-wbm6.js";
7
+ import { n as postcss_exports, parsers as cn, t as init_postcss } from "./postcss-DuOoF7OX.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_3df15310ed5f784eec0c3143d98cee10/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_98ae334cd105e01916eac934f27a76de/node_modules/prettier-plugin-tailwindcss/dist/index.mjs
11
11
  init_angular();
12
12
  init_babel();
13
13
  init_postcss();
@@ -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-DMHXIbrM.js")
1073
+ importer: () => import("./html--849eFzc.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-YnkKK2a7.js")
1088
+ importer: () => import("./glimmer-B5hfTXAX.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-Bq_S3kyC.js")
1120
+ importer: () => import("./typescript-Cvdwz3-D.js")
1121
1121
  }] },
1122
1122
  meriyah: { load: [{
1123
1123
  name: "prettier/plugins/meriyah",
1124
- importer: () => import("./meriyah-zDNCk2o1.js")
1124
+ importer: () => import("./meriyah-B5wbO5kj.js")
1125
1125
  }] },
1126
1126
  acorn: { load: [{
1127
1127
  name: "prettier/plugins/acorn",
1128
- importer: () => import("./acorn-CZllRq2x.js")
1128
+ importer: () => import("./acorn-Dxp-n4ed.js")
1129
1129
  }] },
1130
1130
  flow: { load: [{
1131
1131
  name: "prettier/plugins/flow",
1132
- importer: () => import("./flow-C6LkWPPl.js")
1132
+ importer: () => import("./flow-BH5imzwC.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-B4cguZ1l.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))
1163
+ importer: () => import("./plugin-D1B0s0iv.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))
1164
1164
  }],
1165
1165
  parsers: { svelte: {} },
1166
1166
  printers: { "svelte-ast": {} },