oxfmt 0.55.0 → 0.57.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 (30) hide show
  1. package/dist/{acorn-Cvoi4PWR.js → acorn-LGWopQvF.js} +1 -1
  2. package/dist/{angular-DPcoLhcH.js → angular-BbAuvH72.js} +15 -205
  3. package/dist/{apis-DkdEeIjV.js → apis-CvFX8LhR.js} +5 -5
  4. package/dist/{babel-CVxlCcDg.js → babel-DLjwvkt5.js} +8 -8
  5. package/dist/{bindings-NuElWCOb.js → bindings-Cj_GMsoO.js} +27 -27
  6. package/dist/{chunk-DSjvVL_1-Q4hfmPG1.js → chunk-DSjvVL_1-DllBg9tc.js} +1 -1
  7. package/dist/cli-worker.js +1 -1
  8. package/dist/cli.js +3 -3
  9. package/dist/{dist-DivOnw62.js → dist-BKyxiMdj.js} +15 -15
  10. package/dist/{estree-CkMEq_Zb.js → estree-DbmUPhmV.js} +7 -7
  11. package/dist/{flow-BXs7AWV-.js → flow-CJbpv7JL.js} +5 -5
  12. package/dist/{glimmer-BN5XmZ27.js → glimmer-Ba_8Z2bG.js} +5 -5
  13. package/dist/{graphql-BgY-saF-.js → graphql-CZ7EPWgo.js} +2 -2
  14. package/dist/{html-vBUPNHC4.js → html-DblM11Xw.js} +98 -98
  15. package/dist/index.js +3 -3
  16. package/dist/{jiti-Bb1dT6Cw-BAogql5V.js → jiti-Bb1dT6Cw-0c6As3U-.js} +28 -28
  17. package/dist/{markdown-Bowe09rB.js → markdown-B5hFVJKQ.js} +7 -7
  18. package/dist/{meriyah-CLIO9qWy.js → meriyah-DafjRZfO.js} +2 -2
  19. package/dist/{migrate-prettier-qkEMts2A.js → migrate-prettier-DrYAkU3F.js} +1 -1
  20. package/dist/{plugin-Beq25NZF.js → plugin-BuVceHGR.js} +10 -10
  21. package/dist/{postcss-nPoy2yt-.js → postcss-CkhtwsAS.js} +7 -7
  22. package/dist/{prettier-D67P9sCF.js → prettier-DKAx5A83.js} +25 -25
  23. package/dist/{rolldown-runtime-CNf5ZN-e.js → rolldown-runtime-CE-6LUnI.js} +9 -2
  24. package/dist/{sorter-BZkvDMjt-COt95VpI.js → sorter-BZkvDMjt-C8qUPUh2.js} +10 -9
  25. package/dist/{sorter-BPzPgLsP.js → sorter-DSVZH4kF.js} +1 -1
  26. package/dist/{typescript-DgGTZjEC.js → typescript-DaxiA0nr.js} +15 -15
  27. package/dist/{v3-D-mr2VVh-sE8Y1ugu.js → v3-D-mr2VVh-Ch8a-2Ce.js} +22 -22
  28. package/dist/{v4-C-HWEQJm-9cSRecG6.js → v4-C-HWEQJm-DheWK34Z.js} +12 -12
  29. package/dist/{yaml-BStl3JdL.js → yaml-BC7gw7un.js} +5 -5
  30. package/package.json +20 -20
@@ -1,10 +1,10 @@
1
- import { i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-Q4hfmPG1.js";
1
+ import { i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-DllBg9tc.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.1.0_prettie_661f6aa3144bd2f260306254bad2432f/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.1_prettie_2cd42c04494cb69fdc0c372d6ff3f4da/node_modules/prettier-plugin-tailwindcss/dist/resolve-pWjAK-4f.mjs
8
8
  function expiringMap(duration) {
9
9
  let map = /* @__PURE__ */ new Map();
10
10
  return {
@@ -2388,7 +2388,7 @@ var require_Hook = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2388
2388
  _insert(item) {
2389
2389
  this._resetCompilation();
2390
2390
  let before;
2391
- if (typeof item.before === "string") before = new Set([item.before]);
2391
+ if (typeof item.before === "string") before = /* @__PURE__ */ new Set([item.before]);
2392
2392
  else if (Array.isArray(item.before)) before = new Set(item.before);
2393
2393
  let stage = 0;
2394
2394
  if (typeof item.stage === "number") stage = item.stage;
@@ -4119,7 +4119,8 @@ var import_lib = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
4119
4119
  };
4120
4120
  }
4121
4121
  const mergeExports = (obj, exports$1) => {
4122
- Object.defineProperties(obj, Object.getOwnPropertyDescriptors(exports$1));
4122
+ const descriptors = Object.getOwnPropertyDescriptors(exports$1);
4123
+ Object.defineProperties(obj, descriptors);
4123
4124
  return Object.freeze(obj);
4124
4125
  };
4125
4126
  module.exports = mergeExports(resolve, {
@@ -4198,7 +4199,7 @@ function resolveCssFrom(base, id) {
4198
4199
  return cssResolver.resolveSync({}, base, id) || id;
4199
4200
  }
4200
4201
  //#endregion
4201
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_661f6aa3144bd2f260306254bad2432f/node_modules/prettier-plugin-tailwindcss/dist/utils-D8dQkKEd.mjs
4202
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.1_prettie_2cd42c04494cb69fdc0c372d6ff3f4da/node_modules/prettier-plugin-tailwindcss/dist/utils-D8dQkKEd.mjs
4202
4203
  function isNodeLike(value) {
4203
4204
  return typeof (value === null || value === void 0 ? void 0 : value.type) === "string";
4204
4205
  }
@@ -4277,7 +4278,7 @@ function cacheForDirs(cache, inputDir, value, targetDir, makeKey = (dir) => dir)
4277
4278
  }
4278
4279
  }
4279
4280
  //#endregion
4280
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_661f6aa3144bd2f260306254bad2432f/node_modules/prettier-plugin-tailwindcss/dist/sorter-BZkvDMjt.mjs
4281
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.1_prettie_2cd42c04494cb69fdc0c372d6ff3f4da/node_modules/prettier-plugin-tailwindcss/dist/sorter-BZkvDMjt.mjs
4281
4282
  let seen = /* @__PURE__ */ new Set();
4282
4283
  function warn(key, arg, ...args) {
4283
4284
  if (seen.has(key)) return;
@@ -4376,14 +4377,14 @@ async function getTailwindConfig(options) {
4376
4377
  if (!stylesheet && !(mod === null || mod === void 0 ? void 0 : mod.__unstable__loadDesignSystem)) jsConfig = jsConfig ?? findClosestJsConfig(inputDir);
4377
4378
  if (jsConfig) {
4378
4379
  if (!stylesheet) return pathToApiMap.remember(`${pkgDir}:${jsConfig}`, async () => {
4379
- const { loadV3 } = await import("./v3-D-mr2VVh-sE8Y1ugu.js");
4380
+ const { loadV3 } = await import("./v3-D-mr2VVh-Ch8a-2Ce.js");
4380
4381
  return loadV3(pkgDir, jsConfig);
4381
4382
  });
4382
4383
  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.`);
4383
4384
  }
4384
4385
  if (mod && !mod.__unstable__loadDesignSystem) {
4385
4386
  if (!stylesheet) return pathToApiMap.remember(`${pkgDir}:${jsConfig}`, async () => {
4386
- const { loadV3 } = await import("./v3-D-mr2VVh-sE8Y1ugu.js");
4387
+ const { loadV3 } = await import("./v3-D-mr2VVh-Ch8a-2Ce.js");
4387
4388
  return loadV3(pkgDir, jsConfig);
4388
4389
  });
4389
4390
  mod = null;
@@ -4391,7 +4392,7 @@ async function getTailwindConfig(options) {
4391
4392
  }
4392
4393
  if (mod && mod.__unstable__loadDesignSystem && pkgDir) stylesheet ?? (stylesheet = `${pkgDir}/theme.css`);
4393
4394
  return pathToApiMap.remember(`${pkgDir}:${stylesheet}`, async () => {
4394
- const { loadV4 } = await import("./v4-C-HWEQJm-9cSRecG6.js");
4395
+ const { loadV4 } = await import("./v4-C-HWEQJm-DheWK34Z.js");
4395
4396
  return loadV4(mod, stylesheet);
4396
4397
  });
4397
4398
  }
@@ -1,2 +1,2 @@
1
- import { r as getTailwindConfig, t as createSorter } from "./sorter-BZkvDMjt-COt95VpI.js";
1
+ import { r as getTailwindConfig, t as createSorter } from "./sorter-BZkvDMjt-C8qUPUh2.js";
2
2
  export { createSorter, getTailwindConfig };
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./rolldown-runtime-CNf5ZN-e.js";
1
+ import { n as __esmMin } from "./rolldown-runtime-CE-6LUnI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/typescript.mjs
3
3
  function e_(e) {
4
4
  return e !== void 0 ? e.length : 0;
@@ -7244,7 +7244,7 @@ function Zh(e, t = {}) {
7244
7244
  codeFullText: a,
7245
7245
  comment: t.comment === !0,
7246
7246
  comments: [],
7247
- debugLevel: t.debugLevel === !0 ? new Set(["typescript-eslint"]) : Array.isArray(t.debugLevel) ? new Set(t.debugLevel) : /* @__PURE__ */ new Set(),
7247
+ debugLevel: t.debugLevel === !0 ? /* @__PURE__ */ new Set(["typescript-eslint"]) : Array.isArray(t.debugLevel) ? new Set(t.debugLevel) : /* @__PURE__ */ new Set(),
7248
7248
  errorOnTypeScriptSyntacticAndSemanticIssues: !1,
7249
7249
  errorOnUnknownASTType: t.errorOnUnknownASTType === !0,
7250
7250
  extraFileExtensions: Array.isArray(t.extraFileExtensions) && t.extraFileExtensions.every((y) => typeof y == "string") ? t.extraFileExtensions : [],
@@ -10569,7 +10569,7 @@ ${Me.join(`
10569
10569
  "@": 60,
10570
10570
  "#": 63,
10571
10571
  "`": 62
10572
- })), Jm = new Map([
10572
+ })), Jm = /* @__PURE__ */ new Map([
10573
10573
  [100, 1],
10574
10574
  [103, 2],
10575
10575
  [105, 4],
@@ -10578,7 +10578,7 @@ ${Me.join(`
10578
10578
  [117, 32],
10579
10579
  [118, 64],
10580
10580
  [121, 128]
10581
- ]), Gy = new Map([
10581
+ ]), Gy = /* @__PURE__ */ new Map([
10582
10582
  [1, $s.RegularExpressionFlagsHasIndices],
10583
10583
  [16, $s.RegularExpressionFlagsDotAll],
10584
10584
  [32, $s.RegularExpressionFlagsUnicode],
@@ -15055,7 +15055,7 @@ ${Me.join(`
15055
15055
  sc: "Script",
15056
15056
  Script_Extensions: "Script_Extensions",
15057
15057
  scx: "Script_Extensions"
15058
- })), Ad = new Set([
15058
+ })), Ad = /* @__PURE__ */ new Set([
15059
15059
  "ASCII",
15060
15060
  "ASCII_Hex_Digit",
15061
15061
  "AHex",
@@ -15154,7 +15154,7 @@ ${Me.join(`
15154
15154
  "XIDC",
15155
15155
  "XID_Start",
15156
15156
  "XIDS"
15157
- ]), Cd = new Set([
15157
+ ]), Cd = /* @__PURE__ */ new Set([
15158
15158
  "Basic_Emoji",
15159
15159
  "Emoji_Keycap_Sequence",
15160
15160
  "RGI_Emoji_Modifier_Sequence",
@@ -15163,7 +15163,7 @@ ${Me.join(`
15163
15163
  "RGI_Emoji_ZWJ_Sequence",
15164
15164
  "RGI_Emoji"
15165
15165
  ]), Ra = {
15166
- General_Category: new Set([
15166
+ General_Category: /* @__PURE__ */ new Set([
15167
15167
  "C",
15168
15168
  "Other",
15169
15169
  "Cc",
@@ -15245,7 +15245,7 @@ ${Me.join(`
15245
15245
  "Zs",
15246
15246
  "Space_Separator"
15247
15247
  ]),
15248
- Script: new Set([
15248
+ Script: /* @__PURE__ */ new Set([
15249
15249
  "Adlm",
15250
15250
  "Adlam",
15251
15251
  "Aghb",
@@ -15893,17 +15893,17 @@ ${Me.join(`
15893
15893
  "zlib"
15894
15894
  ];
15895
15895
  new Set(qp);
15896
- Ab = new Set([
15896
+ Ab = /* @__PURE__ */ new Set([
15897
15897
  "node:sea",
15898
15898
  "node:sqlite",
15899
15899
  "node:test",
15900
15900
  "node:test/reporters"
15901
15901
  ]);
15902
- new Set([
15902
+ [
15903
15903
  ...qp,
15904
15904
  ...qp.map((e) => `node:${e}`),
15905
15905
  ...Ab
15906
- ]);
15906
+ ];
15907
15907
  Db = {
15908
15908
  getParenthesizeLeftSideOfBinaryForOperator: (e) => bt,
15909
15909
  getParenthesizeRightSideOfBinaryForOperator: (e) => bt,
@@ -20519,11 +20519,11 @@ ${Me.join(`
20519
20519
  Ll = new Proxy({}, { get: (e, t) => t });
20520
20520
  xh = Ll, Sh = Ll;
20521
20521
  C = xh, Rt = Sh;
20522
- av = Ml["5.0"], ye = Ae, sv = new Set([
20522
+ av = Ml["5.0"], ye = Ae, sv = /* @__PURE__ */ new Set([
20523
20523
  ye.AmpersandAmpersandToken,
20524
20524
  ye.BarBarToken,
20525
20525
  ye.QuestionQuestionToken
20526
- ]), _v = new Set([
20526
+ ]), _v = /* @__PURE__ */ new Set([
20527
20527
  Ae.AmpersandAmpersandEqualsToken,
20528
20528
  Ae.AmpersandEqualsToken,
20529
20529
  Ae.AsteriskAsteriskEqualsToken,
@@ -20540,7 +20540,7 @@ ${Me.join(`
20540
20540
  Ae.PlusEqualsToken,
20541
20541
  Ae.QuestionQuestionEqualsToken,
20542
20542
  Ae.SlashEqualsToken
20543
- ]), ov = new Set([
20543
+ ]), ov = /* @__PURE__ */ new Set([
20544
20544
  ye.AmpersandAmpersandToken,
20545
20545
  ye.AmpersandToken,
20546
20546
  ye.AsteriskAsteriskToken,
@@ -22099,7 +22099,7 @@ ${Me.join(`
22099
22099
  "type" in t && (_.typeAnnotation = t.type && "kind" in t.type && i1(t.type) ? this.convertTypeAnnotation(t.type, t) : null), "typeArguments" in t && (_.typeArguments = t.typeArguments && "pos" in t.typeArguments ? this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments, t) : null), "typeParameters" in t && (_.typeParameters = t.typeParameters && "pos" in t.typeParameters ? this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters) : null);
22100
22100
  let f = xi(t);
22101
22101
  f?.length && (_.decorators = this.convertChildren(f));
22102
- let h = new Set([
22102
+ let h = /* @__PURE__ */ new Set([
22103
22103
  "_children",
22104
22104
  "decorators",
22105
22105
  "end",
@@ -1,9 +1,9 @@
1
- import { a as __toESM, i as __require, n as __esmMin, t as __commonJSMin } from "./chunk-DSjvVL_1-Q4hfmPG1.js";
2
- import { s as bigSign } from "./sorter-BZkvDMjt-COt95VpI.js";
3
- import { t as createJiti } from "./jiti-Bb1dT6Cw-BAogql5V.js";
1
+ import { a as __toESM, i as __require, n as __esmMin, t as __commonJSMin } from "./chunk-DSjvVL_1-DllBg9tc.js";
2
+ import { s as bigSign } from "./sorter-BZkvDMjt-C8qUPUh2.js";
3
+ import { t as createJiti } from "./jiti-Bb1dT6Cw-0c6As3U-.js";
4
4
  import { fileURLToPath, pathToFileURL } from "node:url";
5
5
  import * as path from "node:path";
6
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_661f6aa3144bd2f260306254bad2432f/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.1_prettie_2cd42c04494cb69fdc0c372d6ff3f4da/node_modules/prettier-plugin-tailwindcss/dist/v3-D-mr2VVh.mjs
7
7
  var getFilename, __filename;
8
8
  var init_esm_shims = __esmMin((() => {
9
9
  getFilename = () => fileURLToPath(import.meta.url);
@@ -9159,7 +9159,7 @@ var require_parseBoxShadowValue = /* @__PURE__ */ __commonJSMin(((exports) => {
9159
9159
  }
9160
9160
  });
9161
9161
  const _splitAtTopLevelOnly = require_splitAtTopLevelOnly();
9162
- let KEYWORDS = new Set([
9162
+ let KEYWORDS = /* @__PURE__ */ new Set([
9163
9163
  "inset",
9164
9164
  "inherit",
9165
9165
  "initial",
@@ -9288,7 +9288,7 @@ var require_dataTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
9288
9288
  function isCSSFunction(value) {
9289
9289
  return cssFunctions.some((fn) => new RegExp(`^${fn}\\(.*\\)`).test(value));
9290
9290
  }
9291
- const AUTO_VAR_INJECTION_EXCEPTIONS = new Set([
9291
+ const AUTO_VAR_INJECTION_EXCEPTIONS = /* @__PURE__ */ new Set([
9292
9292
  "scroll-timeline-name",
9293
9293
  "timeline-scope",
9294
9294
  "view-timeline-name",
@@ -9370,7 +9370,7 @@ var require_dataTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
9370
9370
  function length(value) {
9371
9371
  return value === "0" || new RegExp(`^[+-]?[0-9]*\.?[0-9]+(?:[eE][+-]?[0-9]+)?${lengthUnitsPattern}$`).test(value) || isCSSFunction(value);
9372
9372
  }
9373
- let lineWidths = new Set([
9373
+ let lineWidths = /* @__PURE__ */ new Set([
9374
9374
  "thin",
9375
9375
  "medium",
9376
9376
  "thick"
@@ -9411,7 +9411,7 @@ var require_dataTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
9411
9411
  })) return false;
9412
9412
  return images > 0;
9413
9413
  }
9414
- let gradientTypes = new Set([
9414
+ let gradientTypes = /* @__PURE__ */ new Set([
9415
9415
  "conic-gradient",
9416
9416
  "linear-gradient",
9417
9417
  "radial-gradient",
@@ -9424,7 +9424,7 @@ var require_dataTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
9424
9424
  for (let type of gradientTypes) if (value.startsWith(`${type}(`)) return true;
9425
9425
  return false;
9426
9426
  }
9427
- let validPositions = new Set([
9427
+ let validPositions = /* @__PURE__ */ new Set([
9428
9428
  "center",
9429
9429
  "top",
9430
9430
  "right",
@@ -9458,7 +9458,7 @@ var require_dataTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
9458
9458
  })) return false;
9459
9459
  return fonts > 0;
9460
9460
  }
9461
- let genericNames = new Set([
9461
+ let genericNames = /* @__PURE__ */ new Set([
9462
9462
  "serif",
9463
9463
  "sans-serif",
9464
9464
  "monospace",
@@ -9476,7 +9476,7 @@ var require_dataTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
9476
9476
  function genericName(value) {
9477
9477
  return genericNames.has(value);
9478
9478
  }
9479
- let absoluteSizes = new Set([
9479
+ let absoluteSizes = /* @__PURE__ */ new Set([
9480
9480
  "xx-small",
9481
9481
  "x-small",
9482
9482
  "small",
@@ -9489,7 +9489,7 @@ var require_dataTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
9489
9489
  function absoluteSize(value) {
9490
9490
  return absoluteSizes.has(value);
9491
9491
  }
9492
- let relativeSizes = new Set(["larger", "smaller"]);
9492
+ let relativeSizes = /* @__PURE__ */ new Set(["larger", "smaller"]);
9493
9493
  function relativeSize(value) {
9494
9494
  return relativeSizes.has(value);
9495
9495
  }
@@ -10322,21 +10322,21 @@ var require_parseAnimationValue = /* @__PURE__ */ __commonJSMin(((exports) => {
10322
10322
  return parseAnimationValue;
10323
10323
  }
10324
10324
  });
10325
- const DIRECTIONS = new Set([
10325
+ const DIRECTIONS = /* @__PURE__ */ new Set([
10326
10326
  "normal",
10327
10327
  "reverse",
10328
10328
  "alternate",
10329
10329
  "alternate-reverse"
10330
10330
  ]);
10331
- const PLAY_STATES = new Set(["running", "paused"]);
10332
- const FILL_MODES = new Set([
10331
+ const PLAY_STATES = /* @__PURE__ */ new Set(["running", "paused"]);
10332
+ const FILL_MODES = /* @__PURE__ */ new Set([
10333
10333
  "none",
10334
10334
  "forwards",
10335
10335
  "backwards",
10336
10336
  "both"
10337
10337
  ]);
10338
- const ITERATION_COUNTS = new Set(["infinite"]);
10339
- const TIMINGS = new Set([
10338
+ const ITERATION_COUNTS = /* @__PURE__ */ new Set(["infinite"]);
10339
+ const TIMINGS = /* @__PURE__ */ new Set([
10340
10340
  "linear",
10341
10341
  "ease",
10342
10342
  "ease-in",
@@ -12866,13 +12866,13 @@ var require_isSyntacticallyValidPropertyValue = /* @__PURE__ */ __commonJSMin(((
12866
12866
  return isSyntacticallyValidPropertyValue;
12867
12867
  }
12868
12868
  });
12869
- let matchingBrackets = new Map([
12869
+ let matchingBrackets = /* @__PURE__ */ new Map([
12870
12870
  ["{", "}"],
12871
12871
  ["[", "]"],
12872
12872
  ["(", ")"]
12873
12873
  ]);
12874
12874
  let inverseMatchingBrackets = new Map(Array.from(matchingBrackets.entries()).map(([k, v]) => [v, k]));
12875
- let quotes = new Set([
12875
+ let quotes = /* @__PURE__ */ new Set([
12876
12876
  "\"",
12877
12877
  "'",
12878
12878
  "`"
@@ -14484,7 +14484,7 @@ var require_generateRules = /* @__PURE__ */ __commonJSMin(((exports) => {
14484
14484
  if (fallback) matches = [fallback];
14485
14485
  else {
14486
14486
  var _typesByMatches_get;
14487
- let typesPerPlugin = matches.map((match) => new Set([...(_typesByMatches_get = typesByMatches.get(match)) !== null && _typesByMatches_get !== void 0 ? _typesByMatches_get : []]));
14487
+ let typesPerPlugin = matches.map((match) => /* @__PURE__ */ new Set([...(_typesByMatches_get = typesByMatches.get(match)) !== null && _typesByMatches_get !== void 0 ? _typesByMatches_get : []]));
14488
14488
  for (let pluginTypes of typesPerPlugin) for (let type of pluginTypes) {
14489
14489
  let removeFromOwnGroup = false;
14490
14490
  for (let otherGroup of typesPerPlugin) {
@@ -16687,11 +16687,11 @@ async function loadV3(pkgDir, jsConfig) {
16687
16687
  tailwindConfig.content = ["no-op"];
16688
16688
  let context = createContext(resolveConfig(tailwindConfig));
16689
16689
  function getClassOrderPolyfill(classes) {
16690
- let parasiteUtilities = new Set([prefixCandidate(context, "group"), prefixCandidate(context, "peer")]);
16690
+ let parasiteUtilities = /* @__PURE__ */ new Set([prefixCandidate(context, "group"), prefixCandidate(context, "peer")]);
16691
16691
  let classNamesWithOrder = [];
16692
16692
  for (let className of classes) {
16693
16693
  var _generateRules$sort$;
16694
- let order = ((_generateRules$sort$ = generateRules(new Set([className]), context).sort(([a], [z]) => bigSign(z - a))[0]) === null || _generateRules$sort$ === void 0 ? void 0 : _generateRules$sort$[0]) ?? null;
16694
+ let order = ((_generateRules$sort$ = generateRules(/* @__PURE__ */ new Set([className]), context).sort(([a], [z]) => bigSign(z - a))[0]) === null || _generateRules$sort$ === void 0 ? void 0 : _generateRules$sort$[0]) ?? null;
16695
16695
  if (order === null && parasiteUtilities.has(className)) order = context.layerOrder.components;
16696
16696
  classNamesWithOrder.push([className, order]);
16697
16697
  }
@@ -1,10 +1,10 @@
1
- import { r as __exportAll } from "./chunk-DSjvVL_1-Q4hfmPG1.js";
2
- import { h as resolveJsFrom, m as resolveCssFrom } from "./sorter-BZkvDMjt-COt95VpI.js";
3
- import { t as createJiti } from "./jiti-Bb1dT6Cw-BAogql5V.js";
1
+ import { r as __exportAll } from "./chunk-DSjvVL_1-DllBg9tc.js";
2
+ import { h as resolveJsFrom, m as resolveCssFrom } from "./sorter-BZkvDMjt-C8qUPUh2.js";
3
+ import { t as createJiti } from "./jiti-Bb1dT6Cw-0c6As3U-.js";
4
4
  import { pathToFileURL } from "node:url";
5
5
  import * as path from "node:path";
6
6
  import * as fs from "node:fs/promises";
7
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_661f6aa3144bd2f260306254bad2432f/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.1_prettie_2cd42c04494cb69fdc0c372d6ff3f4da/node_modules/prettier-plugin-tailwindcss/dist/v4-C-HWEQJm.mjs
8
8
  var l$1 = {
9
9
  inherit: "inherit",
10
10
  current: "currentcolor",
@@ -298,7 +298,7 @@ var l$1 = {
298
298
  950: "oklch(27.1% 0.105 12.094)"
299
299
  }
300
300
  };
301
- var _ = new Set([
301
+ var _ = /* @__PURE__ */ new Set([
302
302
  "black",
303
303
  "silver",
304
304
  "gray",
@@ -559,7 +559,7 @@ function oe(e) {
559
559
  }
560
560
  return t;
561
561
  }
562
- var E$1 = new Uint8Array(256);
562
+ var E$1 = /* @__PURE__ */ new Uint8Array(256);
563
563
  function d(e, t) {
564
564
  let r = 0, s = [], m = 0, n = e.length, a = t.charCodeAt(0);
565
565
  for (let i = 0; i < n; i++) {
@@ -2152,7 +2152,7 @@ function ye(t) {
2152
2152
  function Se(t) {
2153
2153
  return t.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g, (r) => r.length > 2 ? String.fromCodePoint(Number.parseInt(r.slice(1).trim(), 16)) : r[1]);
2154
2154
  }
2155
- var cr = new Map([
2155
+ var cr = /* @__PURE__ */ new Map([
2156
2156
  ["--font", ["--font-weight", "--font-size"]],
2157
2157
  ["--inset", ["--inset-shadow", "--inset-ring"]],
2158
2158
  ["--text", [
@@ -2921,7 +2921,7 @@ function Ot(t) {
2921
2921
  function on(t) {
2922
2922
  throw new Error(`Unexpected value: ${t}`);
2923
2923
  }
2924
- var Pt = new Uint8Array(256);
2924
+ var Pt = /* @__PURE__ */ new Uint8Array(256);
2925
2925
  function he(t) {
2926
2926
  let r = 0, i = t.length;
2927
2927
  for (let e = 0; e < i; e++) {
@@ -3364,7 +3364,7 @@ function Ve(t, r, i) {
3364
3364
  let e = t.indexOf("("), n = r.indexOf("("), s = e === -1 ? t.replace(/[\d.]+/g, "") : t.slice(0, e), a = n === -1 ? r.replace(/[\d.]+/g, "") : r.slice(0, n), p = (s === a ? 0 : s < a ? -1 : 1) || (i === "asc" ? parseInt(t) - parseInt(r) : parseInt(r) - parseInt(t));
3365
3365
  return Number.isNaN(p) ? t < r ? -1 : 1 : p;
3366
3366
  }
3367
- var dn = new Set([
3367
+ var dn = /* @__PURE__ */ new Set([
3368
3368
  "inset",
3369
3369
  "inherit",
3370
3370
  "initial",
@@ -4697,7 +4697,7 @@ function Dr(t) {
4697
4697
  "shorter",
4698
4698
  "increasing",
4699
4699
  "decreasing"
4700
- ], g = new Map([
4700
+ ], g = /* @__PURE__ */ new Map([
4701
4701
  ["to-t", "to top"],
4702
4702
  ["to-tr", "to top right"],
4703
4703
  ["to-r", "to right"],
@@ -7545,7 +7545,7 @@ function qn(t, r) {
7545
7545
  if (A === null ? A = U : A = si(A, U), A.size === 0) return A;
7546
7546
  }
7547
7547
  return A;
7548
- }), w = new K(($) => new Set([$]));
7548
+ }), w = new K(($) => /* @__PURE__ */ new Set([$]));
7549
7549
  for (let $ = 0; $ < c.length; $++) {
7550
7550
  let A = c[$];
7551
7551
  for (let k = $ + 1; k < c.length; k++) {
@@ -7899,7 +7899,7 @@ function fa(t, r) {
7899
7899
  }
7900
7900
  }
7901
7901
  }
7902
- var ca = new Map([["order-none", "order-0"], ["break-words", "wrap-break-word"]]);
7902
+ var ca = /* @__PURE__ */ new Map([["order-none", "order-0"], ["break-words", "wrap-break-word"]]);
7903
7903
  function pa(t, r) {
7904
7904
  let i = r.designSystem, e = i.storage[de].get(r.signatureOptions), n = oa(i, t), s = ca.get(n) ?? null;
7905
7905
  if (s === null) return t;
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./rolldown-runtime-CNf5ZN-e.js";
1
+ import { n as __esmMin } from "./rolldown-runtime-CE-6LUnI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/yaml.mjs
3
3
  function Ri(t) {
4
4
  return this[t < 0 ? this.length + t : t];
@@ -4907,7 +4907,7 @@ ${o.commentBefore}` : i;
4907
4907
  if (typeof this == "string") return $i;
4908
4908
  });
4909
4909
  Bi = () => {}, je = Bi;
4910
- Qe = "string", Ge = "array", dt = "cursor", gt = "indent", Ae = "align", yt = "trim", Le = "group", Te = "fill", Ce = "if-break", Et = "indent-if-break", Me = "line-suffix", St = "line-suffix-boundary", re = "line", wt = "label", ke = "break-parent", bt = new Set([
4910
+ Qe = "string", Ge = "array", dt = "cursor", gt = "indent", Ae = "align", yt = "trim", Le = "group", Te = "fill", Ce = "if-break", Et = "indent-if-break", Me = "line-suffix", St = "line-suffix-boundary", re = "line", wt = "label", ke = "break-parent", bt = /* @__PURE__ */ new Set([
4911
4911
  dt,
4912
4912
  gt,
4913
4913
  Ae,
@@ -4959,7 +4959,7 @@ ${o.commentBefore}` : i;
4959
4959
  wr = (t) => Sr.test(t), br = (t) => Er.test(t), Nr = (t) => yr.test(t), Or = (t) => `# @${gr}
4960
4960
 
4961
4961
  ${t}`;
4962
- Ar.ignoredProperties = new Set(["position"]);
4962
+ Ar.ignoredProperties = /* @__PURE__ */ new Set(["position"]);
4963
4963
  Lr = Ar;
4964
4964
  Tr.getVisitorKeys = () => [];
4965
4965
  Cr = Tr;
@@ -5210,8 +5210,8 @@ ${t}`;
5210
5210
  }
5211
5211
  #n(e) {
5212
5212
  if (!Zn) {
5213
- let [o] = this.#e;
5214
- Zn = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(o)), "rangeAsLinePos").get;
5213
+ let [o] = this.#e, a = Object.getPrototypeOf(Object.getPrototypeOf(o));
5214
+ Zn = Object.getOwnPropertyDescriptor(a, "rangeAsLinePos").get;
5215
5215
  }
5216
5216
  if (this.#t ?? (this.#t = { root: { context: { src: this.text } } }), this.text === "" && e.origStart === 0 && e.origEnd === 0) return {
5217
5217
  start: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxfmt",
3
- "version": "0.55.0",
3
+ "version": "0.57.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.55.0",
90
- "@oxfmt/binding-android-arm64": "0.55.0",
91
- "@oxfmt/binding-win32-arm64-msvc": "0.55.0",
92
- "@oxfmt/binding-linux-arm64-gnu": "0.55.0",
93
- "@oxfmt/binding-linux-arm64-musl": "0.55.0",
94
- "@oxfmt/binding-openharmony-arm64": "0.55.0",
95
- "@oxfmt/binding-android-arm-eabi": "0.55.0",
96
- "@oxfmt/binding-linux-arm-gnueabihf": "0.55.0",
97
- "@oxfmt/binding-linux-arm-musleabihf": "0.55.0",
98
- "@oxfmt/binding-win32-ia32-msvc": "0.55.0",
99
- "@oxfmt/binding-linux-ppc64-gnu": "0.55.0",
100
- "@oxfmt/binding-linux-riscv64-gnu": "0.55.0",
101
- "@oxfmt/binding-linux-riscv64-musl": "0.55.0",
102
- "@oxfmt/binding-linux-s390x-gnu": "0.55.0",
103
- "@oxfmt/binding-darwin-x64": "0.55.0",
104
- "@oxfmt/binding-win32-x64-msvc": "0.55.0",
105
- "@oxfmt/binding-freebsd-x64": "0.55.0",
106
- "@oxfmt/binding-linux-x64-gnu": "0.55.0",
107
- "@oxfmt/binding-linux-x64-musl": "0.55.0"
89
+ "@oxfmt/binding-darwin-arm64": "0.57.0",
90
+ "@oxfmt/binding-android-arm64": "0.57.0",
91
+ "@oxfmt/binding-win32-arm64-msvc": "0.57.0",
92
+ "@oxfmt/binding-linux-arm64-gnu": "0.57.0",
93
+ "@oxfmt/binding-linux-arm64-musl": "0.57.0",
94
+ "@oxfmt/binding-openharmony-arm64": "0.57.0",
95
+ "@oxfmt/binding-android-arm-eabi": "0.57.0",
96
+ "@oxfmt/binding-linux-arm-gnueabihf": "0.57.0",
97
+ "@oxfmt/binding-linux-arm-musleabihf": "0.57.0",
98
+ "@oxfmt/binding-win32-ia32-msvc": "0.57.0",
99
+ "@oxfmt/binding-linux-ppc64-gnu": "0.57.0",
100
+ "@oxfmt/binding-linux-riscv64-gnu": "0.57.0",
101
+ "@oxfmt/binding-linux-riscv64-musl": "0.57.0",
102
+ "@oxfmt/binding-linux-s390x-gnu": "0.57.0",
103
+ "@oxfmt/binding-darwin-x64": "0.57.0",
104
+ "@oxfmt/binding-win32-x64-msvc": "0.57.0",
105
+ "@oxfmt/binding-freebsd-x64": "0.57.0",
106
+ "@oxfmt/binding-linux-x64-gnu": "0.57.0",
107
+ "@oxfmt/binding-linux-x64-musl": "0.57.0"
108
108
  }
109
109
  }