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.
- package/dist/{acorn-Cvoi4PWR.js → acorn-LGWopQvF.js} +1 -1
- package/dist/{angular-DPcoLhcH.js → angular-BbAuvH72.js} +15 -205
- package/dist/{apis-DkdEeIjV.js → apis-CvFX8LhR.js} +5 -5
- package/dist/{babel-CVxlCcDg.js → babel-DLjwvkt5.js} +8 -8
- package/dist/{bindings-NuElWCOb.js → bindings-Cj_GMsoO.js} +27 -27
- package/dist/{chunk-DSjvVL_1-Q4hfmPG1.js → chunk-DSjvVL_1-DllBg9tc.js} +1 -1
- package/dist/cli-worker.js +1 -1
- package/dist/cli.js +3 -3
- package/dist/{dist-DivOnw62.js → dist-BKyxiMdj.js} +15 -15
- package/dist/{estree-CkMEq_Zb.js → estree-DbmUPhmV.js} +7 -7
- package/dist/{flow-BXs7AWV-.js → flow-CJbpv7JL.js} +5 -5
- package/dist/{glimmer-BN5XmZ27.js → glimmer-Ba_8Z2bG.js} +5 -5
- package/dist/{graphql-BgY-saF-.js → graphql-CZ7EPWgo.js} +2 -2
- package/dist/{html-vBUPNHC4.js → html-DblM11Xw.js} +98 -98
- package/dist/index.js +3 -3
- package/dist/{jiti-Bb1dT6Cw-BAogql5V.js → jiti-Bb1dT6Cw-0c6As3U-.js} +28 -28
- package/dist/{markdown-Bowe09rB.js → markdown-B5hFVJKQ.js} +7 -7
- package/dist/{meriyah-CLIO9qWy.js → meriyah-DafjRZfO.js} +2 -2
- package/dist/{migrate-prettier-qkEMts2A.js → migrate-prettier-DrYAkU3F.js} +1 -1
- package/dist/{plugin-Beq25NZF.js → plugin-BuVceHGR.js} +10 -10
- package/dist/{postcss-nPoy2yt-.js → postcss-CkhtwsAS.js} +7 -7
- package/dist/{prettier-D67P9sCF.js → prettier-DKAx5A83.js} +25 -25
- package/dist/{rolldown-runtime-CNf5ZN-e.js → rolldown-runtime-CE-6LUnI.js} +9 -2
- package/dist/{sorter-BZkvDMjt-COt95VpI.js → sorter-BZkvDMjt-C8qUPUh2.js} +10 -9
- package/dist/{sorter-BPzPgLsP.js → sorter-DSVZH4kF.js} +1 -1
- package/dist/{typescript-DgGTZjEC.js → typescript-DaxiA0nr.js} +15 -15
- package/dist/{v3-D-mr2VVh-sE8Y1ugu.js → v3-D-mr2VVh-Ch8a-2Ce.js} +22 -22
- package/dist/{v4-C-HWEQJm-9cSRecG6.js → v4-C-HWEQJm-DheWK34Z.js} +12 -12
- package/dist/{yaml-BStl3JdL.js → yaml-BC7gw7un.js} +5 -5
- package/package.json +20 -20
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __esmMin } from "./rolldown-runtime-
|
|
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/html.mjs
|
|
3
3
|
function ns(e) {
|
|
4
4
|
return this[e < 0 ? this.length + e : e];
|
|
@@ -1852,7 +1852,7 @@ __esmMin((() => {
|
|
|
1852
1852
|
if (Array.isArray(this) || typeof this == "string") return ns;
|
|
1853
1853
|
});
|
|
1854
1854
|
ss = () => {}, He = ss;
|
|
1855
|
-
Ve = "string", Ue = "array", lt = "cursor", Te = "indent", be = "align", ct = "trim", we = "group", ke = "fill", xe = "if-break", ye = "indent-if-break", ut = "line-suffix", pt = "line-suffix-boundary", $ = "line", ht = "label", Ae = "break-parent", mt = new Set([
|
|
1855
|
+
Ve = "string", Ue = "array", lt = "cursor", Te = "indent", be = "align", ct = "trim", we = "group", ke = "fill", xe = "if-break", ye = "indent-if-break", ut = "line-suffix", pt = "line-suffix-boundary", $ = "line", ht = "label", Ae = "break-parent", mt = /* @__PURE__ */ new Set([
|
|
1856
1856
|
lt,
|
|
1857
1857
|
Te,
|
|
1858
1858
|
be,
|
|
@@ -1990,7 +1990,7 @@ __esmMin((() => {
|
|
|
1990
1990
|
super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`), this.node = t;
|
|
1991
1991
|
}
|
|
1992
1992
|
}, Gr = Yt;
|
|
1993
|
-
_s = new Set([
|
|
1993
|
+
_s = /* @__PURE__ */ new Set([
|
|
1994
1994
|
"sourceSpan",
|
|
1995
1995
|
"startSourceSpan",
|
|
1996
1996
|
"endSourceSpan",
|
|
@@ -2003,7 +2003,7 @@ __esmMin((() => {
|
|
|
2003
2003
|
"switchValueSourceSpan",
|
|
2004
2004
|
"expSourceSpan",
|
|
2005
2005
|
"valueSourceSpan"
|
|
2006
|
-
]), Ss = new Set([
|
|
2006
|
+
]), Ss = /* @__PURE__ */ new Set([
|
|
2007
2007
|
"if",
|
|
2008
2008
|
"else if",
|
|
2009
2009
|
"for",
|
|
@@ -2132,7 +2132,7 @@ __esmMin((() => {
|
|
|
2132
2132
|
text: t
|
|
2133
2133
|
};
|
|
2134
2134
|
};
|
|
2135
|
-
Ys = new Set([
|
|
2135
|
+
Ys = /* @__PURE__ */ new Set([
|
|
2136
2136
|
"template",
|
|
2137
2137
|
"style",
|
|
2138
2138
|
"script"
|
|
@@ -2171,7 +2171,7 @@ __esmMin((() => {
|
|
|
2171
2171
|
}));
|
|
2172
2172
|
Tn = Xs;
|
|
2173
2173
|
bn = ({ node: e }, t) => !t.parentParser && e.fullName === "class" && !e.value.includes("{{"), wn = (e, t, r) => b(r.node).trim().split(/\s+/u).join(" ");
|
|
2174
|
-
Js = new Set([
|
|
2174
|
+
Js = /* @__PURE__ */ new Set([
|
|
2175
2175
|
"onabort",
|
|
2176
2176
|
"onafterprint",
|
|
2177
2177
|
"onauxclick",
|
|
@@ -2347,7 +2347,7 @@ __esmMin((() => {
|
|
|
2347
2347
|
K = (e) => e.sourceSpan.start.offset, J = (e) => e.sourceSpan.end.offset;
|
|
2348
2348
|
Gn = "<!doctype";
|
|
2349
2349
|
Nt = Ca;
|
|
2350
|
-
va = new Set([
|
|
2350
|
+
va = /* @__PURE__ */ new Set([
|
|
2351
2351
|
"if",
|
|
2352
2352
|
"else if",
|
|
2353
2353
|
"for",
|
|
@@ -2385,26 +2385,26 @@ __esmMin((() => {
|
|
|
2385
2385
|
Zn = (e) => Jn.test(e), ei = (e) => Qn.test(e), ti = (e) => `<!-- @${Kn} -->
|
|
2386
2386
|
|
|
2387
2387
|
${e}`;
|
|
2388
|
-
ri = new Map([
|
|
2389
|
-
["if", new Set(["else if", "else"])],
|
|
2390
|
-
["else if", new Set(["else if", "else"])],
|
|
2391
|
-
["for", new Set(["empty"])],
|
|
2392
|
-
["defer", new Set([
|
|
2388
|
+
ri = /* @__PURE__ */ new Map([
|
|
2389
|
+
["if", /* @__PURE__ */ new Set(["else if", "else"])],
|
|
2390
|
+
["else if", /* @__PURE__ */ new Set(["else if", "else"])],
|
|
2391
|
+
["for", /* @__PURE__ */ new Set(["empty"])],
|
|
2392
|
+
["defer", /* @__PURE__ */ new Set([
|
|
2393
2393
|
"placeholder",
|
|
2394
2394
|
"error",
|
|
2395
2395
|
"loading"
|
|
2396
2396
|
])],
|
|
2397
|
-
["placeholder", new Set([
|
|
2397
|
+
["placeholder", /* @__PURE__ */ new Set([
|
|
2398
2398
|
"placeholder",
|
|
2399
2399
|
"error",
|
|
2400
2400
|
"loading"
|
|
2401
2401
|
])],
|
|
2402
|
-
["error", new Set([
|
|
2402
|
+
["error", /* @__PURE__ */ new Set([
|
|
2403
2403
|
"placeholder",
|
|
2404
2404
|
"error",
|
|
2405
2405
|
"loading"
|
|
2406
2406
|
])],
|
|
2407
|
-
["loading", new Set([
|
|
2407
|
+
["loading", /* @__PURE__ */ new Set([
|
|
2408
2408
|
"placeholder",
|
|
2409
2409
|
"error",
|
|
2410
2410
|
"loading"
|
|
@@ -6317,8 +6317,8 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6317
6317
|
isTagNameCaseSensitive: !1,
|
|
6318
6318
|
shouldParseFrontMatter: !0
|
|
6319
6319
|
};
|
|
6320
|
-
Bt = new Map([
|
|
6321
|
-
["*", new Set([
|
|
6320
|
+
Bt = /* @__PURE__ */ new Map([
|
|
6321
|
+
["*", /* @__PURE__ */ new Set([
|
|
6322
6322
|
"accesskey",
|
|
6323
6323
|
"autocapitalize",
|
|
6324
6324
|
"autocorrect",
|
|
@@ -6351,7 +6351,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6351
6351
|
"translate",
|
|
6352
6352
|
"writingsuggestions"
|
|
6353
6353
|
])],
|
|
6354
|
-
["a", new Set([
|
|
6354
|
+
["a", /* @__PURE__ */ new Set([
|
|
6355
6355
|
"charset",
|
|
6356
6356
|
"coords",
|
|
6357
6357
|
"download",
|
|
@@ -6366,7 +6366,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6366
6366
|
"target",
|
|
6367
6367
|
"type"
|
|
6368
6368
|
])],
|
|
6369
|
-
["applet", new Set([
|
|
6369
|
+
["applet", /* @__PURE__ */ new Set([
|
|
6370
6370
|
"align",
|
|
6371
6371
|
"alt",
|
|
6372
6372
|
"archive",
|
|
@@ -6379,7 +6379,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6379
6379
|
"vspace",
|
|
6380
6380
|
"width"
|
|
6381
6381
|
])],
|
|
6382
|
-
["area", new Set([
|
|
6382
|
+
["area", /* @__PURE__ */ new Set([
|
|
6383
6383
|
"alt",
|
|
6384
6384
|
"coords",
|
|
6385
6385
|
"download",
|
|
@@ -6393,7 +6393,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6393
6393
|
"target",
|
|
6394
6394
|
"type"
|
|
6395
6395
|
])],
|
|
6396
|
-
["audio", new Set([
|
|
6396
|
+
["audio", /* @__PURE__ */ new Set([
|
|
6397
6397
|
"autoplay",
|
|
6398
6398
|
"controls",
|
|
6399
6399
|
"crossorigin",
|
|
@@ -6402,14 +6402,14 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6402
6402
|
"preload",
|
|
6403
6403
|
"src"
|
|
6404
6404
|
])],
|
|
6405
|
-
["base", new Set(["href", "target"])],
|
|
6406
|
-
["basefont", new Set([
|
|
6405
|
+
["base", /* @__PURE__ */ new Set(["href", "target"])],
|
|
6406
|
+
["basefont", /* @__PURE__ */ new Set([
|
|
6407
6407
|
"color",
|
|
6408
6408
|
"face",
|
|
6409
6409
|
"size"
|
|
6410
6410
|
])],
|
|
6411
|
-
["blockquote", new Set(["cite"])],
|
|
6412
|
-
["body", new Set([
|
|
6411
|
+
["blockquote", /* @__PURE__ */ new Set(["cite"])],
|
|
6412
|
+
["body", /* @__PURE__ */ new Set([
|
|
6413
6413
|
"alink",
|
|
6414
6414
|
"background",
|
|
6415
6415
|
"bgcolor",
|
|
@@ -6417,8 +6417,8 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6417
6417
|
"text",
|
|
6418
6418
|
"vlink"
|
|
6419
6419
|
])],
|
|
6420
|
-
["br", new Set(["clear"])],
|
|
6421
|
-
["button", new Set([
|
|
6420
|
+
["br", /* @__PURE__ */ new Set(["clear"])],
|
|
6421
|
+
["button", /* @__PURE__ */ new Set([
|
|
6422
6422
|
"command",
|
|
6423
6423
|
"commandfor",
|
|
6424
6424
|
"disabled",
|
|
@@ -6434,9 +6434,9 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6434
6434
|
"type",
|
|
6435
6435
|
"value"
|
|
6436
6436
|
])],
|
|
6437
|
-
["canvas", new Set(["height", "width"])],
|
|
6438
|
-
["caption", new Set(["align"])],
|
|
6439
|
-
["col", new Set([
|
|
6437
|
+
["canvas", /* @__PURE__ */ new Set(["height", "width"])],
|
|
6438
|
+
["caption", /* @__PURE__ */ new Set(["align"])],
|
|
6439
|
+
["col", /* @__PURE__ */ new Set([
|
|
6440
6440
|
"align",
|
|
6441
6441
|
"char",
|
|
6442
6442
|
"charoff",
|
|
@@ -6444,7 +6444,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6444
6444
|
"valign",
|
|
6445
6445
|
"width"
|
|
6446
6446
|
])],
|
|
6447
|
-
["colgroup", new Set([
|
|
6447
|
+
["colgroup", /* @__PURE__ */ new Set([
|
|
6448
6448
|
"align",
|
|
6449
6449
|
"char",
|
|
6450
6450
|
"charoff",
|
|
@@ -6452,30 +6452,30 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6452
6452
|
"valign",
|
|
6453
6453
|
"width"
|
|
6454
6454
|
])],
|
|
6455
|
-
["data", new Set(["value"])],
|
|
6456
|
-
["del", new Set(["cite", "datetime"])],
|
|
6457
|
-
["details", new Set(["name", "open"])],
|
|
6458
|
-
["dialog", new Set(["closedby", "open"])],
|
|
6459
|
-
["dir", new Set(["compact"])],
|
|
6460
|
-
["div", new Set(["align"])],
|
|
6461
|
-
["dl", new Set(["compact"])],
|
|
6462
|
-
["embed", new Set([
|
|
6455
|
+
["data", /* @__PURE__ */ new Set(["value"])],
|
|
6456
|
+
["del", /* @__PURE__ */ new Set(["cite", "datetime"])],
|
|
6457
|
+
["details", /* @__PURE__ */ new Set(["name", "open"])],
|
|
6458
|
+
["dialog", /* @__PURE__ */ new Set(["closedby", "open"])],
|
|
6459
|
+
["dir", /* @__PURE__ */ new Set(["compact"])],
|
|
6460
|
+
["div", /* @__PURE__ */ new Set(["align"])],
|
|
6461
|
+
["dl", /* @__PURE__ */ new Set(["compact"])],
|
|
6462
|
+
["embed", /* @__PURE__ */ new Set([
|
|
6463
6463
|
"height",
|
|
6464
6464
|
"src",
|
|
6465
6465
|
"type",
|
|
6466
6466
|
"width"
|
|
6467
6467
|
])],
|
|
6468
|
-
["fieldset", new Set([
|
|
6468
|
+
["fieldset", /* @__PURE__ */ new Set([
|
|
6469
6469
|
"disabled",
|
|
6470
6470
|
"form",
|
|
6471
6471
|
"name"
|
|
6472
6472
|
])],
|
|
6473
|
-
["font", new Set([
|
|
6473
|
+
["font", /* @__PURE__ */ new Set([
|
|
6474
6474
|
"color",
|
|
6475
6475
|
"face",
|
|
6476
6476
|
"size"
|
|
6477
6477
|
])],
|
|
6478
|
-
["form", new Set([
|
|
6478
|
+
["form", /* @__PURE__ */ new Set([
|
|
6479
6479
|
"accept",
|
|
6480
6480
|
"accept-charset",
|
|
6481
6481
|
"action",
|
|
@@ -6486,7 +6486,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6486
6486
|
"novalidate",
|
|
6487
6487
|
"target"
|
|
6488
6488
|
])],
|
|
6489
|
-
["frame", new Set([
|
|
6489
|
+
["frame", /* @__PURE__ */ new Set([
|
|
6490
6490
|
"frameborder",
|
|
6491
6491
|
"longdesc",
|
|
6492
6492
|
"marginheight",
|
|
@@ -6496,22 +6496,22 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6496
6496
|
"scrolling",
|
|
6497
6497
|
"src"
|
|
6498
6498
|
])],
|
|
6499
|
-
["frameset", new Set(["cols", "rows"])],
|
|
6500
|
-
["h1", new Set(["align"])],
|
|
6501
|
-
["h2", new Set(["align"])],
|
|
6502
|
-
["h3", new Set(["align"])],
|
|
6503
|
-
["h4", new Set(["align"])],
|
|
6504
|
-
["h5", new Set(["align"])],
|
|
6505
|
-
["h6", new Set(["align"])],
|
|
6506
|
-
["head", new Set(["profile"])],
|
|
6507
|
-
["hr", new Set([
|
|
6499
|
+
["frameset", /* @__PURE__ */ new Set(["cols", "rows"])],
|
|
6500
|
+
["h1", /* @__PURE__ */ new Set(["align"])],
|
|
6501
|
+
["h2", /* @__PURE__ */ new Set(["align"])],
|
|
6502
|
+
["h3", /* @__PURE__ */ new Set(["align"])],
|
|
6503
|
+
["h4", /* @__PURE__ */ new Set(["align"])],
|
|
6504
|
+
["h5", /* @__PURE__ */ new Set(["align"])],
|
|
6505
|
+
["h6", /* @__PURE__ */ new Set(["align"])],
|
|
6506
|
+
["head", /* @__PURE__ */ new Set(["profile"])],
|
|
6507
|
+
["hr", /* @__PURE__ */ new Set([
|
|
6508
6508
|
"align",
|
|
6509
6509
|
"noshade",
|
|
6510
6510
|
"size",
|
|
6511
6511
|
"width"
|
|
6512
6512
|
])],
|
|
6513
|
-
["html", new Set(["manifest", "version"])],
|
|
6514
|
-
["iframe", new Set([
|
|
6513
|
+
["html", /* @__PURE__ */ new Set(["manifest", "version"])],
|
|
6514
|
+
["iframe", /* @__PURE__ */ new Set([
|
|
6515
6515
|
"align",
|
|
6516
6516
|
"allow",
|
|
6517
6517
|
"allowfullscreen",
|
|
@@ -6531,7 +6531,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6531
6531
|
"srcdoc",
|
|
6532
6532
|
"width"
|
|
6533
6533
|
])],
|
|
6534
|
-
["img", new Set([
|
|
6534
|
+
["img", /* @__PURE__ */ new Set([
|
|
6535
6535
|
"align",
|
|
6536
6536
|
"alt",
|
|
6537
6537
|
"border",
|
|
@@ -6552,7 +6552,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6552
6552
|
"vspace",
|
|
6553
6553
|
"width"
|
|
6554
6554
|
])],
|
|
6555
|
-
["input", new Set([
|
|
6555
|
+
["input", /* @__PURE__ */ new Set([
|
|
6556
6556
|
"accept",
|
|
6557
6557
|
"align",
|
|
6558
6558
|
"alpha",
|
|
@@ -6591,12 +6591,12 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6591
6591
|
"value",
|
|
6592
6592
|
"width"
|
|
6593
6593
|
])],
|
|
6594
|
-
["ins", new Set(["cite", "datetime"])],
|
|
6595
|
-
["isindex", new Set(["prompt"])],
|
|
6596
|
-
["label", new Set(["for", "form"])],
|
|
6597
|
-
["legend", new Set(["align"])],
|
|
6598
|
-
["li", new Set(["type", "value"])],
|
|
6599
|
-
["link", new Set([
|
|
6594
|
+
["ins", /* @__PURE__ */ new Set(["cite", "datetime"])],
|
|
6595
|
+
["isindex", /* @__PURE__ */ new Set(["prompt"])],
|
|
6596
|
+
["label", /* @__PURE__ */ new Set(["for", "form"])],
|
|
6597
|
+
["legend", /* @__PURE__ */ new Set(["align"])],
|
|
6598
|
+
["li", /* @__PURE__ */ new Set(["type", "value"])],
|
|
6599
|
+
["link", /* @__PURE__ */ new Set([
|
|
6600
6600
|
"as",
|
|
6601
6601
|
"blocking",
|
|
6602
6602
|
"charset",
|
|
@@ -6617,9 +6617,9 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6617
6617
|
"target",
|
|
6618
6618
|
"type"
|
|
6619
6619
|
])],
|
|
6620
|
-
["map", new Set(["name"])],
|
|
6621
|
-
["menu", new Set(["compact"])],
|
|
6622
|
-
["meta", new Set([
|
|
6620
|
+
["map", /* @__PURE__ */ new Set(["name"])],
|
|
6621
|
+
["menu", /* @__PURE__ */ new Set(["compact"])],
|
|
6622
|
+
["meta", /* @__PURE__ */ new Set([
|
|
6623
6623
|
"charset",
|
|
6624
6624
|
"content",
|
|
6625
6625
|
"http-equiv",
|
|
@@ -6627,7 +6627,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6627
6627
|
"name",
|
|
6628
6628
|
"scheme"
|
|
6629
6629
|
])],
|
|
6630
|
-
["meter", new Set([
|
|
6630
|
+
["meter", /* @__PURE__ */ new Set([
|
|
6631
6631
|
"high",
|
|
6632
6632
|
"low",
|
|
6633
6633
|
"max",
|
|
@@ -6635,7 +6635,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6635
6635
|
"optimum",
|
|
6636
6636
|
"value"
|
|
6637
6637
|
])],
|
|
6638
|
-
["object", new Set([
|
|
6638
|
+
["object", /* @__PURE__ */ new Set([
|
|
6639
6639
|
"align",
|
|
6640
6640
|
"archive",
|
|
6641
6641
|
"border",
|
|
@@ -6655,35 +6655,35 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6655
6655
|
"vspace",
|
|
6656
6656
|
"width"
|
|
6657
6657
|
])],
|
|
6658
|
-
["ol", new Set([
|
|
6658
|
+
["ol", /* @__PURE__ */ new Set([
|
|
6659
6659
|
"compact",
|
|
6660
6660
|
"reversed",
|
|
6661
6661
|
"start",
|
|
6662
6662
|
"type"
|
|
6663
6663
|
])],
|
|
6664
|
-
["optgroup", new Set(["disabled", "label"])],
|
|
6665
|
-
["option", new Set([
|
|
6664
|
+
["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])],
|
|
6665
|
+
["option", /* @__PURE__ */ new Set([
|
|
6666
6666
|
"disabled",
|
|
6667
6667
|
"label",
|
|
6668
6668
|
"selected",
|
|
6669
6669
|
"value"
|
|
6670
6670
|
])],
|
|
6671
|
-
["output", new Set([
|
|
6671
|
+
["output", /* @__PURE__ */ new Set([
|
|
6672
6672
|
"for",
|
|
6673
6673
|
"form",
|
|
6674
6674
|
"name"
|
|
6675
6675
|
])],
|
|
6676
|
-
["p", new Set(["align"])],
|
|
6677
|
-
["param", new Set([
|
|
6676
|
+
["p", /* @__PURE__ */ new Set(["align"])],
|
|
6677
|
+
["param", /* @__PURE__ */ new Set([
|
|
6678
6678
|
"name",
|
|
6679
6679
|
"type",
|
|
6680
6680
|
"value",
|
|
6681
6681
|
"valuetype"
|
|
6682
6682
|
])],
|
|
6683
|
-
["pre", new Set(["width"])],
|
|
6684
|
-
["progress", new Set(["max", "value"])],
|
|
6685
|
-
["q", new Set(["cite"])],
|
|
6686
|
-
["script", new Set([
|
|
6683
|
+
["pre", /* @__PURE__ */ new Set(["width"])],
|
|
6684
|
+
["progress", /* @__PURE__ */ new Set(["max", "value"])],
|
|
6685
|
+
["q", /* @__PURE__ */ new Set(["cite"])],
|
|
6686
|
+
["script", /* @__PURE__ */ new Set([
|
|
6687
6687
|
"async",
|
|
6688
6688
|
"blocking",
|
|
6689
6689
|
"charset",
|
|
@@ -6697,7 +6697,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6697
6697
|
"src",
|
|
6698
6698
|
"type"
|
|
6699
6699
|
])],
|
|
6700
|
-
["select", new Set([
|
|
6700
|
+
["select", /* @__PURE__ */ new Set([
|
|
6701
6701
|
"autocomplete",
|
|
6702
6702
|
"disabled",
|
|
6703
6703
|
"form",
|
|
@@ -6706,8 +6706,8 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6706
6706
|
"required",
|
|
6707
6707
|
"size"
|
|
6708
6708
|
])],
|
|
6709
|
-
["slot", new Set(["name"])],
|
|
6710
|
-
["source", new Set([
|
|
6709
|
+
["slot", /* @__PURE__ */ new Set(["name"])],
|
|
6710
|
+
["source", /* @__PURE__ */ new Set([
|
|
6711
6711
|
"height",
|
|
6712
6712
|
"media",
|
|
6713
6713
|
"sizes",
|
|
@@ -6716,12 +6716,12 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6716
6716
|
"type",
|
|
6717
6717
|
"width"
|
|
6718
6718
|
])],
|
|
6719
|
-
["style", new Set([
|
|
6719
|
+
["style", /* @__PURE__ */ new Set([
|
|
6720
6720
|
"blocking",
|
|
6721
6721
|
"media",
|
|
6722
6722
|
"type"
|
|
6723
6723
|
])],
|
|
6724
|
-
["table", new Set([
|
|
6724
|
+
["table", /* @__PURE__ */ new Set([
|
|
6725
6725
|
"align",
|
|
6726
6726
|
"bgcolor",
|
|
6727
6727
|
"border",
|
|
@@ -6732,13 +6732,13 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6732
6732
|
"summary",
|
|
6733
6733
|
"width"
|
|
6734
6734
|
])],
|
|
6735
|
-
["tbody", new Set([
|
|
6735
|
+
["tbody", /* @__PURE__ */ new Set([
|
|
6736
6736
|
"align",
|
|
6737
6737
|
"char",
|
|
6738
6738
|
"charoff",
|
|
6739
6739
|
"valign"
|
|
6740
6740
|
])],
|
|
6741
|
-
["td", new Set([
|
|
6741
|
+
["td", /* @__PURE__ */ new Set([
|
|
6742
6742
|
"abbr",
|
|
6743
6743
|
"align",
|
|
6744
6744
|
"axis",
|
|
@@ -6754,14 +6754,14 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6754
6754
|
"valign",
|
|
6755
6755
|
"width"
|
|
6756
6756
|
])],
|
|
6757
|
-
["template", new Set([
|
|
6757
|
+
["template", /* @__PURE__ */ new Set([
|
|
6758
6758
|
"shadowrootclonable",
|
|
6759
6759
|
"shadowrootcustomelementregistry",
|
|
6760
6760
|
"shadowrootdelegatesfocus",
|
|
6761
6761
|
"shadowrootmode",
|
|
6762
6762
|
"shadowrootserializable"
|
|
6763
6763
|
])],
|
|
6764
|
-
["textarea", new Set([
|
|
6764
|
+
["textarea", /* @__PURE__ */ new Set([
|
|
6765
6765
|
"autocomplete",
|
|
6766
6766
|
"cols",
|
|
6767
6767
|
"dirname",
|
|
@@ -6776,13 +6776,13 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6776
6776
|
"rows",
|
|
6777
6777
|
"wrap"
|
|
6778
6778
|
])],
|
|
6779
|
-
["tfoot", new Set([
|
|
6779
|
+
["tfoot", /* @__PURE__ */ new Set([
|
|
6780
6780
|
"align",
|
|
6781
6781
|
"char",
|
|
6782
6782
|
"charoff",
|
|
6783
6783
|
"valign"
|
|
6784
6784
|
])],
|
|
6785
|
-
["th", new Set([
|
|
6785
|
+
["th", /* @__PURE__ */ new Set([
|
|
6786
6786
|
"abbr",
|
|
6787
6787
|
"align",
|
|
6788
6788
|
"axis",
|
|
@@ -6798,29 +6798,29 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6798
6798
|
"valign",
|
|
6799
6799
|
"width"
|
|
6800
6800
|
])],
|
|
6801
|
-
["thead", new Set([
|
|
6801
|
+
["thead", /* @__PURE__ */ new Set([
|
|
6802
6802
|
"align",
|
|
6803
6803
|
"char",
|
|
6804
6804
|
"charoff",
|
|
6805
6805
|
"valign"
|
|
6806
6806
|
])],
|
|
6807
|
-
["time", new Set(["datetime"])],
|
|
6808
|
-
["tr", new Set([
|
|
6807
|
+
["time", /* @__PURE__ */ new Set(["datetime"])],
|
|
6808
|
+
["tr", /* @__PURE__ */ new Set([
|
|
6809
6809
|
"align",
|
|
6810
6810
|
"bgcolor",
|
|
6811
6811
|
"char",
|
|
6812
6812
|
"charoff",
|
|
6813
6813
|
"valign"
|
|
6814
6814
|
])],
|
|
6815
|
-
["track", new Set([
|
|
6815
|
+
["track", /* @__PURE__ */ new Set([
|
|
6816
6816
|
"default",
|
|
6817
6817
|
"kind",
|
|
6818
6818
|
"label",
|
|
6819
6819
|
"src",
|
|
6820
6820
|
"srclang"
|
|
6821
6821
|
])],
|
|
6822
|
-
["ul", new Set(["compact", "type"])],
|
|
6823
|
-
["video", new Set([
|
|
6822
|
+
["ul", /* @__PURE__ */ new Set(["compact", "type"])],
|
|
6823
|
+
["video", /* @__PURE__ */ new Set([
|
|
6824
6824
|
"autoplay",
|
|
6825
6825
|
"controls",
|
|
6826
6826
|
"crossorigin",
|
|
@@ -6834,7 +6834,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6834
6834
|
"width"
|
|
6835
6835
|
])]
|
|
6836
6836
|
]);
|
|
6837
|
-
zi = new Set([
|
|
6837
|
+
zi = /* @__PURE__ */ new Set([
|
|
6838
6838
|
"a",
|
|
6839
6839
|
"abbr",
|
|
6840
6840
|
"acronym",
|
|
@@ -6991,12 +6991,12 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
6991
6991
|
children: !0,
|
|
6992
6992
|
cases: !0,
|
|
6993
6993
|
expression: !0
|
|
6994
|
-
}, $i = new Set(["parent"]), Be = class Be {
|
|
6994
|
+
}, $i = /* @__PURE__ */ new Set(["parent"]), Be = class Be {
|
|
6995
6995
|
constructor(t = {}) {
|
|
6996
6996
|
Dr(this, re);
|
|
6997
6997
|
Ut(this, "kind");
|
|
6998
6998
|
Ut(this, "parent");
|
|
6999
|
-
for (let r of new Set([...$i, ...Object.keys(t)])) this.setProperty(r, t[r]);
|
|
6999
|
+
for (let r of /* @__PURE__ */ new Set([...$i, ...Object.keys(t)])) this.setProperty(r, t[r]);
|
|
7000
7000
|
if (ie(t)) for (let r of Object.getOwnPropertySymbols(t)) this.setProperty(r, t[r]);
|
|
7001
7001
|
}
|
|
7002
7002
|
setProperty(t, r) {
|
|
@@ -7116,7 +7116,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
7116
7116
|
normalizeAttributeName: !0,
|
|
7117
7117
|
allowHtmComponentClosingTags: !0
|
|
7118
7118
|
});
|
|
7119
|
-
Oo = at(Ht), Do = new Set(["mj-style", "mj-raw"]), Io = at({
|
|
7119
|
+
Oo = at(Ht), Do = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), Io = at({
|
|
7120
7120
|
...Ht,
|
|
7121
7121
|
name: "mjml",
|
|
7122
7122
|
shouldParseAsRawText: (e) => Do.has(e)
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-
|
|
1
|
+
import { i as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-CvFX8LhR.js";
|
|
2
2
|
import { n as toNullable, t as toFormatFileResult } from "./napi-callbacks-Sb-usWTs.js";
|
|
3
3
|
//#region src-js/index.ts
|
|
4
4
|
/**
|
|
@@ -14,7 +14,7 @@ let BINDINGS_CACHE = null;
|
|
|
14
14
|
async function format(fileName, sourceText, options) {
|
|
15
15
|
if (typeof fileName !== "string") throw new TypeError("`fileName` must be a string");
|
|
16
16
|
if (typeof sourceText !== "string") throw new TypeError("`sourceText` must be a string");
|
|
17
|
-
BINDINGS_CACHE ??= await import("./bindings-
|
|
17
|
+
BINDINGS_CACHE ??= await import("./bindings-Cj_GMsoO.js").then((n) => n.t);
|
|
18
18
|
return BINDINGS_CACHE.format(fileName, sourceText, options ?? {}, (options, code) => toFormatFileResult(formatFile({
|
|
19
19
|
options,
|
|
20
20
|
code
|
|
@@ -33,7 +33,7 @@ async function format(fileName, sourceText, options) {
|
|
|
33
33
|
* Format a JS/TS snippet for Prettier `textToDoc()` plugin flow.
|
|
34
34
|
*/
|
|
35
35
|
async function jsTextToDoc(sourceExt, sourceText, oxfmtPluginOptionsJson, parentContext) {
|
|
36
|
-
BINDINGS_CACHE ??= await import("./bindings-
|
|
36
|
+
BINDINGS_CACHE ??= await import("./bindings-Cj_GMsoO.js").then((n) => n.t);
|
|
37
37
|
return BINDINGS_CACHE.jsTextToDoc(sourceExt, sourceText, oxfmtPluginOptionsJson, parentContext, () => toFormatFileResult(Promise.reject("formatFile is unavailable for jsTextToDoc")), (options, code) => toNullable(formatEmbeddedCode({
|
|
38
38
|
options,
|
|
39
39
|
code
|