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
@@ -1,5 +1,5 @@
1
1
  import { n as __esmMin } from "./rolldown-runtime-CE-6LUnI.js";
2
- //#region ../../node_modules/.pnpm/prettier@3.9.4/node_modules/prettier/plugins/glimmer.mjs
2
+ //#region ../../node_modules/.pnpm/prettier@3.9.5/node_modules/prettier/plugins/glimmer.mjs
3
3
  function Gn(e) {
4
4
  return this[e < 0 ? this.length + e : e];
5
5
  }
@@ -1221,14 +1221,31 @@ __esmMin((() => {
1221
1221
  Jt = (e, t) => (r, s, ...n) => r | 1 && s == null ? void 0 : (t.call(s) ?? s[e]).apply(s, n);
1222
1222
  zn = String.prototype.replaceAll ?? function(e, t) {
1223
1223
  return e.global ? this.replace(e, t) : this.split(e).join(t);
1224
- }, ct = Jt("replaceAll", function() {
1224
+ };
1225
+ ct = Jt("replaceAll", function() {
1225
1226
  if (typeof this == "string") return zn;
1226
1227
  });
1227
1228
  V = Jt("at", function() {
1228
1229
  if (Array.isArray(this) || typeof this == "string") return Gn;
1229
1230
  });
1230
- Wn = () => {}, Dt = Wn;
1231
- Ot = "string", It = "array", $t = "cursor", kt = "indent", Et = "align", Xt = "trim", vt = "group", wt = "fill", Tt = "if-break", Zt = "indent-if-break", te = "line-suffix", ee = "line-suffix-boundary", Q = "line", re = "label", xt = "break-parent", ne = /* @__PURE__ */ new Set([
1231
+ Wn = () => {};
1232
+ Dt = Wn;
1233
+ Ot = "string";
1234
+ It = "array";
1235
+ $t = "cursor";
1236
+ kt = "indent";
1237
+ Et = "align";
1238
+ Xt = "trim";
1239
+ vt = "group";
1240
+ wt = "fill";
1241
+ Tt = "if-break";
1242
+ Zt = "indent-if-break";
1243
+ te = "line-suffix";
1244
+ ee = "line-suffix-boundary";
1245
+ Q = "line";
1246
+ re = "label";
1247
+ xt = "break-parent";
1248
+ ne = /* @__PURE__ */ new Set([
1232
1249
  $t,
1233
1250
  kt,
1234
1251
  Et,
@@ -1250,16 +1267,23 @@ __esmMin((() => {
1250
1267
  constructor(t) {
1251
1268
  super(Jn(t)), this.doc = t;
1252
1269
  }
1253
- }, Dr = Ie;
1254
- M = Dt, ae = Dt, Ir = Dt, Br = Dt;
1270
+ };
1271
+ Dr = Ie;
1272
+ M = Dt;
1273
+ ae = Dt;
1274
+ Ir = Dt;
1275
+ Br = Dt;
1255
1276
  Re = { type: xt };
1256
- N = { type: Q }, H = {
1277
+ N = { type: Q };
1278
+ H = {
1257
1279
  type: Q,
1258
1280
  soft: !0
1259
- }, ht = [{
1281
+ };
1282
+ ht = [{
1260
1283
  type: Q,
1261
1284
  hard: !0
1262
- }, Re], Or = [{
1285
+ }, Re];
1286
+ Or = [{
1263
1287
  type: Q,
1264
1288
  hard: !0,
1265
1289
  literal: !0
@@ -1267,13 +1291,16 @@ __esmMin((() => {
1267
1291
  Rr = Object.freeze({
1268
1292
  character: "'",
1269
1293
  codePoint: 39
1270
- }), qr = Object.freeze({
1294
+ });
1295
+ qr = Object.freeze({
1271
1296
  character: "\"",
1272
1297
  codePoint: 34
1273
- }), es = Object.freeze({
1298
+ });
1299
+ es = Object.freeze({
1274
1300
  preferred: Rr,
1275
1301
  alternate: qr
1276
- }), rs = Object.freeze({
1302
+ });
1303
+ rs = Object.freeze({
1277
1304
  preferred: qr,
1278
1305
  alternate: Rr
1279
1306
  });
@@ -1365,7 +1392,8 @@ __esmMin((() => {
1365
1392
  constructor(t, r, s = "type") {
1366
1393
  super(`Unexpected ${r} node ${s}: ${JSON.stringify(t[s])}.`), this.node = t;
1367
1394
  }
1368
- }, Fr = Ue;
1395
+ };
1396
+ Fr = Ue;
1369
1397
  Hr = as;
1370
1398
  Rt = null;
1371
1399
  os = 10;
@@ -5468,7 +5496,11 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5468
5496
  zscr: "𝓏",
5469
5497
  zwj: "‍",
5470
5498
  zwnj: "‌"
5471
- }, ws = /^#[xX]([A-Fa-f0-9]+)$/, Ts = /^#([0-9]+)$/, xs = /^([A-Za-z0-9]+)$/, $e = (function() {
5499
+ };
5500
+ ws = /^#[xX]([A-Fa-f0-9]+)$/;
5501
+ Ts = /^#([0-9]+)$/;
5502
+ xs = /^([A-Za-z0-9]+)$/;
5503
+ $e = (function() {
5472
5504
  function e(t) {
5473
5505
  this.named = t;
5474
5506
  }
@@ -5480,7 +5512,10 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5480
5512
  if (r = t.match(xs), r) return this.named[r[1]];
5481
5513
  }
5482
5514
  }, e;
5483
- })(), Ns = /[\t\n\f ]/, As = /[A-Za-z]/, Ps = /\r\n?/g;
5515
+ })();
5516
+ Ns = /[\t\n\f ]/;
5517
+ As = /[A-Za-z]/;
5518
+ Ps = /\r\n?/g;
5484
5519
  Xe = (function() {
5485
5520
  function e(t, r, s) {
5486
5521
  s === void 0 && (s = "precompile"), this.delegate = t, this.entityParser = r, this.mode = s, this.state = "beforeData", this.line = -1, this.column = -1, this.input = "", this.index = -1, this.tagNameBuffer = "", this.states = {
@@ -5851,19 +5886,23 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5851
5886
  st = Object.freeze({
5852
5887
  line: 1,
5853
5888
  column: 0
5854
- }), Bs = Object.freeze({
5889
+ });
5890
+ Bs = Object.freeze({
5855
5891
  source: "(synthetic)",
5856
5892
  start: st,
5857
5893
  end: st
5858
- }), sr = Object.freeze({
5894
+ });
5895
+ sr = Object.freeze({
5859
5896
  source: "(nonexistent)",
5860
5897
  start: st,
5861
5898
  end: st
5862
- }), nt = Object.freeze({
5899
+ });
5900
+ nt = Object.freeze({
5863
5901
  source: "(broken)",
5864
5902
  start: st,
5865
5903
  end: st
5866
- }), ir = class {
5904
+ });
5905
+ ir = class {
5867
5906
  constructor(t) {
5868
5907
  this._whens = t;
5869
5908
  }
@@ -5874,7 +5913,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5874
5913
  }
5875
5914
  return null;
5876
5915
  }
5877
- }, ge = class {
5916
+ };
5917
+ ge = class {
5878
5918
  get(t, r) {
5879
5919
  let s = this._map.get(t);
5880
5920
  return s || (s = r(), this._map.set(t, s), s);
@@ -5911,7 +5951,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5911
5951
  constructor() {
5912
5952
  this._whens = new ge();
5913
5953
  }
5914
- }, or = class e {
5954
+ };
5955
+ or = class e {
5915
5956
  static synthetic(t) {
5916
5957
  let r = A.synthetic(t);
5917
5958
  return new e({
@@ -5934,7 +5975,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5934
5975
  serialize() {
5935
5976
  return [this.chars, this.loc.serialize()];
5936
5977
  }
5937
- }, A = class e {
5978
+ };
5979
+ A = class e {
5938
5980
  static get NON_EXISTENT() {
5939
5981
  return new J("NonExistent", sr).wrap();
5940
5982
  }
@@ -6037,7 +6079,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6037
6079
  sliceEndChars({ skipEnd: t = 0, chars: r }) {
6038
6080
  return K(this.getEnd().move(t - r).data, this.getStart().move(-t).data);
6039
6081
  }
6040
- }, Ut = class {
6082
+ };
6083
+ Ut = class {
6041
6084
  #t;
6042
6085
  constructor(t, r) {
6043
6086
  this.source = t, this.charPositions = r, this.kind = "CharPosition", this.#t = null;
@@ -6076,7 +6119,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6076
6119
  toCharPosSpan() {
6077
6120
  return this;
6078
6121
  }
6079
- }, Mt = class {
6122
+ };
6123
+ Mt = class {
6080
6124
  #t;
6081
6125
  #e;
6082
6126
  constructor(t, r, s = null) {
@@ -6132,7 +6176,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6132
6176
  }
6133
6177
  return t === it ? null : t;
6134
6178
  }
6135
- }, J = class {
6179
+ };
6180
+ J = class {
6136
6181
  constructor(t, r, s = null) {
6137
6182
  this.kind = t, this.loc = r, this.string = s;
6138
6183
  }
@@ -6170,7 +6215,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6170
6215
  toHbsLoc() {
6171
6216
  return nt;
6172
6217
  }
6173
- }, K = ln(((e) => e.when("HbsPosition", "HbsPosition", ((t, r) => new Mt(t.source, {
6218
+ };
6219
+ K = ln(((e) => e.when("HbsPosition", "HbsPosition", ((t, r) => new Mt(t.source, {
6174
6220
  start: t,
6175
6221
  end: r
6176
6222
  }).wrap())).when("CharPosition", "CharPosition", ((t, r) => new Ut(t.source, {
@@ -6182,7 +6228,9 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6182
6228
  })).when("HbsPosition", "CharPosition", ((t, r) => {
6183
6229
  let s = t.toCharPos();
6184
6230
  return s === null ? new J("Broken", nt).wrap() : K(s, r);
6185
- })).when("IS_INVISIBLE", "MATCH_ANY", ((t) => new J(t.kind, nt).wrap())).when("MATCH_ANY", "IS_INVISIBLE", ((t, r) => new J(r.kind, nt).wrap())))), it = "BROKEN", Pt = class e {
6231
+ })).when("IS_INVISIBLE", "MATCH_ANY", ((t) => new J(t.kind, nt).wrap())).when("MATCH_ANY", "IS_INVISIBLE", ((t, r) => new J(r.kind, nt).wrap()))));
6232
+ it = "BROKEN";
6233
+ Pt = class e {
6186
6234
  static forHbsPos(t, r) {
6187
6235
  return new at(t, r, null).wrap();
6188
6236
  }
@@ -6216,7 +6264,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6216
6264
  toJSON() {
6217
6265
  return this.data.toJSON();
6218
6266
  }
6219
- }, mt = class {
6267
+ };
6268
+ mt = class {
6220
6269
  constructor(t, r) {
6221
6270
  this.source = t, this.charPos = r, this.kind = "CharPosition", this._locPos = null;
6222
6271
  }
@@ -6241,7 +6290,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6241
6290
  }
6242
6291
  return t === it ? null : t;
6243
6292
  }
6244
- }, at = class {
6293
+ };
6294
+ at = class {
6245
6295
  constructor(t, r, s = null) {
6246
6296
  this.source = t, this.hbsPos = r, this.kind = "HbsPosition", this._charPos = s === null ? null : new mt(t, s);
6247
6297
  }
@@ -6262,7 +6312,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6262
6312
  toHbsPos() {
6263
6313
  return this;
6264
6314
  }
6265
- }, zt = class {
6315
+ };
6316
+ zt = class {
6266
6317
  constructor(t, r) {
6267
6318
  this.kind = t, this.pos = r;
6268
6319
  }
@@ -6278,7 +6329,9 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6278
6329
  get offset() {
6279
6330
  return null;
6280
6331
  }
6281
- }, Rs = ln(((e) => e.when("HbsPosition", "HbsPosition", (({ hbsPos: t }, { hbsPos: r }) => t.column === r.column && t.line === r.line)).when("CharPosition", "CharPosition", (({ charPos: t }, { charPos: r }) => t === r)).when("CharPosition", "HbsPosition", (({ offset: t }, r) => t === r.toCharPos()?.offset)).when("HbsPosition", "CharPosition", ((t, { offset: r }) => t.toCharPos()?.offset === r)).when("MATCH_ANY", "MATCH_ANY", (() => !1)))), ft = class e {
6332
+ };
6333
+ Rs = ln(((e) => e.when("HbsPosition", "HbsPosition", (({ hbsPos: t }, { hbsPos: r }) => t.column === r.column && t.line === r.line)).when("CharPosition", "CharPosition", (({ charPos: t }, { charPos: r }) => t === r)).when("CharPosition", "HbsPosition", (({ offset: t }, r) => t === r.toCharPos()?.offset)).when("HbsPosition", "CharPosition", ((t, { offset: r }) => t.toCharPos()?.offset === r)).when("MATCH_ANY", "MATCH_ANY", (() => !1))));
6334
+ ft = class e {
6282
6335
  static from(t, r = {}) {
6283
6336
  return new e(t, r.meta?.moduleName);
6284
6337
  }
@@ -6385,7 +6438,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6385
6438
  UndefinedLiteral: [],
6386
6439
  Hash: ["pairs"],
6387
6440
  HashPair: ["value"]
6388
- }, mr = (function() {
6441
+ };
6442
+ mr = (function() {
6389
6443
  function e(t, r, s, n) {
6390
6444
  let i = Error.call(this, t);
6391
6445
  this.key = n, this.message = t, this.node = r, this.parent = s, i.stack && (this.stack = i.stack);
@@ -6402,7 +6456,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6402
6456
  parents() {
6403
6457
  return { [Symbol.iterator]: () => new lr(this) };
6404
6458
  }
6405
- }, lr = class {
6459
+ };
6460
+ lr = class {
6406
6461
  constructor(t) {
6407
6462
  this.path = t;
6408
6463
  }
@@ -6568,7 +6623,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6568
6623
  fe = {
6569
6624
  close: !1,
6570
6625
  open: !1
6571
- }, d = new class {
6626
+ };
6627
+ d = new class {
6572
6628
  pos({ line: e, column: t }) {
6573
6629
  return {
6574
6630
  line: e,
@@ -6869,7 +6925,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6869
6925
  loc: r
6870
6926
  });
6871
6927
  }
6872
- }(), cr = class {
6928
+ }();
6929
+ cr = class {
6873
6930
  constructor(t, r = new $e($r), s = "precompile") {
6874
6931
  this.elementStack = [], this.currentAttribute = null, this.currentNode = null, this.source = t, this.lines = t.source.split(/\r\n?|\n/u), this.tokenizer = new Xe(this, r, s);
6875
6932
  }
@@ -6918,7 +6975,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6918
6975
  return h.join(`
6919
6976
  `);
6920
6977
  }
6921
- }, ur = class extends cr {
6978
+ };
6979
+ ur = class extends cr {
6922
6980
  parse(t, r) {
6923
6981
  t.loc;
6924
6982
  let s = d.template({
@@ -7479,24 +7537,29 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
7479
7537
  constructor(...t) {
7480
7538
  super(...t), this.tagOpenLine = 0, this.tagOpenColumn = 0;
7481
7539
  }
7482
- }, Ms = {}, pr = class extends $e {
7540
+ };
7541
+ Ms = {};
7542
+ pr = class extends $e {
7483
7543
  constructor() {
7484
7544
  super({});
7485
7545
  }
7486
7546
  parse() {}
7487
7547
  };
7488
7548
  dn = Ur(be);
7489
- dt = (e) => e.loc.start.offset, Gt = (e) => e.loc.end.offset;
7549
+ dt = (e) => e.loc.start.offset;
7550
+ Gt = (e) => e.loc.end.offset;
7490
7551
  dr.ignoredProperties = /* @__PURE__ */ new Set(["loc", "selfClosing"]);
7491
7552
  Gs = new Set(on());
7492
7553
  xn = 2;
7493
7554
  ri = ({ path: e }, { path: t }) => [e, t].every((r) => r.type === "PathExpression" && r.head.type === "VarHead") && e.head.name === t.head.name;
7494
- hi = /* @__PURE__ */ new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"), pi = /* @__PURE__ */ new Set([
7555
+ hi = /* @__PURE__ */ new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~");
7556
+ pi = /* @__PURE__ */ new Set([
7495
7557
  "true",
7496
7558
  "false",
7497
7559
  "null",
7498
7560
  "undefined"
7499
- ]), fi = (e, t) => t === 0 && e.startsWith("@") ? !1 : t !== 0 && pi.has(e) || /\s/.test(e) || /^\d/.test(e) || Array.prototype.some.call(e, (r) => hi.has(r));
7561
+ ]);
7562
+ fi = (e, t) => t === 0 && e.startsWith("@") ? !1 : t !== 0 && pi.has(e) || /\s/.test(e) || /^\d/.test(e) || Array.prototype.some.call(e, (r) => hi.has(r));
7500
7563
  _n = {
7501
7564
  features: { experimental_frontMatterSupport: {
7502
7565
  massageAstNode: !0,
@@ -7530,12 +7593,14 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
7530
7593
  Ei = (e) => {
7531
7594
  let { start: t, end: r } = e.loc;
7532
7595
  t.offset = e.loc.getStart().offset, r.offset = e.loc.getEnd().offset;
7533
- }, vi = () => ({
7596
+ };
7597
+ vi = () => ({
7534
7598
  name: "glimmerPrettierParsePlugin",
7535
7599
  visitor: { All(e) {
7536
7600
  Ei(e), ki(e);
7537
7601
  } }
7538
- }), wi = {
7602
+ });
7603
+ wi = {
7539
7604
  mode: "codemod",
7540
7605
  plugins: { ast: [vi] }
7541
7606
  };
@@ -1,5 +1,5 @@
1
1
  import { n as __esmMin } from "./rolldown-runtime-CE-6LUnI.js";
2
- //#region ../../node_modules/.pnpm/prettier@3.9.4/node_modules/prettier/plugins/graphql.mjs
2
+ //#region ../../node_modules/.pnpm/prettier@3.9.5/node_modules/prettier/plugins/graphql.mjs
3
3
  function m(e) {
4
4
  return O(e), {
5
5
  type: Ie,
@@ -813,25 +813,32 @@ __esmMin((() => {
813
813
  Ae = (e, t) => (n, r, ...i) => n | 1 && r == null ? void 0 : (t.call(r) ?? r[e]).apply(r, i);
814
814
  Tt = String.prototype.replaceAll ?? function(e, t) {
815
815
  return e.global ? this.replace(e, t) : this.split(e).join(t);
816
- }, X = Ae("replaceAll", function() {
816
+ };
817
+ X = Ae("replaceAll", function() {
817
818
  if (typeof this == "string") return Tt;
818
819
  });
819
- yt = () => {}, ce = yt;
820
+ yt = () => {};
821
+ ce = yt;
820
822
  Ie = "indent";
821
823
  ge = "group";
822
824
  Se = "if-break";
823
825
  H = "line";
824
826
  Oe = "break-parent";
825
- O = ce, J = ce;
827
+ O = ce;
828
+ J = ce;
826
829
  pe = { type: Oe };
827
- S = { type: H }, u = {
830
+ S = { type: H };
831
+ u = {
828
832
  type: H,
829
833
  soft: !0
830
- }, l = [{
834
+ };
835
+ l = [{
831
836
  type: H,
832
837
  hard: !0
833
838
  }, pe];
834
- z = W(" "), ve = W(",; "), ke = W(/[^\n\r]/);
839
+ z = W(" ");
840
+ ve = W(",; ");
841
+ ke = W(/[^\n\r]/);
835
842
  Ce = (e) => e === `
836
843
  ` || e === "\r" || e === "\u2028" || e === "\u2029";
837
844
  Z = Dt;
@@ -843,7 +850,8 @@ __esmMin((() => {
843
850
  constructor(t, n, r = "type") {
844
851
  super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`), this.node = t;
845
852
  }
846
- }, Le = le;
853
+ };
854
+ Le = le;
847
855
  K = null;
848
856
  St = 10;
849
857
  for (let e = 0; e <= St; e++) j();
@@ -1001,10 +1009,15 @@ __esmMin((() => {
1001
1009
  "fields"
1002
1010
  ]
1003
1011
  }, "kind");
1004
- ee = (e) => e.loc.start, te = (e) => e.loc.end;
1012
+ ee = (e) => e.loc.start;
1013
+ te = (e) => e.loc.end;
1005
1014
  fe.ignoredProperties = /* @__PURE__ */ new Set(["loc", "comments"]);
1006
- we = "format", Ve = /^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/, Me = /^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/;
1007
- Ue = (e) => Me.test(e), Be = (e) => Ve.test(e), Ge = (e) => `# @${we}
1015
+ we = "format";
1016
+ Ve = /^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/;
1017
+ Me = /^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/;
1018
+ Ue = (e) => Me.test(e);
1019
+ Be = (e) => Ve.test(e);
1020
+ Ge = (e) => `# @${we}
1008
1021
 
1009
1022
  ${e}`;
1010
1023
  Ke = kt;
@@ -1158,7 +1171,8 @@ ${e}`;
1158
1171
  end: this.end
1159
1172
  };
1160
1173
  }
1161
- }, V = class {
1174
+ };
1175
+ V = class {
1162
1176
  constructor(t, n, r, i, s, a) {
1163
1177
  this.kind = t, this.start = n, this.end = r, this.line = i, this.column = s, this.value = a, this.prev = null, this.next = null;
1164
1178
  }
@@ -1232,7 +1246,56 @@ ${e}`;
1232
1246
  VARIABLE: () => zt,
1233
1247
  VARIABLE_DEFINITION: () => Yt
1234
1248
  });
1235
- Gt = "Name", Kt = "Document", jt = "OperationDefinition", Yt = "VariableDefinition", qt = "SelectionSet", Qt = "Field", $t = "Argument", Xt = "FragmentArgument", Ht = "FragmentSpread", Jt = "InlineFragment", Wt = "FragmentDefinition", zt = "Variable", Zt = "IntValue", en = "FloatValue", tn = "StringValue", nn = "BooleanValue", rn = "NullValue", sn = "EnumValue", on = "ListValue", an = "ObjectValue", cn = "ObjectField", pn = "Directive", un = "NamedType", ln = "ListType", dn = "NonNullType", fn = "SchemaDefinition", mn = "OperationTypeDefinition", hn = "ScalarTypeDefinition", En = "ObjectTypeDefinition", Tn = "FieldDefinition", xn = "InputValueDefinition", yn = "InterfaceTypeDefinition", Nn = "UnionTypeDefinition", Dn = "EnumTypeDefinition", _n = "EnumValueDefinition", An = "InputObjectTypeDefinition", In = "DirectiveDefinition", gn = "SchemaExtension", Sn = "DirectiveExtension", On = "ScalarTypeExtension", vn = "ObjectTypeExtension", kn = "InterfaceTypeExtension", Cn = "UnionTypeExtension", Rn = "EnumTypeExtension", Ln = "InputObjectTypeExtension", bn = "TypeCoordinate", Fn = "MemberCoordinate", Pn = "ArgumentCoordinate", wn = "DirectiveCoordinate", Vn = "DirectiveArgumentCoordinate";
1249
+ Gt = "Name";
1250
+ Kt = "Document";
1251
+ jt = "OperationDefinition";
1252
+ Yt = "VariableDefinition";
1253
+ qt = "SelectionSet";
1254
+ Qt = "Field";
1255
+ $t = "Argument";
1256
+ Xt = "FragmentArgument";
1257
+ Ht = "FragmentSpread";
1258
+ Jt = "InlineFragment";
1259
+ Wt = "FragmentDefinition";
1260
+ zt = "Variable";
1261
+ Zt = "IntValue";
1262
+ en = "FloatValue";
1263
+ tn = "StringValue";
1264
+ nn = "BooleanValue";
1265
+ rn = "NullValue";
1266
+ sn = "EnumValue";
1267
+ on = "ListValue";
1268
+ an = "ObjectValue";
1269
+ cn = "ObjectField";
1270
+ pn = "Directive";
1271
+ un = "NamedType";
1272
+ ln = "ListType";
1273
+ dn = "NonNullType";
1274
+ fn = "SchemaDefinition";
1275
+ mn = "OperationTypeDefinition";
1276
+ hn = "ScalarTypeDefinition";
1277
+ En = "ObjectTypeDefinition";
1278
+ Tn = "FieldDefinition";
1279
+ xn = "InputValueDefinition";
1280
+ yn = "InterfaceTypeDefinition";
1281
+ Nn = "UnionTypeDefinition";
1282
+ Dn = "EnumTypeDefinition";
1283
+ _n = "EnumValueDefinition";
1284
+ An = "InputObjectTypeDefinition";
1285
+ In = "DirectiveDefinition";
1286
+ gn = "SchemaExtension";
1287
+ Sn = "DirectiveExtension";
1288
+ On = "ScalarTypeExtension";
1289
+ vn = "ObjectTypeExtension";
1290
+ kn = "InterfaceTypeExtension";
1291
+ Cn = "UnionTypeExtension";
1292
+ Rn = "EnumTypeExtension";
1293
+ Ln = "InputObjectTypeExtension";
1294
+ bn = "TypeCoordinate";
1295
+ Fn = "MemberCoordinate";
1296
+ Pn = "ArgumentCoordinate";
1297
+ wn = "DirectiveCoordinate";
1298
+ Vn = "DirectiveArgumentCoordinate";
1236
1299
  ye = {
1237
1300
  QUERY: "QUERY",
1238
1301
  MUTATION: "MUTATION",
@@ -1256,7 +1319,8 @@ ${e}`;
1256
1319
  INPUT_FIELD_DEFINITION: "INPUT_FIELD_DEFINITION",
1257
1320
  DIRECTIVE_DEFINITION: "DIRECTIVE_DEFINITION"
1258
1321
  };
1259
- b = Un(), Ne = b?.tracingChannel("graphql:parse");
1322
+ b = Un();
1323
+ Ne = b?.tracingChannel("graphql:parse");
1260
1324
  b?.tracingChannel("graphql:validate");
1261
1325
  b?.tracingChannel("graphql:execute");
1262
1326
  b?.tracingChannel("graphql:execute:variableCoercion");
@@ -1318,7 +1382,8 @@ ${e}`;
1318
1382
  return t;
1319
1383
  }
1320
1384
  };
1321
- ut = Symbol("Source"), B = class {
1385
+ ut = Symbol("Source");
1386
+ B = class {
1322
1387
  constructor(t, n = "GraphQL request", r = {
1323
1388
  line: 1,
1324
1389
  column: 1