oxfmt 0.55.0 → 0.56.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-C2fbFQF2.js} +5 -5
- package/dist/{babel-CVxlCcDg.js → babel-DLjwvkt5.js} +8 -8
- package/dist/{bindings-NuElWCOb.js → bindings-Ab6hoO7p.js} +27 -27
- package/dist/{chunk-DSjvVL_1-Q4hfmPG1.js → chunk-DSjvVL_1-DaTvESxp.js} +1 -1
- package/dist/cli-worker.js +1 -1
- package/dist/cli.js +3 -3
- package/dist/{dist-DivOnw62.js → dist-BMp5jzRv.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-DWQc1k7j.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-CYEM2898.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-c-GMCzH3.js} +10 -9
- package/dist/{sorter-BPzPgLsP.js → sorter-DK1aMCjs.js} +1 -1
- package/dist/{typescript-DgGTZjEC.js → typescript-DaxiA0nr.js} +15 -15
- package/dist/{v3-D-mr2VVh-sE8Y1ugu.js → v3-D-mr2VVh-7G9Y2N0Q.js} +22 -22
- package/dist/{v4-C-HWEQJm-9cSRecG6.js → v4-C-HWEQJm-DKnDZXAs.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/acorn.mjs
|
|
3
3
|
function je(e, t) {
|
|
4
4
|
for (var i = 65536, s = 0; s < t.length; s += 2) {
|
|
@@ -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/angular.mjs
|
|
3
3
|
function Fr(t) {
|
|
4
4
|
return typeof t == "string" ? (e) => e === t : (e) => t.test(e);
|
|
@@ -1564,39 +1564,7 @@ var init_angular = __esmMin((() => {
|
|
|
1564
1564
|
this.major = n[0], this.minor = n[1], this.patch = n.slice(2).join(".");
|
|
1565
1565
|
}
|
|
1566
1566
|
};
|
|
1567
|
-
|
|
1568
|
-
[u.And, "&&"],
|
|
1569
|
-
[u.Bigger, ">"],
|
|
1570
|
-
[u.BiggerEquals, ">="],
|
|
1571
|
-
[u.BitwiseOr, "|"],
|
|
1572
|
-
[u.BitwiseAnd, "&"],
|
|
1573
|
-
[u.Divide, "/"],
|
|
1574
|
-
[u.Assign, "="],
|
|
1575
|
-
[u.Equals, "=="],
|
|
1576
|
-
[u.Identical, "==="],
|
|
1577
|
-
[u.Lower, "<"],
|
|
1578
|
-
[u.LowerEquals, "<="],
|
|
1579
|
-
[u.Minus, "-"],
|
|
1580
|
-
[u.Modulo, "%"],
|
|
1581
|
-
[u.Exponentiation, "**"],
|
|
1582
|
-
[u.Multiply, "*"],
|
|
1583
|
-
[u.NotEquals, "!="],
|
|
1584
|
-
[u.NotIdentical, "!=="],
|
|
1585
|
-
[u.NullishCoalesce, "??"],
|
|
1586
|
-
[u.Or, "||"],
|
|
1587
|
-
[u.Plus, "+"],
|
|
1588
|
-
[u.In, "in"],
|
|
1589
|
-
[u.InstanceOf, "instanceof"],
|
|
1590
|
-
[u.AdditionAssignment, "+="],
|
|
1591
|
-
[u.SubtractionAssignment, "-="],
|
|
1592
|
-
[u.MultiplicationAssignment, "*="],
|
|
1593
|
-
[u.DivisionAssignment, "/="],
|
|
1594
|
-
[u.RemainderAssignment, "%="],
|
|
1595
|
-
[u.ExponentiationAssignment, "**="],
|
|
1596
|
-
[u.AndAssignment, "&&="],
|
|
1597
|
-
[u.OrAssignment, "||="],
|
|
1598
|
-
[u.NullishCoalesceAssignment, "??="]
|
|
1599
|
-
]);
|
|
1567
|
+
u.And, u.Bigger, u.BiggerEquals, u.BitwiseOr, u.BitwiseAnd, u.Divide, u.Assign, u.Equals, u.Identical, u.Lower, u.LowerEquals, u.Minus, u.Modulo, u.Exponentiation, u.Multiply, u.NotEquals, u.NotIdentical, u.NullishCoalesce, u.Or, u.Plus, u.In, u.InstanceOf, u.AdditionAssignment, u.SubtractionAssignment, u.MultiplicationAssignment, u.DivisionAssignment, u.RemainderAssignment, u.ExponentiationAssignment, u.AndAssignment, u.OrAssignment, u.NullishCoalesceAssignment;
|
|
1600
1568
|
(function(t) {
|
|
1601
1569
|
t[t.Class = 0] = "Class", t[t.Function = 1] = "Function";
|
|
1602
1570
|
})(Rn || (Rn = {}));
|
|
@@ -2168,99 +2136,18 @@ var init_angular = __esmMin((() => {
|
|
|
2168
2136
|
(function(t) {
|
|
2169
2137
|
t[t.None = 0] = "None", t[t.InChildOperation = 1] = "InChildOperation", t[t.InArrowFunctionOperation = 2] = "InArrowFunctionOperation";
|
|
2170
2138
|
})(W || (W = {}));
|
|
2171
|
-
|
|
2172
|
-
l.Element,
|
|
2173
|
-
l.ElementStart,
|
|
2174
|
-
l.Container,
|
|
2175
|
-
l.ContainerStart,
|
|
2176
|
-
l.Template,
|
|
2177
|
-
l.RepeaterCreate,
|
|
2178
|
-
l.ConditionalCreate,
|
|
2179
|
-
l.ConditionalBranchCreate
|
|
2180
|
-
]);
|
|
2139
|
+
l.Element, l.ElementStart, l.Container, l.ContainerStart, l.Template, l.RepeaterCreate, l.ConditionalCreate, l.ConditionalBranchCreate;
|
|
2181
2140
|
(function(t) {
|
|
2182
2141
|
t[t.Tmpl = 0] = "Tmpl", t[t.Host = 1] = "Host", t[t.Both = 2] = "Both";
|
|
2183
2142
|
})(os || (os = {}));
|
|
2184
2143
|
(function(t) {
|
|
2185
2144
|
t[t.Full = 0] = "Full", t[t.DomOnly = 1] = "DomOnly";
|
|
2186
2145
|
})(as || (as = {}));
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
[c.attribute, c.attribute],
|
|
2190
|
-
[c.classProp, c.classProp],
|
|
2191
|
-
[c.element, c.element],
|
|
2192
|
-
[c.elementContainer, c.elementContainer],
|
|
2193
|
-
[c.elementContainerEnd, c.elementContainerEnd],
|
|
2194
|
-
[c.elementContainerStart, c.elementContainerStart],
|
|
2195
|
-
[c.elementEnd, c.elementEnd],
|
|
2196
|
-
[c.elementStart, c.elementStart],
|
|
2197
|
-
[c.domProperty, c.domProperty],
|
|
2198
|
-
[c.i18nExp, c.i18nExp],
|
|
2199
|
-
[c.listener, c.listener],
|
|
2200
|
-
[c.listener, c.listener],
|
|
2201
|
-
[c.property, c.property],
|
|
2202
|
-
[c.styleProp, c.styleProp],
|
|
2203
|
-
[c.syntheticHostListener, c.syntheticHostListener],
|
|
2204
|
-
[c.syntheticHostProperty, c.syntheticHostProperty],
|
|
2205
|
-
[c.templateCreate, c.templateCreate],
|
|
2206
|
-
[c.twoWayProperty, c.twoWayProperty],
|
|
2207
|
-
[c.twoWayListener, c.twoWayListener],
|
|
2208
|
-
[c.declareLet, c.declareLet],
|
|
2209
|
-
[c.conditionalCreate, c.conditionalBranchCreate],
|
|
2210
|
-
[c.conditionalBranchCreate, c.conditionalBranchCreate],
|
|
2211
|
-
[c.domElement, c.domElement],
|
|
2212
|
-
[c.domElementStart, c.domElementStart],
|
|
2213
|
-
[c.domElementEnd, c.domElementEnd],
|
|
2214
|
-
[c.domElementContainer, c.domElementContainer],
|
|
2215
|
-
[c.domElementContainerStart, c.domElementContainerStart],
|
|
2216
|
-
[c.domElementContainerEnd, c.domElementContainerEnd],
|
|
2217
|
-
[c.domListener, c.domListener],
|
|
2218
|
-
[c.domTemplate, c.domTemplate],
|
|
2219
|
-
[c.animationEnter, c.animationEnter],
|
|
2220
|
-
[c.animationLeave, c.animationLeave],
|
|
2221
|
-
[c.animationEnterListener, c.animationEnterListener],
|
|
2222
|
-
[c.animationLeaveListener, c.animationLeaveListener]
|
|
2223
|
-
]);
|
|
2224
|
-
new Map([
|
|
2225
|
-
["&&", u.And],
|
|
2226
|
-
[">", u.Bigger],
|
|
2227
|
-
[">=", u.BiggerEquals],
|
|
2228
|
-
["|", u.BitwiseOr],
|
|
2229
|
-
["&", u.BitwiseAnd],
|
|
2230
|
-
["/", u.Divide],
|
|
2231
|
-
["=", u.Assign],
|
|
2232
|
-
["==", u.Equals],
|
|
2233
|
-
["===", u.Identical],
|
|
2234
|
-
["<", u.Lower],
|
|
2235
|
-
["<=", u.LowerEquals],
|
|
2236
|
-
["-", u.Minus],
|
|
2237
|
-
["%", u.Modulo],
|
|
2238
|
-
["**", u.Exponentiation],
|
|
2239
|
-
["*", u.Multiply],
|
|
2240
|
-
["!=", u.NotEquals],
|
|
2241
|
-
["!==", u.NotIdentical],
|
|
2242
|
-
["??", u.NullishCoalesce],
|
|
2243
|
-
["||", u.Or],
|
|
2244
|
-
["+", u.Plus],
|
|
2245
|
-
["in", u.In],
|
|
2246
|
-
["instanceof", u.InstanceOf],
|
|
2247
|
-
["+=", u.AdditionAssignment],
|
|
2248
|
-
["-=", u.SubtractionAssignment],
|
|
2249
|
-
["*=", u.MultiplicationAssignment],
|
|
2250
|
-
["/=", u.DivisionAssignment],
|
|
2251
|
-
["%=", u.RemainderAssignment],
|
|
2252
|
-
["**=", u.ExponentiationAssignment],
|
|
2253
|
-
["&&=", u.AndAssignment],
|
|
2254
|
-
["||=", u.OrAssignment],
|
|
2255
|
-
["??=", u.NullishCoalesceAssignment]
|
|
2256
|
-
]);
|
|
2146
|
+
c.ariaProperty, c.ariaProperty, c.attribute, c.attribute, c.classProp, c.classProp, c.element, c.element, c.elementContainer, c.elementContainer, c.elementContainerEnd, c.elementContainerEnd, c.elementContainerStart, c.elementContainerStart, c.elementEnd, c.elementEnd, c.elementStart, c.elementStart, c.domProperty, c.domProperty, c.i18nExp, c.i18nExp, c.listener, c.listener, c.listener, c.listener, c.property, c.property, c.styleProp, c.styleProp, c.syntheticHostListener, c.syntheticHostListener, c.syntheticHostProperty, c.syntheticHostProperty, c.templateCreate, c.templateCreate, c.twoWayProperty, c.twoWayProperty, c.twoWayListener, c.twoWayListener, c.declareLet, c.declareLet, c.conditionalCreate, c.conditionalBranchCreate, c.conditionalBranchCreate, c.conditionalBranchCreate, c.domElement, c.domElement, c.domElementStart, c.domElementStart, c.domElementEnd, c.domElementEnd, c.domElementContainer, c.domElementContainer, c.domElementContainerStart, c.domElementContainerStart, c.domElementContainerEnd, c.domElementContainerEnd, c.domListener, c.domListener, c.domTemplate, c.domTemplate, c.animationEnter, c.animationEnter, c.animationLeave, c.animationLeave, c.animationEnterListener, c.animationEnterListener, c.animationLeaveListener, c.animationLeaveListener;
|
|
2147
|
+
u.And, u.Bigger, u.BiggerEquals, u.BitwiseOr, u.BitwiseAnd, u.Divide, u.Assign, u.Equals, u.Identical, u.Lower, u.LowerEquals, u.Minus, u.Modulo, u.Exponentiation, u.Multiply, u.NotEquals, u.NotIdentical, u.NullishCoalesce, u.Or, u.Plus, u.In, u.InstanceOf, u.AdditionAssignment, u.SubtractionAssignment, u.MultiplicationAssignment, u.DivisionAssignment, u.RemainderAssignment, u.ExponentiationAssignment, u.AndAssignment, u.OrAssignment, u.NullishCoalesceAssignment;
|
|
2257
2148
|
Object.freeze([]);
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
[l.ContainerEnd, [l.ContainerStart, l.Container]],
|
|
2261
|
-
[l.I18nEnd, [l.I18nStart, l.I18n]]
|
|
2262
|
-
]);
|
|
2263
|
-
new Set([l.Pipe]);
|
|
2149
|
+
l.ElementEnd, l.ElementStart, l.Element, l.ContainerEnd, l.ContainerStart, l.Container, l.I18nEnd, l.I18nStart, l.I18n;
|
|
2150
|
+
l.Pipe;
|
|
2264
2151
|
yi = {};
|
|
2265
2152
|
yi.ngsp = "";
|
|
2266
2153
|
(function(t) {
|
|
@@ -2762,7 +2649,7 @@ var init_angular = __esmMin((() => {
|
|
|
2762
2649
|
(function(t) {
|
|
2763
2650
|
t[t.None = 0] = "None", t[t.Writable = 1] = "Writable";
|
|
2764
2651
|
})(se || (se = {}));
|
|
2765
|
-
ps = new Set([
|
|
2652
|
+
ps = /* @__PURE__ */ new Set([
|
|
2766
2653
|
"d",
|
|
2767
2654
|
"g",
|
|
2768
2655
|
"i",
|
|
@@ -3388,95 +3275,18 @@ var init_angular = __esmMin((() => {
|
|
|
3388
3275
|
new he(new Le());
|
|
3389
3276
|
l.StyleMap, l.ClassMap, l.StyleProp, l.ClassProp, l.Attribute, l.Property, l.Attribute, l.Control;
|
|
3390
3277
|
l.DomProperty, l.DomProperty, l.Attribute, l.StyleMap, l.ClassMap, l.StyleProp, l.ClassProp;
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
l.TwoWayListener,
|
|
3394
|
-
l.AnimationListener,
|
|
3395
|
-
l.StyleMap,
|
|
3396
|
-
l.ClassMap,
|
|
3397
|
-
l.StyleProp,
|
|
3398
|
-
l.ClassProp,
|
|
3399
|
-
l.Property,
|
|
3400
|
-
l.TwoWayProperty,
|
|
3401
|
-
l.DomProperty,
|
|
3402
|
-
l.Attribute,
|
|
3403
|
-
l.Animation,
|
|
3404
|
-
l.Control
|
|
3405
|
-
]);
|
|
3406
|
-
new Map([
|
|
3407
|
-
[$.Idle, {
|
|
3408
|
-
none: c.deferOnIdle,
|
|
3409
|
-
prefetch: c.deferPrefetchOnIdle,
|
|
3410
|
-
hydrate: c.deferHydrateOnIdle
|
|
3411
|
-
}],
|
|
3412
|
-
[$.Immediate, {
|
|
3413
|
-
none: c.deferOnImmediate,
|
|
3414
|
-
prefetch: c.deferPrefetchOnImmediate,
|
|
3415
|
-
hydrate: c.deferHydrateOnImmediate
|
|
3416
|
-
}],
|
|
3417
|
-
[$.Timer, {
|
|
3418
|
-
none: c.deferOnTimer,
|
|
3419
|
-
prefetch: c.deferPrefetchOnTimer,
|
|
3420
|
-
hydrate: c.deferHydrateOnTimer
|
|
3421
|
-
}],
|
|
3422
|
-
[$.Hover, {
|
|
3423
|
-
none: c.deferOnHover,
|
|
3424
|
-
prefetch: c.deferPrefetchOnHover,
|
|
3425
|
-
hydrate: c.deferHydrateOnHover
|
|
3426
|
-
}],
|
|
3427
|
-
[$.Interaction, {
|
|
3428
|
-
none: c.deferOnInteraction,
|
|
3429
|
-
prefetch: c.deferPrefetchOnInteraction,
|
|
3430
|
-
hydrate: c.deferHydrateOnInteraction
|
|
3431
|
-
}],
|
|
3432
|
-
[$.Viewport, {
|
|
3433
|
-
none: c.deferOnViewport,
|
|
3434
|
-
prefetch: c.deferPrefetchOnViewport,
|
|
3435
|
-
hydrate: c.deferHydrateOnViewport
|
|
3436
|
-
}],
|
|
3437
|
-
[$.Never, {
|
|
3438
|
-
none: c.deferHydrateNever,
|
|
3439
|
-
prefetch: c.deferHydrateNever,
|
|
3440
|
-
hydrate: c.deferHydrateNever
|
|
3441
|
-
}]
|
|
3442
|
-
]);
|
|
3278
|
+
l.Listener, l.TwoWayListener, l.AnimationListener, l.StyleMap, l.ClassMap, l.StyleProp, l.ClassProp, l.Property, l.TwoWayProperty, l.DomProperty, l.Attribute, l.Animation, l.Control;
|
|
3279
|
+
$.Idle, c.deferOnIdle, c.deferPrefetchOnIdle, c.deferHydrateOnIdle, $.Immediate, c.deferOnImmediate, c.deferPrefetchOnImmediate, c.deferHydrateOnImmediate, $.Timer, c.deferOnTimer, c.deferPrefetchOnTimer, c.deferHydrateOnTimer, $.Hover, c.deferOnHover, c.deferPrefetchOnHover, c.deferHydrateOnHover, $.Interaction, c.deferOnInteraction, c.deferPrefetchOnInteraction, c.deferHydrateOnInteraction, $.Viewport, c.deferOnViewport, c.deferPrefetchOnViewport, c.deferHydrateOnViewport, $.Never, c.deferHydrateNever, c.deferHydrateNever, c.deferHydrateNever;
|
|
3443
3280
|
c.pipeBind1, c.pipeBind2, c.pipeBind3, c.pipeBind4;
|
|
3444
3281
|
c.interpolate, c.interpolate1, c.interpolate2, c.interpolate3, c.interpolate4, c.interpolate5, c.interpolate6, c.interpolate7, c.interpolate8, c.interpolateV;
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
["body", c.resolveBody]
|
|
3449
|
-
]);
|
|
3450
|
-
new Map([
|
|
3451
|
-
[P.HTML, c.sanitizeHtml],
|
|
3452
|
-
[P.RESOURCE_URL, c.sanitizeResourceUrl],
|
|
3453
|
-
[P.SCRIPT, c.sanitizeScript],
|
|
3454
|
-
[P.STYLE, c.sanitizeStyle],
|
|
3455
|
-
[P.URL, c.sanitizeUrl],
|
|
3456
|
-
[P.ATTRIBUTE_NO_BINDING, c.validateAttribute]
|
|
3457
|
-
]);
|
|
3458
|
-
new Map([[P.HTML, c.trustConstantHtml], [P.RESOURCE_URL, c.trustConstantResourceUrl]]);
|
|
3282
|
+
c.resolveWindow, c.resolveDocument, c.resolveBody;
|
|
3283
|
+
P.HTML, c.sanitizeHtml, P.RESOURCE_URL, c.sanitizeResourceUrl, P.SCRIPT, c.sanitizeScript, P.STYLE, c.sanitizeStyle, P.URL, c.sanitizeUrl, P.ATTRIBUTE_NO_BINDING, c.validateAttribute;
|
|
3284
|
+
P.HTML, c.trustConstantHtml, P.RESOURCE_URL, c.trustConstantResourceUrl;
|
|
3459
3285
|
(function(t) {
|
|
3460
3286
|
t[t.None = 0] = "None", t[t.ViewContextRead = 1] = "ViewContextRead", t[t.ViewContextWrite = 2] = "ViewContextWrite", t[t.SideEffectful = 4] = "SideEffectful";
|
|
3461
3287
|
})(hs || (hs = {}));
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
l.ContainerStart,
|
|
3465
|
-
l.ContainerEnd,
|
|
3466
|
-
l.Element,
|
|
3467
|
-
l.ElementStart,
|
|
3468
|
-
l.ElementEnd,
|
|
3469
|
-
l.Template
|
|
3470
|
-
]);
|
|
3471
|
-
new Map([
|
|
3472
|
-
[M.Property, R.Property],
|
|
3473
|
-
[M.TwoWay, R.TwoWayProperty],
|
|
3474
|
-
[M.Attribute, R.Attribute],
|
|
3475
|
-
[M.Class, R.ClassName],
|
|
3476
|
-
[M.Style, R.StyleProperty],
|
|
3477
|
-
[M.LegacyAnimation, R.LegacyAnimation],
|
|
3478
|
-
[M.Animation, R.Animation]
|
|
3479
|
-
]);
|
|
3288
|
+
l.Container, l.ContainerStart, l.ContainerEnd, l.Element, l.ElementStart, l.ElementEnd, l.Template;
|
|
3289
|
+
M.Property, R.Property, M.TwoWay, R.TwoWayProperty, M.Attribute, R.Attribute, M.Class, R.ClassName, M.Style, R.StyleProperty, M.LegacyAnimation, R.LegacyAnimation, M.Animation, R.Animation;
|
|
3480
3290
|
(function(t) {
|
|
3481
3291
|
t[t.NG_CONTENT = 0] = "NG_CONTENT", t[t.STYLE = 1] = "STYLE", t[t.STYLESHEET = 2] = "STYLESHEET", t[t.SCRIPT = 3] = "SCRIPT", t[t.OTHER = 4] = "OTHER";
|
|
3482
3292
|
})(fs || (fs = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as __toESM } from "./rolldown-runtime-
|
|
1
|
+
import { o as __toESM } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
2
|
//#region src-js/libs/apis.ts
|
|
3
3
|
const CACHES = {
|
|
4
4
|
prettier: null,
|
|
@@ -13,7 +13,7 @@ async function loadCached(key, loader) {
|
|
|
13
13
|
}
|
|
14
14
|
async function loadPrettier() {
|
|
15
15
|
return loadCached("prettier", async () => {
|
|
16
|
-
const prettier = await import("./prettier-
|
|
16
|
+
const prettier = await import("./prettier-DKAx5A83.js");
|
|
17
17
|
const { formatOptionsHiddenDefaults } = prettier.__internal;
|
|
18
18
|
formatOptionsHiddenDefaults.parentParser = null;
|
|
19
19
|
formatOptionsHiddenDefaults.__onHtmlRoot = null;
|
|
@@ -84,7 +84,7 @@ async function formatEmbeddedDoc({ texts, options }) {
|
|
|
84
84
|
* Option mapping (sortTailwindcss.xxx → tailwindXxx) is also done in Rust side.
|
|
85
85
|
*/
|
|
86
86
|
async function setupTailwindPlugin(options) {
|
|
87
|
-
CACHES.tailwindPlugin ??= await loadCached("tailwindPlugin", () => import("./dist-
|
|
87
|
+
CACHES.tailwindPlugin ??= await loadCached("tailwindPlugin", () => import("./dist-BMp5jzRv.js"));
|
|
88
88
|
options.plugins ??= [];
|
|
89
89
|
options.plugins.push(CACHES.tailwindPlugin);
|
|
90
90
|
}
|
|
@@ -94,7 +94,7 @@ async function setupTailwindPlugin(options) {
|
|
|
94
94
|
* @returns Array of sorted class strings (same order/length as input)
|
|
95
95
|
*/
|
|
96
96
|
async function sortTailwindClasses({ classes, options }) {
|
|
97
|
-
CACHES.tailwindSorter ??= await loadCached("tailwindSorter", () => import("./sorter-
|
|
97
|
+
CACHES.tailwindSorter ??= await loadCached("tailwindSorter", () => import("./sorter-DK1aMCjs.js"));
|
|
98
98
|
const { createSorter } = CACHES.tailwindSorter;
|
|
99
99
|
return (await createSorter({
|
|
100
100
|
filepath: options.filepath,
|
|
@@ -108,7 +108,7 @@ async function sortTailwindClasses({ classes, options }) {
|
|
|
108
108
|
* Load prettier-plugin-svelte to provide the `svelte` parser.
|
|
109
109
|
*/
|
|
110
110
|
async function setupSveltePlugin(options) {
|
|
111
|
-
CACHES.sveltePlugin ??= await loadCached("sveltePlugin", async () => await import("./plugin-
|
|
111
|
+
CACHES.sveltePlugin ??= await loadCached("sveltePlugin", async () => await import("./plugin-CYEM2898.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)));
|
|
112
112
|
options.plugins ??= [];
|
|
113
113
|
options.plugins.push(CACHES.sveltePlugin);
|
|
114
114
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __esmMin, r as __exportAll } from "./rolldown-runtime-
|
|
1
|
+
import { n as __esmMin, r as __exportAll } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/babel.mjs
|
|
3
3
|
var babel_exports = /* @__PURE__ */ __exportAll({
|
|
4
4
|
default: () => Ks,
|
|
@@ -1268,7 +1268,7 @@ var init_babel = __esmMin((() => {
|
|
|
1268
1268
|
}, Ys = {
|
|
1269
1269
|
ParseExpressionEmptyInput: "Unexpected parseExpression() input: The input is empty or contains only comments.",
|
|
1270
1270
|
ParseExpressionExpectsEOF: ({ unexpected: a }) => `Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(a)}\`.`
|
|
1271
|
-
}, Qs = new Set([
|
|
1271
|
+
}, Qs = /* @__PURE__ */ new Set([
|
|
1272
1272
|
"ArrowFunctionExpression",
|
|
1273
1273
|
"AssignmentExpression",
|
|
1274
1274
|
"ConditionalExpression",
|
|
@@ -2768,7 +2768,7 @@ var init_babel = __esmMin((() => {
|
|
|
2768
2768
|
],
|
|
2769
2769
|
strictBind: ["eval", "arguments"]
|
|
2770
2770
|
}, bi = new Set(At.keyword), Ai = new Set(At.strict), Si = new Set(At.strictBind);
|
|
2771
|
-
Ei = new Set([
|
|
2771
|
+
Ei = /* @__PURE__ */ new Set([
|
|
2772
2772
|
"break",
|
|
2773
2773
|
"case",
|
|
2774
2774
|
"catch",
|
|
@@ -2948,7 +2948,7 @@ var init_babel = __esmMin((() => {
|
|
|
2948
2948
|
checkLocalExport(t) {
|
|
2949
2949
|
this.scopeStack[0].declareFunctions.has(t.name) || super.checkLocalExport(t);
|
|
2950
2950
|
}
|
|
2951
|
-
}, Ni = new Set([
|
|
2951
|
+
}, Ni = /* @__PURE__ */ new Set([
|
|
2952
2952
|
"_",
|
|
2953
2953
|
"any",
|
|
2954
2954
|
"bool",
|
|
@@ -4627,7 +4627,7 @@ var init_babel = __esmMin((() => {
|
|
|
4627
4627
|
}, Ui = function(t) {
|
|
4628
4628
|
return t >= 48 && t <= 57;
|
|
4629
4629
|
}, _t = {
|
|
4630
|
-
decBinOct: new Set([
|
|
4630
|
+
decBinOct: /* @__PURE__ */ new Set([
|
|
4631
4631
|
46,
|
|
4632
4632
|
66,
|
|
4633
4633
|
69,
|
|
@@ -4637,7 +4637,7 @@ var init_babel = __esmMin((() => {
|
|
|
4637
4637
|
101,
|
|
4638
4638
|
111
|
|
4639
4639
|
]),
|
|
4640
|
-
hex: new Set([
|
|
4640
|
+
hex: /* @__PURE__ */ new Set([
|
|
4641
4641
|
46,
|
|
4642
4642
|
88,
|
|
4643
4643
|
95,
|
|
@@ -4649,7 +4649,7 @@ var init_babel = __esmMin((() => {
|
|
|
4649
4649
|
dec: (a) => a >= 48 && a <= 57,
|
|
4650
4650
|
hex: (a) => a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102
|
|
4651
4651
|
};
|
|
4652
|
-
Vi = new Set([
|
|
4652
|
+
Vi = /* @__PURE__ */ new Set([
|
|
4653
4653
|
103,
|
|
4654
4654
|
109,
|
|
4655
4655
|
115,
|
|
@@ -9811,7 +9811,7 @@ var init_babel = __esmMin((() => {
|
|
|
9811
9811
|
...t,
|
|
9812
9812
|
plugins: [...t.plugins, ...a]
|
|
9813
9813
|
}), zr = /@(?:no)?flow\b/u;
|
|
9814
|
-
Hr = new Set([
|
|
9814
|
+
Hr = /* @__PURE__ */ new Set([
|
|
9815
9815
|
"StrictNumericEscape",
|
|
9816
9816
|
"StrictWith",
|
|
9817
9817
|
"StrictOctalLiteral",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as __exportAll } from "./rolldown-runtime-
|
|
1
|
+
import { r as __exportAll } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
2
|
import { createRequire } from "module";
|
|
3
3
|
//#region src-js/bindings.js
|
|
4
4
|
var bindings_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -64,7 +64,7 @@ function requireNative() {
|
|
|
64
64
|
try {
|
|
65
65
|
const binding = require("@oxfmt/binding-android-arm64");
|
|
66
66
|
const bindingPackageVersion = require("@oxfmt/binding-android-arm64/package.json").version;
|
|
67
|
-
if (bindingPackageVersion !== "0.
|
|
67
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
68
68
|
return binding;
|
|
69
69
|
} catch (e) {
|
|
70
70
|
loadErrors.push(e);
|
|
@@ -78,7 +78,7 @@ function requireNative() {
|
|
|
78
78
|
try {
|
|
79
79
|
const binding = require("@oxfmt/binding-android-arm-eabi");
|
|
80
80
|
const bindingPackageVersion = require("@oxfmt/binding-android-arm-eabi/package.json").version;
|
|
81
|
-
if (bindingPackageVersion !== "0.
|
|
81
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
82
82
|
return binding;
|
|
83
83
|
} catch (e) {
|
|
84
84
|
loadErrors.push(e);
|
|
@@ -93,7 +93,7 @@ function requireNative() {
|
|
|
93
93
|
try {
|
|
94
94
|
const binding = require("@oxfmt/binding-win32-x64-gnu");
|
|
95
95
|
const bindingPackageVersion = require("@oxfmt/binding-win32-x64-gnu/package.json").version;
|
|
96
|
-
if (bindingPackageVersion !== "0.
|
|
96
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
97
97
|
return binding;
|
|
98
98
|
} catch (e) {
|
|
99
99
|
loadErrors.push(e);
|
|
@@ -107,7 +107,7 @@ function requireNative() {
|
|
|
107
107
|
try {
|
|
108
108
|
const binding = require("@oxfmt/binding-win32-x64-msvc");
|
|
109
109
|
const bindingPackageVersion = require("@oxfmt/binding-win32-x64-msvc/package.json").version;
|
|
110
|
-
if (bindingPackageVersion !== "0.
|
|
110
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
111
111
|
return binding;
|
|
112
112
|
} catch (e) {
|
|
113
113
|
loadErrors.push(e);
|
|
@@ -122,7 +122,7 @@ function requireNative() {
|
|
|
122
122
|
try {
|
|
123
123
|
const binding = require("@oxfmt/binding-win32-ia32-msvc");
|
|
124
124
|
const bindingPackageVersion = require("@oxfmt/binding-win32-ia32-msvc/package.json").version;
|
|
125
|
-
if (bindingPackageVersion !== "0.
|
|
125
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
126
126
|
return binding;
|
|
127
127
|
} catch (e) {
|
|
128
128
|
loadErrors.push(e);
|
|
@@ -136,7 +136,7 @@ function requireNative() {
|
|
|
136
136
|
try {
|
|
137
137
|
const binding = require("@oxfmt/binding-win32-arm64-msvc");
|
|
138
138
|
const bindingPackageVersion = require("@oxfmt/binding-win32-arm64-msvc/package.json").version;
|
|
139
|
-
if (bindingPackageVersion !== "0.
|
|
139
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
140
140
|
return binding;
|
|
141
141
|
} catch (e) {
|
|
142
142
|
loadErrors.push(e);
|
|
@@ -151,7 +151,7 @@ function requireNative() {
|
|
|
151
151
|
try {
|
|
152
152
|
const binding = require("@oxfmt/binding-darwin-universal");
|
|
153
153
|
const bindingPackageVersion = require("@oxfmt/binding-darwin-universal/package.json").version;
|
|
154
|
-
if (bindingPackageVersion !== "0.
|
|
154
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
155
155
|
return binding;
|
|
156
156
|
} catch (e) {
|
|
157
157
|
loadErrors.push(e);
|
|
@@ -165,7 +165,7 @@ function requireNative() {
|
|
|
165
165
|
try {
|
|
166
166
|
const binding = require("@oxfmt/binding-darwin-x64");
|
|
167
167
|
const bindingPackageVersion = require("@oxfmt/binding-darwin-x64/package.json").version;
|
|
168
|
-
if (bindingPackageVersion !== "0.
|
|
168
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
169
169
|
return binding;
|
|
170
170
|
} catch (e) {
|
|
171
171
|
loadErrors.push(e);
|
|
@@ -179,7 +179,7 @@ function requireNative() {
|
|
|
179
179
|
try {
|
|
180
180
|
const binding = require("@oxfmt/binding-darwin-arm64");
|
|
181
181
|
const bindingPackageVersion = require("@oxfmt/binding-darwin-arm64/package.json").version;
|
|
182
|
-
if (bindingPackageVersion !== "0.
|
|
182
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
183
183
|
return binding;
|
|
184
184
|
} catch (e) {
|
|
185
185
|
loadErrors.push(e);
|
|
@@ -194,7 +194,7 @@ function requireNative() {
|
|
|
194
194
|
try {
|
|
195
195
|
const binding = require("@oxfmt/binding-freebsd-x64");
|
|
196
196
|
const bindingPackageVersion = require("@oxfmt/binding-freebsd-x64/package.json").version;
|
|
197
|
-
if (bindingPackageVersion !== "0.
|
|
197
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
198
198
|
return binding;
|
|
199
199
|
} catch (e) {
|
|
200
200
|
loadErrors.push(e);
|
|
@@ -208,7 +208,7 @@ function requireNative() {
|
|
|
208
208
|
try {
|
|
209
209
|
const binding = require("@oxfmt/binding-freebsd-arm64");
|
|
210
210
|
const bindingPackageVersion = require("@oxfmt/binding-freebsd-arm64/package.json").version;
|
|
211
|
-
if (bindingPackageVersion !== "0.
|
|
211
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
212
212
|
return binding;
|
|
213
213
|
} catch (e) {
|
|
214
214
|
loadErrors.push(e);
|
|
@@ -223,7 +223,7 @@ function requireNative() {
|
|
|
223
223
|
try {
|
|
224
224
|
const binding = require("@oxfmt/binding-linux-x64-musl");
|
|
225
225
|
const bindingPackageVersion = require("@oxfmt/binding-linux-x64-musl/package.json").version;
|
|
226
|
-
if (bindingPackageVersion !== "0.
|
|
226
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
227
227
|
return binding;
|
|
228
228
|
} catch (e) {
|
|
229
229
|
loadErrors.push(e);
|
|
@@ -237,7 +237,7 @@ function requireNative() {
|
|
|
237
237
|
try {
|
|
238
238
|
const binding = require("@oxfmt/binding-linux-x64-gnu");
|
|
239
239
|
const bindingPackageVersion = require("@oxfmt/binding-linux-x64-gnu/package.json").version;
|
|
240
|
-
if (bindingPackageVersion !== "0.
|
|
240
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
241
241
|
return binding;
|
|
242
242
|
} catch (e) {
|
|
243
243
|
loadErrors.push(e);
|
|
@@ -252,7 +252,7 @@ function requireNative() {
|
|
|
252
252
|
try {
|
|
253
253
|
const binding = require("@oxfmt/binding-linux-arm64-musl");
|
|
254
254
|
const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-musl/package.json").version;
|
|
255
|
-
if (bindingPackageVersion !== "0.
|
|
255
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
256
256
|
return binding;
|
|
257
257
|
} catch (e) {
|
|
258
258
|
loadErrors.push(e);
|
|
@@ -266,7 +266,7 @@ function requireNative() {
|
|
|
266
266
|
try {
|
|
267
267
|
const binding = require("@oxfmt/binding-linux-arm64-gnu");
|
|
268
268
|
const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-gnu/package.json").version;
|
|
269
|
-
if (bindingPackageVersion !== "0.
|
|
269
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
270
270
|
return binding;
|
|
271
271
|
} catch (e) {
|
|
272
272
|
loadErrors.push(e);
|
|
@@ -281,7 +281,7 @@ function requireNative() {
|
|
|
281
281
|
try {
|
|
282
282
|
const binding = require("@oxfmt/binding-linux-arm-musleabihf");
|
|
283
283
|
const bindingPackageVersion = require("@oxfmt/binding-linux-arm-musleabihf/package.json").version;
|
|
284
|
-
if (bindingPackageVersion !== "0.
|
|
284
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
285
285
|
return binding;
|
|
286
286
|
} catch (e) {
|
|
287
287
|
loadErrors.push(e);
|
|
@@ -295,7 +295,7 @@ function requireNative() {
|
|
|
295
295
|
try {
|
|
296
296
|
const binding = require("@oxfmt/binding-linux-arm-gnueabihf");
|
|
297
297
|
const bindingPackageVersion = require("@oxfmt/binding-linux-arm-gnueabihf/package.json").version;
|
|
298
|
-
if (bindingPackageVersion !== "0.
|
|
298
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
299
299
|
return binding;
|
|
300
300
|
} catch (e) {
|
|
301
301
|
loadErrors.push(e);
|
|
@@ -310,7 +310,7 @@ function requireNative() {
|
|
|
310
310
|
try {
|
|
311
311
|
const binding = require("@oxfmt/binding-linux-loong64-musl");
|
|
312
312
|
const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-musl/package.json").version;
|
|
313
|
-
if (bindingPackageVersion !== "0.
|
|
313
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
314
314
|
return binding;
|
|
315
315
|
} catch (e) {
|
|
316
316
|
loadErrors.push(e);
|
|
@@ -324,7 +324,7 @@ function requireNative() {
|
|
|
324
324
|
try {
|
|
325
325
|
const binding = require("@oxfmt/binding-linux-loong64-gnu");
|
|
326
326
|
const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-gnu/package.json").version;
|
|
327
|
-
if (bindingPackageVersion !== "0.
|
|
327
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
328
328
|
return binding;
|
|
329
329
|
} catch (e) {
|
|
330
330
|
loadErrors.push(e);
|
|
@@ -339,7 +339,7 @@ function requireNative() {
|
|
|
339
339
|
try {
|
|
340
340
|
const binding = require("@oxfmt/binding-linux-riscv64-musl");
|
|
341
341
|
const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-musl/package.json").version;
|
|
342
|
-
if (bindingPackageVersion !== "0.
|
|
342
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
343
343
|
return binding;
|
|
344
344
|
} catch (e) {
|
|
345
345
|
loadErrors.push(e);
|
|
@@ -353,7 +353,7 @@ function requireNative() {
|
|
|
353
353
|
try {
|
|
354
354
|
const binding = require("@oxfmt/binding-linux-riscv64-gnu");
|
|
355
355
|
const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-gnu/package.json").version;
|
|
356
|
-
if (bindingPackageVersion !== "0.
|
|
356
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
357
357
|
return binding;
|
|
358
358
|
} catch (e) {
|
|
359
359
|
loadErrors.push(e);
|
|
@@ -368,7 +368,7 @@ function requireNative() {
|
|
|
368
368
|
try {
|
|
369
369
|
const binding = require("@oxfmt/binding-linux-ppc64-gnu");
|
|
370
370
|
const bindingPackageVersion = require("@oxfmt/binding-linux-ppc64-gnu/package.json").version;
|
|
371
|
-
if (bindingPackageVersion !== "0.
|
|
371
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
372
372
|
return binding;
|
|
373
373
|
} catch (e) {
|
|
374
374
|
loadErrors.push(e);
|
|
@@ -382,7 +382,7 @@ function requireNative() {
|
|
|
382
382
|
try {
|
|
383
383
|
const binding = require("@oxfmt/binding-linux-s390x-gnu");
|
|
384
384
|
const bindingPackageVersion = require("@oxfmt/binding-linux-s390x-gnu/package.json").version;
|
|
385
|
-
if (bindingPackageVersion !== "0.
|
|
385
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
386
386
|
return binding;
|
|
387
387
|
} catch (e) {
|
|
388
388
|
loadErrors.push(e);
|
|
@@ -397,7 +397,7 @@ function requireNative() {
|
|
|
397
397
|
try {
|
|
398
398
|
const binding = require("@oxfmt/binding-openharmony-arm64");
|
|
399
399
|
const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm64/package.json").version;
|
|
400
|
-
if (bindingPackageVersion !== "0.
|
|
400
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
401
401
|
return binding;
|
|
402
402
|
} catch (e) {
|
|
403
403
|
loadErrors.push(e);
|
|
@@ -411,7 +411,7 @@ function requireNative() {
|
|
|
411
411
|
try {
|
|
412
412
|
const binding = require("@oxfmt/binding-openharmony-x64");
|
|
413
413
|
const bindingPackageVersion = require("@oxfmt/binding-openharmony-x64/package.json").version;
|
|
414
|
-
if (bindingPackageVersion !== "0.
|
|
414
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
415
415
|
return binding;
|
|
416
416
|
} catch (e) {
|
|
417
417
|
loadErrors.push(e);
|
|
@@ -425,7 +425,7 @@ function requireNative() {
|
|
|
425
425
|
try {
|
|
426
426
|
const binding = require("@oxfmt/binding-openharmony-arm");
|
|
427
427
|
const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm/package.json").version;
|
|
428
|
-
if (bindingPackageVersion !== "0.
|
|
428
|
+
if (bindingPackageVersion !== "0.56.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.56.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
429
429
|
return binding;
|
|
430
430
|
} catch (e) {
|
|
431
431
|
loadErrors.push(e);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
//#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.
|
|
2
|
+
//#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.1_prettie_38bf7b19300712455a0a76d31dd7693b/node_modules/prettier-plugin-tailwindcss/dist/chunk-DSjvVL_1.mjs
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
package/dist/cli-worker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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-C2fbFQF2.js";
|
|
2
2
|
export { formatEmbeddedCode, formatEmbeddedDoc, formatFile, sortTailwindClasses };
|