oxfmt 0.52.0 → 0.54.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.
@@ -57,7 +57,7 @@ function requireNative() {
57
57
  try {
58
58
  const binding = require("@oxfmt/binding-android-arm64");
59
59
  const bindingPackageVersion = require("@oxfmt/binding-android-arm64/package.json").version;
60
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
60
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
61
61
  return binding;
62
62
  } catch (e) {
63
63
  loadErrors.push(e);
@@ -71,7 +71,7 @@ function requireNative() {
71
71
  try {
72
72
  const binding = require("@oxfmt/binding-android-arm-eabi");
73
73
  const bindingPackageVersion = require("@oxfmt/binding-android-arm-eabi/package.json").version;
74
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
74
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
75
75
  return binding;
76
76
  } catch (e) {
77
77
  loadErrors.push(e);
@@ -86,7 +86,7 @@ function requireNative() {
86
86
  try {
87
87
  const binding = require("@oxfmt/binding-win32-x64-gnu");
88
88
  const bindingPackageVersion = require("@oxfmt/binding-win32-x64-gnu/package.json").version;
89
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
89
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
90
90
  return binding;
91
91
  } catch (e) {
92
92
  loadErrors.push(e);
@@ -100,7 +100,7 @@ function requireNative() {
100
100
  try {
101
101
  const binding = require("@oxfmt/binding-win32-x64-msvc");
102
102
  const bindingPackageVersion = require("@oxfmt/binding-win32-x64-msvc/package.json").version;
103
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
103
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
104
104
  return binding;
105
105
  } catch (e) {
106
106
  loadErrors.push(e);
@@ -115,7 +115,7 @@ function requireNative() {
115
115
  try {
116
116
  const binding = require("@oxfmt/binding-win32-ia32-msvc");
117
117
  const bindingPackageVersion = require("@oxfmt/binding-win32-ia32-msvc/package.json").version;
118
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
118
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
119
119
  return binding;
120
120
  } catch (e) {
121
121
  loadErrors.push(e);
@@ -129,7 +129,7 @@ function requireNative() {
129
129
  try {
130
130
  const binding = require("@oxfmt/binding-win32-arm64-msvc");
131
131
  const bindingPackageVersion = require("@oxfmt/binding-win32-arm64-msvc/package.json").version;
132
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
132
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
133
133
  return binding;
134
134
  } catch (e) {
135
135
  loadErrors.push(e);
@@ -144,7 +144,7 @@ function requireNative() {
144
144
  try {
145
145
  const binding = require("@oxfmt/binding-darwin-universal");
146
146
  const bindingPackageVersion = require("@oxfmt/binding-darwin-universal/package.json").version;
147
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
147
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
148
148
  return binding;
149
149
  } catch (e) {
150
150
  loadErrors.push(e);
@@ -158,7 +158,7 @@ function requireNative() {
158
158
  try {
159
159
  const binding = require("@oxfmt/binding-darwin-x64");
160
160
  const bindingPackageVersion = require("@oxfmt/binding-darwin-x64/package.json").version;
161
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
161
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
162
162
  return binding;
163
163
  } catch (e) {
164
164
  loadErrors.push(e);
@@ -172,7 +172,7 @@ function requireNative() {
172
172
  try {
173
173
  const binding = require("@oxfmt/binding-darwin-arm64");
174
174
  const bindingPackageVersion = require("@oxfmt/binding-darwin-arm64/package.json").version;
175
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
175
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
176
176
  return binding;
177
177
  } catch (e) {
178
178
  loadErrors.push(e);
@@ -187,7 +187,7 @@ function requireNative() {
187
187
  try {
188
188
  const binding = require("@oxfmt/binding-freebsd-x64");
189
189
  const bindingPackageVersion = require("@oxfmt/binding-freebsd-x64/package.json").version;
190
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
190
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
191
191
  return binding;
192
192
  } catch (e) {
193
193
  loadErrors.push(e);
@@ -201,7 +201,7 @@ function requireNative() {
201
201
  try {
202
202
  const binding = require("@oxfmt/binding-freebsd-arm64");
203
203
  const bindingPackageVersion = require("@oxfmt/binding-freebsd-arm64/package.json").version;
204
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
204
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
205
205
  return binding;
206
206
  } catch (e) {
207
207
  loadErrors.push(e);
@@ -216,7 +216,7 @@ function requireNative() {
216
216
  try {
217
217
  const binding = require("@oxfmt/binding-linux-x64-musl");
218
218
  const bindingPackageVersion = require("@oxfmt/binding-linux-x64-musl/package.json").version;
219
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
219
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
220
220
  return binding;
221
221
  } catch (e) {
222
222
  loadErrors.push(e);
@@ -230,7 +230,7 @@ function requireNative() {
230
230
  try {
231
231
  const binding = require("@oxfmt/binding-linux-x64-gnu");
232
232
  const bindingPackageVersion = require("@oxfmt/binding-linux-x64-gnu/package.json").version;
233
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
233
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
234
234
  return binding;
235
235
  } catch (e) {
236
236
  loadErrors.push(e);
@@ -245,7 +245,7 @@ function requireNative() {
245
245
  try {
246
246
  const binding = require("@oxfmt/binding-linux-arm64-musl");
247
247
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-musl/package.json").version;
248
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
248
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
249
249
  return binding;
250
250
  } catch (e) {
251
251
  loadErrors.push(e);
@@ -259,7 +259,7 @@ function requireNative() {
259
259
  try {
260
260
  const binding = require("@oxfmt/binding-linux-arm64-gnu");
261
261
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-gnu/package.json").version;
262
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
262
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
263
263
  return binding;
264
264
  } catch (e) {
265
265
  loadErrors.push(e);
@@ -274,7 +274,7 @@ function requireNative() {
274
274
  try {
275
275
  const binding = require("@oxfmt/binding-linux-arm-musleabihf");
276
276
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm-musleabihf/package.json").version;
277
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
277
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
278
278
  return binding;
279
279
  } catch (e) {
280
280
  loadErrors.push(e);
@@ -288,7 +288,7 @@ function requireNative() {
288
288
  try {
289
289
  const binding = require("@oxfmt/binding-linux-arm-gnueabihf");
290
290
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm-gnueabihf/package.json").version;
291
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
291
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
292
292
  return binding;
293
293
  } catch (e) {
294
294
  loadErrors.push(e);
@@ -303,7 +303,7 @@ function requireNative() {
303
303
  try {
304
304
  const binding = require("@oxfmt/binding-linux-loong64-musl");
305
305
  const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-musl/package.json").version;
306
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
306
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
307
307
  return binding;
308
308
  } catch (e) {
309
309
  loadErrors.push(e);
@@ -317,7 +317,7 @@ function requireNative() {
317
317
  try {
318
318
  const binding = require("@oxfmt/binding-linux-loong64-gnu");
319
319
  const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-gnu/package.json").version;
320
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
320
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
321
321
  return binding;
322
322
  } catch (e) {
323
323
  loadErrors.push(e);
@@ -332,7 +332,7 @@ function requireNative() {
332
332
  try {
333
333
  const binding = require("@oxfmt/binding-linux-riscv64-musl");
334
334
  const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-musl/package.json").version;
335
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
335
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
336
336
  return binding;
337
337
  } catch (e) {
338
338
  loadErrors.push(e);
@@ -346,7 +346,7 @@ function requireNative() {
346
346
  try {
347
347
  const binding = require("@oxfmt/binding-linux-riscv64-gnu");
348
348
  const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-gnu/package.json").version;
349
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
349
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
350
350
  return binding;
351
351
  } catch (e) {
352
352
  loadErrors.push(e);
@@ -361,7 +361,7 @@ function requireNative() {
361
361
  try {
362
362
  const binding = require("@oxfmt/binding-linux-ppc64-gnu");
363
363
  const bindingPackageVersion = require("@oxfmt/binding-linux-ppc64-gnu/package.json").version;
364
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
364
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
365
365
  return binding;
366
366
  } catch (e) {
367
367
  loadErrors.push(e);
@@ -375,7 +375,7 @@ function requireNative() {
375
375
  try {
376
376
  const binding = require("@oxfmt/binding-linux-s390x-gnu");
377
377
  const bindingPackageVersion = require("@oxfmt/binding-linux-s390x-gnu/package.json").version;
378
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
378
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
379
379
  return binding;
380
380
  } catch (e) {
381
381
  loadErrors.push(e);
@@ -390,7 +390,7 @@ function requireNative() {
390
390
  try {
391
391
  const binding = require("@oxfmt/binding-openharmony-arm64");
392
392
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm64/package.json").version;
393
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
393
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
394
394
  return binding;
395
395
  } catch (e) {
396
396
  loadErrors.push(e);
@@ -404,7 +404,7 @@ function requireNative() {
404
404
  try {
405
405
  const binding = require("@oxfmt/binding-openharmony-x64");
406
406
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-x64/package.json").version;
407
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
407
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
408
408
  return binding;
409
409
  } catch (e) {
410
410
  loadErrors.push(e);
@@ -418,7 +418,7 @@ function requireNative() {
418
418
  try {
419
419
  const binding = require("@oxfmt/binding-openharmony-arm");
420
420
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm/package.json").version;
421
- if (bindingPackageVersion !== "0.52.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.52.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
421
+ if (bindingPackageVersion !== "0.54.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.54.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
422
422
  return binding;
423
423
  } catch (e) {
424
424
  loadErrors.push(e);
@@ -427,20 +427,21 @@ function requireNative() {
427
427
  else loadErrors.push(/* @__PURE__ */ new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`));
428
428
  }
429
429
  nativeBinding = requireNative();
430
- if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
430
+ const forceWasi = process.env.NAPI_RS_FORCE_WASI === "true" || process.env.NAPI_RS_FORCE_WASI === "error";
431
+ if (!nativeBinding || forceWasi) {
431
432
  let wasiBinding = null;
432
433
  let wasiBindingError = null;
433
434
  try {
434
435
  wasiBinding = require("./oxfmt.wasi.cjs");
435
436
  nativeBinding = wasiBinding;
436
437
  } catch (err) {
437
- if (process.env.NAPI_RS_FORCE_WASI) wasiBindingError = err;
438
+ if (forceWasi) wasiBindingError = err;
438
439
  }
439
- if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) try {
440
+ if (!nativeBinding || forceWasi) try {
440
441
  wasiBinding = require("@oxfmt/binding-wasm32-wasi");
441
442
  nativeBinding = wasiBinding;
442
443
  } catch (err) {
443
- if (process.env.NAPI_RS_FORCE_WASI) {
444
+ if (forceWasi) {
444
445
  if (!wasiBindingError) wasiBindingError = err;
445
446
  else wasiBindingError.cause = err;
446
447
  loadErrors.push(err);
@@ -461,4 +462,33 @@ if (!nativeBinding) {
461
462
  }
462
463
  const { Severity, format, jsTextToDoc, runCli } = nativeBinding;
463
464
  //#endregion
464
- export { jsTextToDoc as n, runCli as r, format as t };
465
+ //#region src-js/libs/napi-callbacks.ts
466
+ /**
467
+ * Wrap a `formatFile`-shaped `Promise<string>` so it never rejects, preserving the error message.
468
+ */
469
+ async function toFormatFileResult(run) {
470
+ return run.then((code) => ({
471
+ ok: true,
472
+ code
473
+ })).catch((err) => ({
474
+ ok: false,
475
+ error: errorToMessage(err)
476
+ }));
477
+ }
478
+ /**
479
+ * Wrap a best-effort formatter `Promise<T>` so it never rejects, discarding the error as `null`.
480
+ * Used for embedded code / tailwind sorting, where Rust falls back to the original code on failure.
481
+ */
482
+ async function toNullable(run) {
483
+ return run.catch(() => null);
484
+ }
485
+ function errorToMessage(err) {
486
+ if (err instanceof Error) return String(err);
487
+ if (err !== null && typeof err === "object") {
488
+ const { name, message } = err;
489
+ if (typeof message === "string") return typeof name === "string" && name.length > 0 ? `${name}: ${message}` : message;
490
+ }
491
+ return String(err);
492
+ }
493
+ //#endregion
494
+ export { runCli as a, jsTextToDoc as i, toNullable as n, format as r, toFormatFileResult as t };
@@ -1,7 +1,7 @@
1
1
  import { a as __toCommonJS, i as __require, t as __commonJSMin } from "./chunk-CNf5ZN-e.js";
2
2
  import { n as init_babel, t as babel_exports } from "./babel-DjR61Wf3.js";
3
- import { n as prettier_exports, t as init_prettier } from "./prettier-Cy-lZk4k.js";
4
- //#region ../../node_modules/.pnpm/prettier-plugin-svelte@4.0.1_prettier@3.8.3_svelte@5.55.9_@typescript-eslint+types@8.59.4_/node_modules/prettier-plugin-svelte/plugin.js
3
+ import { n as prettier_exports, t as init_prettier } from "./prettier-CttUn4xj.js";
4
+ //#region ../../node_modules/.pnpm/prettier-plugin-svelte@4.1.0_prettier@3.8.3_svelte@5.56.2_@typescript-eslint+types@8.60.1_/node_modules/prettier-plugin-svelte/plugin.js
5
5
  var require_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  var prettierPluginBabel = (init_babel(), __toCommonJS(babel_exports));
@@ -1178,6 +1178,11 @@ var require_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
1178
1178
  printJS(path, print, "declaration"),
1179
1179
  "}"
1180
1180
  ];
1181
+ case "DeclarationTag": return [
1182
+ "{",
1183
+ printJS(path, print, "declaration"),
1184
+ "}"
1185
+ ];
1181
1186
  }
1182
1187
  console.error(JSON.stringify(node, null, 4));
1183
1188
  throw new Error("unknown node type: " + node.type);
@@ -1708,6 +1713,9 @@ var require_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
1708
1713
  case "RenderTag":
1709
1714
  if (node === parent.expression) printJS$1(parent, "expression", {});
1710
1715
  break;
1716
+ case "DeclarationTag":
1717
+ if (node === parent.declaration) printJS$1(parent, "declaration", { asStatement: true });
1718
+ break;
1711
1719
  case "OnDirective":
1712
1720
  case "BindDirective":
1713
1721
  case "ClassDirective":
@@ -1722,12 +1730,13 @@ var require_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
1722
1730
  if (node.isJS) return (textToDoc) => __awaiter(this, void 0, void 0, function* () {
1723
1731
  try {
1724
1732
  const embeddedOptions = {
1725
- parser: options._svelte_ts ? "svelteTSExpressionParser" : "svelteExpressionParser",
1733
+ parser: node.asStatement ? options._svelte_ts ? "svelteTSStatementParser" : "svelteStatementParser" : options._svelte_ts ? "svelteTSExpressionParser" : "svelteExpressionParser",
1726
1734
  singleQuote: node.forceSingleQuote ? true : options.singleQuote,
1727
1735
  _svelte_asFunction: node.asFunction
1728
1736
  };
1729
1737
  const text = getText(node, options, true);
1730
- let docs = yield textToDoc(node.asFunction ? forceIntoFunction(text) : forceIntoExpression(text), embeddedOptions);
1738
+ let docs = yield textToDoc(node.asStatement ? text : node.asFunction ? forceIntoFunction(text) : forceIntoExpression(text), embeddedOptions);
1739
+ if (node.asStatement) trimRight([docs], (d) => d === ";");
1731
1740
  if (node.forceSingleLine) docs = removeLines(docs);
1732
1741
  if (node.removeParentheses) docs = removeParentheses(docs);
1733
1742
  if (node.asFunction) if (Array.isArray(docs) && typeof docs[0] === "string") {
@@ -1842,6 +1851,7 @@ var require_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
1842
1851
  part.forceSingleLine = options.forceSingleLine;
1843
1852
  part.removeParentheses = options.removeParentheses;
1844
1853
  part.surroundWithSoftline = options.surroundWithSoftline;
1854
+ part.asStatement = options.asStatement;
1845
1855
  }
1846
1856
  /**
1847
1857
  * Walk the AST and use `_comments` (stashed by the parser) to attach
@@ -1906,7 +1916,7 @@ var require_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
1906
1916
  let _parse = compiler.parse;
1907
1917
  if (options.svelte5CompilerPath) try {
1908
1918
  _parse = (yield Promise.resolve().then(function() {
1909
- return /* @__PURE__ */ _interopNamespace(__require(options.svelte5CompilerPath));
1919
+ return /*#__PURE__*/ _interopNamespace(__require(options.svelte5CompilerPath));
1910
1920
  })).parse;
1911
1921
  } catch (e) {
1912
1922
  console.warn(`Failed to load Svelte 5 compiler from ${options.svelte5CompilerPath}`);
@@ -1943,11 +1953,19 @@ var require_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
1943
1953
  if (!options._svelte_asFunction) program = program.expression;
1944
1954
  return Object.assign(Object.assign({}, ast), { program });
1945
1955
  } }),
1956
+ svelteStatementParser: Object.assign(Object.assign({}, babelParser), { parse: (text, options) => {
1957
+ const ast = babelParser.parse(text, options);
1958
+ return Object.assign(Object.assign({}, ast), { program: ast.program.body[0] });
1959
+ } }),
1946
1960
  svelteTSExpressionParser: Object.assign(Object.assign({}, typescriptParser), { parse: (text, options) => {
1947
1961
  const ast = typescriptParser.parse(text, options);
1948
1962
  let program = ast.program.body[0];
1949
1963
  if (!options._svelte_asFunction) program = program.expression;
1950
1964
  return Object.assign(Object.assign({}, ast), { program });
1965
+ } }),
1966
+ svelteTSStatementParser: Object.assign(Object.assign({}, typescriptParser), { parse: (text, options) => {
1967
+ const ast = typescriptParser.parse(text, options);
1968
+ return Object.assign(Object.assign({}, ast), { program: ast.program.body[0] });
1951
1969
  } })
1952
1970
  };
1953
1971
  const printers = { "svelte-ast": {
@@ -2402,7 +2402,7 @@ async function loadConfigFromPackageYaml(file) {
2402
2402
  }
2403
2403
  async function loadYaml(file) {
2404
2404
  const content = await read_file_default(file);
2405
- if (!parseYaml) ({__parsePrettierYamlConfig: parseYaml} = await import("./yaml-D3PpfZBy.js"));
2405
+ if (!parseYaml) ({__parsePrettierYamlConfig: parseYaml} = await import("./yaml-BT3ntp8h.js"));
2406
2406
  try {
2407
2407
  return parseYaml(content);
2408
2408
  } catch (error) {
@@ -15486,7 +15486,7 @@ ${codeblock}`, options8);
15486
15486
  parsers: ["typescript"]
15487
15487
  },
15488
15488
  {
15489
- importPlugin: () => import("./yaml-D3PpfZBy.js"),
15489
+ importPlugin: () => import("./yaml-BT3ntp8h.js"),
15490
15490
  parsers: ["yaml"],
15491
15491
  printers: ["yaml"]
15492
15492
  }
@@ -1,44 +1,10 @@
1
- import { createRequire } from "node:module";
1
+ import { i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-BUO3FyMh.js";
2
2
  import { fileURLToPath, pathToFileURL } from "node:url";
3
3
  import * as path from "node:path";
4
4
  import { dirname, resolve } from "path";
5
5
  import { readdirSync, statSync } from "fs";
6
6
  import fs from "node:fs";
7
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.0.1_prettie_b20d8b14d002a94b1de20f5a14f79b1e/node_modules/prettier-plugin-tailwindcss/dist/chunk-DSjvVL_1.mjs
8
- var __create = Object.create;
9
- var __defProp = Object.defineProperty;
10
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11
- var __getOwnPropNames = Object.getOwnPropertyNames;
12
- var __getProtoOf = Object.getPrototypeOf;
13
- var __hasOwnProp = Object.prototype.hasOwnProperty;
14
- var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
15
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
16
- var __exportAll = (all, symbols) => {
17
- let target = {};
18
- for (var name in all) __defProp(target, name, {
19
- get: all[name],
20
- enumerable: true
21
- });
22
- if (symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
23
- return target;
24
- };
25
- var __copyProps = (to, from, except, desc) => {
26
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
27
- key = keys[i];
28
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
29
- get: ((k) => from[k]).bind(null, key),
30
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
31
- });
32
- }
33
- return to;
34
- };
35
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
36
- value: mod,
37
- enumerable: true
38
- }) : target, mod));
39
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
40
- //#endregion
41
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.0.1_prettie_b20d8b14d002a94b1de20f5a14f79b1e/node_modules/prettier-plugin-tailwindcss/dist/resolve-pWjAK-4f.mjs
7
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_e3345e2f5995e2d14d8ee5c58c9c043a/node_modules/prettier-plugin-tailwindcss/dist/resolve-pWjAK-4f.mjs
42
8
  function expiringMap(duration) {
43
9
  let map = /* @__PURE__ */ new Map();
44
10
  return {
@@ -4232,7 +4198,7 @@ function resolveCssFrom(base, id) {
4232
4198
  return cssResolver.resolveSync({}, base, id) || id;
4233
4199
  }
4234
4200
  //#endregion
4235
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.0.1_prettie_b20d8b14d002a94b1de20f5a14f79b1e/node_modules/prettier-plugin-tailwindcss/dist/utils-D8dQkKEd.mjs
4201
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_e3345e2f5995e2d14d8ee5c58c9c043a/node_modules/prettier-plugin-tailwindcss/dist/utils-D8dQkKEd.mjs
4236
4202
  function isNodeLike(value) {
4237
4203
  return typeof (value === null || value === void 0 ? void 0 : value.type) === "string";
4238
4204
  }
@@ -4311,7 +4277,7 @@ function cacheForDirs(cache, inputDir, value, targetDir, makeKey = (dir) => dir)
4311
4277
  }
4312
4278
  }
4313
4279
  //#endregion
4314
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.0.1_prettie_b20d8b14d002a94b1de20f5a14f79b1e/node_modules/prettier-plugin-tailwindcss/dist/sorter-BZkvDMjt.mjs
4280
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_e3345e2f5995e2d14d8ee5c58c9c043a/node_modules/prettier-plugin-tailwindcss/dist/sorter-BZkvDMjt.mjs
4315
4281
  let seen = /* @__PURE__ */ new Set();
4316
4282
  function warn(key, arg, ...args) {
4317
4283
  if (seen.has(key)) return;
@@ -4410,14 +4376,14 @@ async function getTailwindConfig(options) {
4410
4376
  if (!stylesheet && !(mod === null || mod === void 0 ? void 0 : mod.__unstable__loadDesignSystem)) jsConfig = jsConfig ?? findClosestJsConfig(inputDir);
4411
4377
  if (jsConfig) {
4412
4378
  if (!stylesheet) return pathToApiMap.remember(`${pkgDir}:${jsConfig}`, async () => {
4413
- const { loadV3 } = await import("./v3-D-mr2VVh-BXhnMySQ.js");
4379
+ const { loadV3 } = await import("./v3-D-mr2VVh-C7AdPwxy.js");
4414
4380
  return loadV3(pkgDir, jsConfig);
4415
4381
  });
4416
4382
  error("explicit-stylesheet-and-config-together", base, `You have specified a Tailwind CSS stylesheet and a Tailwind CSS config at the same time. Use stylesheetPath unless you are using v3. Preferring the stylesheet.`);
4417
4383
  }
4418
4384
  if (mod && !mod.__unstable__loadDesignSystem) {
4419
4385
  if (!stylesheet) return pathToApiMap.remember(`${pkgDir}:${jsConfig}`, async () => {
4420
- const { loadV3 } = await import("./v3-D-mr2VVh-BXhnMySQ.js");
4386
+ const { loadV3 } = await import("./v3-D-mr2VVh-C7AdPwxy.js");
4421
4387
  return loadV3(pkgDir, jsConfig);
4422
4388
  });
4423
4389
  mod = null;
@@ -4425,7 +4391,7 @@ async function getTailwindConfig(options) {
4425
4391
  }
4426
4392
  if (mod && mod.__unstable__loadDesignSystem && pkgDir) stylesheet ?? (stylesheet = `${pkgDir}/theme.css`);
4427
4393
  return pathToApiMap.remember(`${pkgDir}:${stylesheet}`, async () => {
4428
- const { loadV4 } = await import("./v4-C-HWEQJm-CvgekpKf.js");
4394
+ const { loadV4 } = await import("./v4-C-HWEQJm-CJKqx13d.js");
4429
4395
  return loadV4(mod, stylesheet);
4430
4396
  });
4431
4397
  }
@@ -4516,4 +4482,4 @@ async function createSorter(opts) {
4516
4482
  };
4517
4483
  }
4518
4484
  //#endregion
4519
- export { __esmMin as _, sortClasses as a, __toESM as b, cacheForDirs as c, expiringMap as d, loadIfExists as f, __commonJSMin as g, resolveJsFrom as h, sortClassList as i, spliceChangesIntoString as l, resolveCssFrom as m, error as n, warn as o, maybeResolve as p, getTailwindConfig as r, bigSign as s, createSorter as t, visit as u, __exportAll as v, __require as y };
4485
+ export { sortClasses as a, cacheForDirs as c, expiringMap as d, loadIfExists as f, resolveJsFrom as h, sortClassList as i, spliceChangesIntoString as l, resolveCssFrom as m, error as n, warn as o, maybeResolve as p, getTailwindConfig as r, bigSign as s, createSorter as t, visit as u };
@@ -1,2 +1,2 @@
1
- import { r as getTailwindConfig, t as createSorter } from "./sorter-BZkvDMjt-C3eOnP5z.js";
1
+ import { r as getTailwindConfig, t as createSorter } from "./sorter-BZkvDMjt-DCuU-7CM.js";
2
2
  export { createSorter, getTailwindConfig };
@@ -1,8 +1,9 @@
1
- import { _ as __esmMin, b as __toESM, g as __commonJSMin, s as bigSign, y as __require } from "./sorter-BZkvDMjt-C3eOnP5z.js";
2
- import { t as createJiti } from "./jiti-Bb1dT6Cw-B_5IaZk7.js";
1
+ import { a as __toESM, i as __require, n as __esmMin, t as __commonJSMin } from "./chunk-DSjvVL_1-BUO3FyMh.js";
2
+ import { s as bigSign } from "./sorter-BZkvDMjt-DCuU-7CM.js";
3
+ import { t as createJiti } from "./jiti-Bb1dT6Cw-DPQUX1DC.js";
3
4
  import { fileURLToPath, pathToFileURL } from "node:url";
4
5
  import * as path from "node:path";
5
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.0.1_prettie_b20d8b14d002a94b1de20f5a14f79b1e/node_modules/prettier-plugin-tailwindcss/dist/v3-D-mr2VVh.mjs
6
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_e3345e2f5995e2d14d8ee5c58c9c043a/node_modules/prettier-plugin-tailwindcss/dist/v3-D-mr2VVh.mjs
6
7
  var getFilename, __filename;
7
8
  var init_esm_shims = __esmMin((() => {
8
9
  getFilename = () => fileURLToPath(import.meta.url);
@@ -1,9 +1,10 @@
1
- import { h as resolveJsFrom, m as resolveCssFrom, v as __exportAll } from "./sorter-BZkvDMjt-C3eOnP5z.js";
2
- import { t as createJiti } from "./jiti-Bb1dT6Cw-B_5IaZk7.js";
1
+ import { r as __exportAll } from "./chunk-DSjvVL_1-BUO3FyMh.js";
2
+ import { h as resolveJsFrom, m as resolveCssFrom } from "./sorter-BZkvDMjt-DCuU-7CM.js";
3
+ import { t as createJiti } from "./jiti-Bb1dT6Cw-DPQUX1DC.js";
3
4
  import { pathToFileURL } from "node:url";
4
5
  import * as path from "node:path";
5
6
  import * as fs from "node:fs/promises";
6
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.0.1_prettie_b20d8b14d002a94b1de20f5a14f79b1e/node_modules/prettier-plugin-tailwindcss/dist/v4-C-HWEQJm.mjs
7
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_e3345e2f5995e2d14d8ee5c58c9c043a/node_modules/prettier-plugin-tailwindcss/dist/v4-C-HWEQJm.mjs
7
8
  var l$1 = {
8
9
  inherit: "inherit",
9
10
  current: "currentcolor",
@@ -2973,11 +2973,11 @@ ${e.indent}`) : C[0] === `
2973
2973
  let { anchors: r, maxAliasCount: s } = n, i = r.get(this.source);
2974
2974
  if (!i || i.res === void 0) {
2975
2975
  let o = "This should not happen: Alias anchor was not resolved?";
2976
- throw this.cstNode ? new p.YAMLReferenceError(this.cstNode, o) : new ReferenceError(o);
2976
+ throw this.cstNode ? new p.YAMLReferenceError(this.cstNode, o) : /* @__PURE__ */ new ReferenceError(o);
2977
2977
  }
2978
2978
  if (s >= 0 && (i.count += 1, i.aliasCount === 0 && (i.aliasCount = xt(this.source, r)), i.count * i.aliasCount > s)) {
2979
2979
  let o = "Excessive alias count indicates a resource exhaustion attack";
2980
- throw this.cstNode ? new p.YAMLReferenceError(this.cstNode, o) : new ReferenceError(o);
2980
+ throw this.cstNode ? new p.YAMLReferenceError(this.cstNode, o) : /* @__PURE__ */ new ReferenceError(o);
2981
2981
  }
2982
2982
  return i.res;
2983
2983
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxfmt",
3
- "version": "0.52.0",
3
+ "version": "0.54.0",
4
4
  "description": "Formatter for the JavaScript Oxidation Compiler",
5
5
  "keywords": [
6
6
  "formatter",
@@ -86,24 +86,24 @@
86
86
  },
87
87
  "preferUnplugged": true,
88
88
  "optionalDependencies": {
89
- "@oxfmt/binding-darwin-arm64": "0.52.0",
90
- "@oxfmt/binding-android-arm64": "0.52.0",
91
- "@oxfmt/binding-win32-arm64-msvc": "0.52.0",
92
- "@oxfmt/binding-linux-arm64-gnu": "0.52.0",
93
- "@oxfmt/binding-linux-arm64-musl": "0.52.0",
94
- "@oxfmt/binding-openharmony-arm64": "0.52.0",
95
- "@oxfmt/binding-android-arm-eabi": "0.52.0",
96
- "@oxfmt/binding-linux-arm-gnueabihf": "0.52.0",
97
- "@oxfmt/binding-linux-arm-musleabihf": "0.52.0",
98
- "@oxfmt/binding-win32-ia32-msvc": "0.52.0",
99
- "@oxfmt/binding-linux-ppc64-gnu": "0.52.0",
100
- "@oxfmt/binding-linux-riscv64-gnu": "0.52.0",
101
- "@oxfmt/binding-linux-riscv64-musl": "0.52.0",
102
- "@oxfmt/binding-linux-s390x-gnu": "0.52.0",
103
- "@oxfmt/binding-darwin-x64": "0.52.0",
104
- "@oxfmt/binding-win32-x64-msvc": "0.52.0",
105
- "@oxfmt/binding-freebsd-x64": "0.52.0",
106
- "@oxfmt/binding-linux-x64-gnu": "0.52.0",
107
- "@oxfmt/binding-linux-x64-musl": "0.52.0"
89
+ "@oxfmt/binding-darwin-arm64": "0.54.0",
90
+ "@oxfmt/binding-android-arm64": "0.54.0",
91
+ "@oxfmt/binding-win32-arm64-msvc": "0.54.0",
92
+ "@oxfmt/binding-linux-arm64-gnu": "0.54.0",
93
+ "@oxfmt/binding-linux-arm64-musl": "0.54.0",
94
+ "@oxfmt/binding-openharmony-arm64": "0.54.0",
95
+ "@oxfmt/binding-android-arm-eabi": "0.54.0",
96
+ "@oxfmt/binding-linux-arm-gnueabihf": "0.54.0",
97
+ "@oxfmt/binding-linux-arm-musleabihf": "0.54.0",
98
+ "@oxfmt/binding-win32-ia32-msvc": "0.54.0",
99
+ "@oxfmt/binding-linux-ppc64-gnu": "0.54.0",
100
+ "@oxfmt/binding-linux-riscv64-gnu": "0.54.0",
101
+ "@oxfmt/binding-linux-riscv64-musl": "0.54.0",
102
+ "@oxfmt/binding-linux-s390x-gnu": "0.54.0",
103
+ "@oxfmt/binding-darwin-x64": "0.54.0",
104
+ "@oxfmt/binding-win32-x64-msvc": "0.54.0",
105
+ "@oxfmt/binding-freebsd-x64": "0.54.0",
106
+ "@oxfmt/binding-linux-x64-gnu": "0.54.0",
107
+ "@oxfmt/binding-linux-x64-musl": "0.54.0"
108
108
  }
109
109
  }