lc-test3 1.1.11 → 1.1.13
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/p.js +548 -751
- package/package.json +1 -1
package/p.js
CHANGED
|
@@ -1,751 +1,548 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
if (converted && (converted.type === 'CallExpression' || converted.type === 'OptionalCallExpression')) {
|
|
550
|
-
converted.type = 'OptionalCallExpression';
|
|
551
|
-
converted.optional = true;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
return converted;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
case 'MemberExpression':
|
|
558
|
-
babelNode.object = convertSWCNode(node.object);
|
|
559
|
-
const memberProp = normalizeMemberProperty(node.property, node.computed);
|
|
560
|
-
babelNode.property = memberProp.property;
|
|
561
|
-
babelNode.computed = memberProp.computed;
|
|
562
|
-
babelNode.optional = node.optional || false;
|
|
563
|
-
break;
|
|
564
|
-
case 'NewExpression':
|
|
565
|
-
babelNode.callee = convertSWCNode(node.callee);
|
|
566
|
-
babelNode.arguments = convertSWCNode(node.arguments || []);
|
|
567
|
-
break;
|
|
568
|
-
case 'OptionalCallExpression':
|
|
569
|
-
babelNode.callee = convertSWCNode(node.callee);
|
|
570
|
-
babelNode.arguments = convertSWCNode(node.arguments || []);
|
|
571
|
-
babelNode.optional = true;
|
|
572
|
-
break;
|
|
573
|
-
|
|
574
|
-
case 'JSXElement':
|
|
575
|
-
babelNode.openingElement = convertSWCNode(node.opening);
|
|
576
|
-
babelNode.closingElement = convertSWCNode(node.closing);
|
|
577
|
-
babelNode.children = convertSWCNode(node.children || []);
|
|
578
|
-
babelNode.selfClosing = !node.closing;
|
|
579
|
-
break;
|
|
580
|
-
|
|
581
|
-
case 'JSXOpeningElement':
|
|
582
|
-
babelNode.name = convertSWCNode(node.name);
|
|
583
|
-
babelNode.attributes = convertSWCNode(node.attributes || []);
|
|
584
|
-
babelNode.selfClosing = node.selfClosing || false;
|
|
585
|
-
break;
|
|
586
|
-
|
|
587
|
-
case 'JSXClosingElement':
|
|
588
|
-
babelNode.name = convertSWCNode(node.name);
|
|
589
|
-
break;
|
|
590
|
-
|
|
591
|
-
case 'JSXAttribute':
|
|
592
|
-
babelNode.name = convertSWCNode(node.name);
|
|
593
|
-
babelNode.value = convertSWCNode(node.value);
|
|
594
|
-
break;
|
|
595
|
-
|
|
596
|
-
case 'JSXIdentifier':
|
|
597
|
-
babelNode.name = node.value;
|
|
598
|
-
break;
|
|
599
|
-
|
|
600
|
-
case 'JSXText':
|
|
601
|
-
babelNode.value = node.value;
|
|
602
|
-
babelNode.raw = node.raw || node.value;
|
|
603
|
-
break;
|
|
604
|
-
|
|
605
|
-
case 'TemplateElement':
|
|
606
|
-
return {
|
|
607
|
-
type: 'TemplateElement',
|
|
608
|
-
value: {
|
|
609
|
-
raw: node.raw ?? node.value?.raw ?? node.cooked ?? '',
|
|
610
|
-
cooked: node.cooked ?? node.value?.cooked ?? node.raw ?? '',
|
|
611
|
-
},
|
|
612
|
-
tail: node.tail ?? false,
|
|
613
|
-
};
|
|
614
|
-
|
|
615
|
-
case 'JSXExpressionContainer':
|
|
616
|
-
babelNode.expression = convertSWCNode(node.expression);
|
|
617
|
-
break;
|
|
618
|
-
|
|
619
|
-
case 'JSXFragment':
|
|
620
|
-
babelNode.openingFragment = { type: 'JSXOpeningFragment' };
|
|
621
|
-
babelNode.closingFragment = { type: 'JSXClosingFragment' };
|
|
622
|
-
babelNode.children = convertSWCNode(node.children || []);
|
|
623
|
-
break;
|
|
624
|
-
|
|
625
|
-
default:
|
|
626
|
-
// ͨ�ô������ݹ�ת����������
|
|
627
|
-
for (const key of Object.keys(node)) {
|
|
628
|
-
if (key === 'type' || key === 'span' || key === 'ctxt') continue;
|
|
629
|
-
babelNode[key] = convertSWCNode(node[key]);
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
return babelNode;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
/**
|
|
637
|
-
* �� SWC AST ת��Ϊ Babel ���ݸ�ʽ
|
|
638
|
-
*/
|
|
639
|
-
export function convertSWCToBabel(swcAst: any): t.File {
|
|
640
|
-
const startTime = performance.now();
|
|
641
|
-
const result = convertSWCNode(swcAst) as t.File;
|
|
642
|
-
const duration = performance.now() - startTime;
|
|
643
|
-
|
|
644
|
-
swcStats.conversionCount++;
|
|
645
|
-
swcStats.conversionTotalTime += duration;
|
|
646
|
-
|
|
647
|
-
return result;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* ʹ�� SWC ��������
|
|
652
|
-
* ��� SWC �����ã����˵� Babel
|
|
653
|
-
*/
|
|
654
|
-
export function parseWithSWC(code: string): t.File {
|
|
655
|
-
const safeCode = sanitizePermissionCommentsForJSX(code);
|
|
656
|
-
if (!swcAvailable || !swcModule) {
|
|
657
|
-
// ���˵� Babel
|
|
658
|
-
const startTime = performance.now();
|
|
659
|
-
const ast = babelParse(safeCode, babelParserConfig);
|
|
660
|
-
swcStats.babelFallbackCount++;
|
|
661
|
-
swcStats.babelTotalTime += performance.now() - startTime;
|
|
662
|
-
return ast;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
try {
|
|
666
|
-
// ʹ�� SWC ����
|
|
667
|
-
const startTime = performance.now();
|
|
668
|
-
const swcAst = swcModule.parseSync(safeCode, swcParserConfig);
|
|
669
|
-
const parseTime = performance.now() - startTime;
|
|
670
|
-
|
|
671
|
-
swcStats.swcParseCount++;
|
|
672
|
-
swcStats.swcTotalTime += parseTime;
|
|
673
|
-
|
|
674
|
-
// ת��Ϊ Babel ��ʽ
|
|
675
|
-
return convertSWCToBabel(swcAst);
|
|
676
|
-
} catch (error) {
|
|
677
|
-
// ����ʧ�ܣ����˵� Babel
|
|
678
|
-
console.warn('[SWC] ����ʧ�ܣ����˵� Babel:', error);
|
|
679
|
-
const startTime = performance.now();
|
|
680
|
-
const ast = babelParse(safeCode, babelParserConfig);
|
|
681
|
-
swcStats.babelFallbackCount++;
|
|
682
|
-
swcStats.babelTotalTime += performance.now() - startTime;
|
|
683
|
-
return ast;
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
/**
|
|
688
|
-
* �첽ʹ�� SWC ��������
|
|
689
|
-
*/
|
|
690
|
-
export async function parseWithSWCAsync(code: string): Promise<t.File> {
|
|
691
|
-
// ȷ�� SWC �ѳ�ʼ��
|
|
692
|
-
await initSWC();
|
|
693
|
-
return parseWithSWC(code);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* ��ȡ SWC ����ͳ��
|
|
698
|
-
*/
|
|
699
|
-
export function getSWCStats() {
|
|
700
|
-
return {
|
|
701
|
-
...swcStats,
|
|
702
|
-
swcAvailable,
|
|
703
|
-
swcAverageParseTime: swcStats.swcParseCount > 0
|
|
704
|
-
? swcStats.swcTotalTime / swcStats.swcParseCount
|
|
705
|
-
: 0,
|
|
706
|
-
babelAverageTime: swcStats.babelFallbackCount > 0
|
|
707
|
-
? swcStats.babelTotalTime / swcStats.babelFallbackCount
|
|
708
|
-
: 0,
|
|
709
|
-
conversionAverageTime: swcStats.conversionCount > 0
|
|
710
|
-
? swcStats.conversionTotalTime / swcStats.conversionCount
|
|
711
|
-
: 0,
|
|
712
|
-
speedup: swcStats.babelFallbackCount > 0 && swcStats.swcParseCount > 0
|
|
713
|
-
? (swcStats.babelTotalTime / swcStats.babelFallbackCount) /
|
|
714
|
-
((swcStats.swcTotalTime + swcStats.conversionTotalTime) / swcStats.swcParseCount)
|
|
715
|
-
: 0,
|
|
716
|
-
};
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* ��ӡ SWC ���ܱ���
|
|
721
|
-
*/
|
|
722
|
-
export function printSWCReport(): void {
|
|
723
|
-
const stats = getSWCStats();
|
|
724
|
-
|
|
725
|
-
console.log('%c=== SWC Parser Report ===', 'color: #FF5722; font-weight: bold;');
|
|
726
|
-
console.log(`SWC ����: ${stats.swcAvailable ? '?' : '?'}`);
|
|
727
|
-
console.log(`%cSWC ��������: ${stats.swcParseCount}`, 'color: #4CAF50;');
|
|
728
|
-
console.log(`%cSWC �ܺ�ʱ: ${stats.swcTotalTime.toFixed(2)}ms`, 'color: #4CAF50;');
|
|
729
|
-
console.log(`%cSWC ƽ����ʱ: ${stats.swcAverageParseTime.toFixed(2)}ms`, 'color: #4CAF50;');
|
|
730
|
-
console.log(`%cBabel ���˴���: ${stats.babelFallbackCount}`, 'color: #FF9800;');
|
|
731
|
-
console.log(`%cBabel �ܺ�ʱ: ${stats.babelTotalTime.toFixed(2)}ms`, 'color: #FF9800;');
|
|
732
|
-
console.log(`%cBabel ƽ����ʱ: ${stats.babelAverageTime.toFixed(2)}ms`, 'color: #FF9800;');
|
|
733
|
-
console.log(`AST ת������: ${stats.conversionCount}`);
|
|
734
|
-
console.log(`AST ת��ƽ����ʱ: ${stats.conversionAverageTime.toFixed(2)}ms`);
|
|
735
|
-
if (stats.speedup > 0) {
|
|
736
|
-
console.log(`%c���ٱ�: ${stats.speedup.toFixed(1)}x`, 'color: #E91E63; font-weight: bold;');
|
|
737
|
-
}
|
|
738
|
-
console.log('%c=========================', 'color: #FF5722; font-weight: bold;');
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
// ��¶��ȫ�֣��������
|
|
742
|
-
if (typeof window !== 'undefined') {
|
|
743
|
-
(window as any).__SWC_PARSER__ = {
|
|
744
|
-
initSWC,
|
|
745
|
-
isSWCAvailable,
|
|
746
|
-
parseWithSWC,
|
|
747
|
-
parseWithSWCAsync,
|
|
748
|
-
getSWCStats,
|
|
749
|
-
printSWCReport,
|
|
750
|
-
};
|
|
751
|
-
}
|
|
1
|
+
[ASTCache] Parse miss (SWC) - /src/pages/Login/index.js (1.50ms)
|
|
2
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/Home.js (1.40ms)
|
|
3
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/TaskPending.js (2.00ms)
|
|
4
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/TaskCompleted.js (1.90ms)
|
|
5
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/CirculatePending.js (1.90ms)
|
|
6
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/CirculateCompleted.js (2.20ms)
|
|
7
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/MyProcess.js (1.80ms)
|
|
8
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/SyncProcess.js (5.70ms)
|
|
9
|
+
swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
|
|
10
|
+
[31mx[0m Unexpected token `Page`. Expected jsx identifier
|
|
11
|
+
,-[1:1]
|
|
12
|
+
[2m1[0m | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page, QueryPage, FForm, FFormItem, FFormFooter, FSubmit, FReset, Table } from "@loview/lowcode-react-antd";class App extends React.Component {render() {return (<Page data-dnd="%2Fsrc%2Fpages%2FImportRecord.js:Page:paged4ad" onMount={() => {$function.importRecord.fetchRecord();}} access={{ relatedInterfaces: [{ label: "�����¼�б��ӿ�", value: "/los/${appName}.pageImportApply" }] }}>
|
|
13
|
+
: [31;1m ^^^^[0m
|
|
14
|
+
[2m2[0m |
|
|
15
|
+
[2m3[0m |
|
|
16
|
+
`----
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
Caused by:
|
|
20
|
+
0: failed to parse code
|
|
21
|
+
1: Syntax Error
|
|
22
|
+
parseWithSWC @ swc-parser.ts:680
|
|
23
|
+
parseCode @ ast-cache.ts:740
|
|
24
|
+
parseSync @ ast-cache.ts:933
|
|
25
|
+
code2astWithCache @ ast-cache.ts:1277
|
|
26
|
+
code2astCached @ parse.ts:112
|
|
27
|
+
get @ light-module.ts:91
|
|
28
|
+
get @ light-module.ts:107
|
|
29
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
30
|
+
computeValue_ @ mobx.esm.js:1636
|
|
31
|
+
trackAndCompute @ mobx.esm.js:1613
|
|
32
|
+
get @ mobx.esm.js:1582
|
|
33
|
+
getObservablePropValue_ @ mobx.esm.js:4744
|
|
34
|
+
get @ mobx.esm.js:5243
|
|
35
|
+
hasModelDiff @ workspace.ts:3262
|
|
36
|
+
(anonymous) @ useFolder.tsx:71
|
|
37
|
+
makeFileTree @ useFolder.tsx:64
|
|
38
|
+
useFolder @ useFolder.tsx:303
|
|
39
|
+
(anonymous) @ index.tsx:65
|
|
40
|
+
(anonymous) @ observer.js:44
|
|
41
|
+
(anonymous) @ useObserver.js:80
|
|
42
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
43
|
+
track @ mobx.esm.js:2360
|
|
44
|
+
useObserver @ useObserver.js:78
|
|
45
|
+
(anonymous) @ observer.js:44
|
|
46
|
+
renderWithHooks @ react-dom.development.js:15015
|
|
47
|
+
updateFunctionComponent @ react-dom.development.js:17386
|
|
48
|
+
updateSimpleMemoComponent @ react-dom.development.js:17245
|
|
49
|
+
beginWork @ react-dom.development.js:19170
|
|
50
|
+
beginWork$1 @ react-dom.development.js:23970
|
|
51
|
+
performUnitOfWork @ react-dom.development.js:22809
|
|
52
|
+
workLoopSync @ react-dom.development.js:22737
|
|
53
|
+
renderRootSync @ react-dom.development.js:22700
|
|
54
|
+
performSyncWorkOnRoot @ react-dom.development.js:22323
|
|
55
|
+
(anonymous) @ react-dom.development.js:11357
|
|
56
|
+
unstable_runWithPriority @ react.development.js:2764
|
|
57
|
+
runWithPriority$1 @ react-dom.development.js:11306
|
|
58
|
+
flushSyncCallbackQueueImpl @ react-dom.development.js:11352
|
|
59
|
+
flushSyncCallbackQueue @ react-dom.development.js:11339
|
|
60
|
+
discreteUpdates$1 @ react-dom.development.js:22450
|
|
61
|
+
discreteUpdates @ react-dom.development.js:3753
|
|
62
|
+
dispatchDiscreteEvent @ react-dom.development.js:5919
|
|
63
|
+
light-module.ts:99 SyntaxError: Unexpected token (43:732) (at index.js:363:1)
|
|
64
|
+
at constructor (index.js:363:1)
|
|
65
|
+
at JSXParserMixin.raise (index.js:6609:1)
|
|
66
|
+
at JSXParserMixin.unexpected (index.js:6629:1)
|
|
67
|
+
at JSXParserMixin.parseExprAtom (index.js:11378:1)
|
|
68
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
69
|
+
at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
|
|
70
|
+
at JSXParserMixin.parseUpdate (index.js:10997:1)
|
|
71
|
+
at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
|
|
72
|
+
at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
|
|
73
|
+
at JSXParserMixin.parseExprOps (index.js:10835:1)
|
|
74
|
+
at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
|
|
75
|
+
at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
|
|
76
|
+
at index.js:10734:1
|
|
77
|
+
at JSXParserMixin.allowInAnd (index.js:12361:1)
|
|
78
|
+
at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
|
|
79
|
+
at JSXParserMixin.parseObjectProperty (index.js:11885:1)
|
|
80
|
+
at JSXParserMixin.parseObjPropValue (index.js:11913:1)
|
|
81
|
+
at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
|
|
82
|
+
at JSXParserMixin.parseObjectLike (index.js:11765:1)
|
|
83
|
+
at JSXParserMixin.parseExprAtom (index.js:11270:1)
|
|
84
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
85
|
+
at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
|
|
86
|
+
at JSXParserMixin.parseUpdate (index.js:10997:1)
|
|
87
|
+
at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
|
|
88
|
+
at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
|
|
89
|
+
at JSXParserMixin.parseExprOps (index.js:10835:1)
|
|
90
|
+
at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
|
|
91
|
+
at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
|
|
92
|
+
at index.js:10734:1
|
|
93
|
+
at JSXParserMixin.allowInAnd (index.js:12361:1)
|
|
94
|
+
at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
|
|
95
|
+
at JSXParserMixin.parseParenAndDistinguishExpression (index.js:11608:1)
|
|
96
|
+
at JSXParserMixin.parseExprAtom (index.js:11262:1)
|
|
97
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
98
|
+
at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
|
|
99
|
+
at JSXParserMixin.parseUpdate (index.js:10997:1)
|
|
100
|
+
at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
|
|
101
|
+
at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
|
|
102
|
+
at JSXParserMixin.parseExprOps (index.js:10835:1)
|
|
103
|
+
at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
|
|
104
|
+
at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
|
|
105
|
+
at index.js:10734:1
|
|
106
|
+
at JSXParserMixin.allowInAnd (index.js:12361:1)
|
|
107
|
+
at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
|
|
108
|
+
at JSXParserMixin.parseObjectProperty (index.js:11885:1)
|
|
109
|
+
at JSXParserMixin.parseObjPropValue (index.js:11913:1)
|
|
110
|
+
at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
|
|
111
|
+
at JSXParserMixin.parseObjectLike (index.js:11765:1)
|
|
112
|
+
at JSXParserMixin.parseExprAtom (index.js:11270:1)
|
|
113
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
114
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/PositionMgt.js (2.00ms)
|
|
115
|
+
swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
|
|
116
|
+
[31mx[0m Unexpected token `Page`. Expected jsx identifier
|
|
117
|
+
,-[1:1]
|
|
118
|
+
[2m1[0m | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page, Tree, Row, Col, Button, Descriptions, Block, Dropdown } from "@loview/lowcode-react-antd";import Modal894 from "./DepartmentMgtModals/Modal894.js";class App extends React.Component {render() {return (<Page data-dnd="%2Fsrc%2Fpages%2FDepartmentMgt.js:Page:page367f" onMount={() => {$function.department?.getDepartmentTree?.();$function.department.getDepartmentListUser();}} access={{ relatedInterfaces: [{ label: "��ȡ�������ӿ�", value: "/los/${appName}.listDepartmentTree" }, { label: "��ѯ��Ա�ӿ�", value: "/los/${appName}.listUser" }] }} className="deptMgt-page">
|
|
119
|
+
: [31;1m ^^^^[0m
|
|
120
|
+
[2m2[0m |
|
|
121
|
+
[2m3[0m |
|
|
122
|
+
`----
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
Caused by:
|
|
126
|
+
0: failed to parse code
|
|
127
|
+
1: Syntax Error
|
|
128
|
+
parseWithSWC @ swc-parser.ts:680
|
|
129
|
+
parseCode @ ast-cache.ts:740
|
|
130
|
+
parseSync @ ast-cache.ts:933
|
|
131
|
+
code2astWithCache @ ast-cache.ts:1277
|
|
132
|
+
code2astCached @ parse.ts:112
|
|
133
|
+
get @ light-module.ts:91
|
|
134
|
+
get @ light-module.ts:107
|
|
135
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
136
|
+
computeValue_ @ mobx.esm.js:1636
|
|
137
|
+
trackAndCompute @ mobx.esm.js:1613
|
|
138
|
+
get @ mobx.esm.js:1582
|
|
139
|
+
getObservablePropValue_ @ mobx.esm.js:4744
|
|
140
|
+
get @ mobx.esm.js:5243
|
|
141
|
+
hasModelDiff @ workspace.ts:3262
|
|
142
|
+
(anonymous) @ useFolder.tsx:71
|
|
143
|
+
makeFileTree @ useFolder.tsx:64
|
|
144
|
+
useFolder @ useFolder.tsx:303
|
|
145
|
+
(anonymous) @ index.tsx:65
|
|
146
|
+
(anonymous) @ observer.js:44
|
|
147
|
+
(anonymous) @ useObserver.js:80
|
|
148
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
149
|
+
track @ mobx.esm.js:2360
|
|
150
|
+
useObserver @ useObserver.js:78
|
|
151
|
+
(anonymous) @ observer.js:44
|
|
152
|
+
renderWithHooks @ react-dom.development.js:15015
|
|
153
|
+
updateFunctionComponent @ react-dom.development.js:17386
|
|
154
|
+
updateSimpleMemoComponent @ react-dom.development.js:17245
|
|
155
|
+
beginWork @ react-dom.development.js:19170
|
|
156
|
+
beginWork$1 @ react-dom.development.js:23970
|
|
157
|
+
performUnitOfWork @ react-dom.development.js:22809
|
|
158
|
+
workLoopSync @ react-dom.development.js:22737
|
|
159
|
+
renderRootSync @ react-dom.development.js:22700
|
|
160
|
+
performSyncWorkOnRoot @ react-dom.development.js:22323
|
|
161
|
+
(anonymous) @ react-dom.development.js:11357
|
|
162
|
+
unstable_runWithPriority @ react.development.js:2764
|
|
163
|
+
runWithPriority$1 @ react-dom.development.js:11306
|
|
164
|
+
flushSyncCallbackQueueImpl @ react-dom.development.js:11352
|
|
165
|
+
flushSyncCallbackQueue @ react-dom.development.js:11339
|
|
166
|
+
discreteUpdates$1 @ react-dom.development.js:22450
|
|
167
|
+
discreteUpdates @ react-dom.development.js:3753
|
|
168
|
+
dispatchDiscreteEvent @ react-dom.development.js:5919
|
|
169
|
+
light-module.ts:99 SyntaxError: Unexpected token (13:233) (at index.js:363:1)
|
|
170
|
+
at constructor (index.js:363:1)
|
|
171
|
+
at JSXParserMixin.raise (index.js:6609:1)
|
|
172
|
+
at JSXParserMixin.unexpected (index.js:6629:1)
|
|
173
|
+
at JSXParserMixin.parseExprAtom (index.js:11378:1)
|
|
174
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
175
|
+
at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
|
|
176
|
+
at JSXParserMixin.parseUpdate (index.js:10997:1)
|
|
177
|
+
at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
|
|
178
|
+
at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
|
|
179
|
+
at JSXParserMixin.parseExprOps (index.js:10835:1)
|
|
180
|
+
at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
|
|
181
|
+
at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
|
|
182
|
+
at index.js:10734:1
|
|
183
|
+
at JSXParserMixin.allowInAnd (index.js:12361:1)
|
|
184
|
+
at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
|
|
185
|
+
at JSXParserMixin.parseObjectProperty (index.js:11885:1)
|
|
186
|
+
at JSXParserMixin.parseObjPropValue (index.js:11913:1)
|
|
187
|
+
at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
|
|
188
|
+
at JSXParserMixin.parseObjectLike (index.js:11765:1)
|
|
189
|
+
at JSXParserMixin.parseExprAtom (index.js:11270:1)
|
|
190
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
191
|
+
at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
|
|
192
|
+
at JSXParserMixin.parseUpdate (index.js:10997:1)
|
|
193
|
+
at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
|
|
194
|
+
at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
|
|
195
|
+
at JSXParserMixin.parseExprOps (index.js:10835:1)
|
|
196
|
+
at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
|
|
197
|
+
at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
|
|
198
|
+
at index.js:10734:1
|
|
199
|
+
at JSXParserMixin.allowInAnd (index.js:12361:1)
|
|
200
|
+
at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
|
|
201
|
+
at JSXParserMixin.parseParenAndDistinguishExpression (index.js:11608:1)
|
|
202
|
+
at JSXParserMixin.parseExprAtom (index.js:11262:1)
|
|
203
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
204
|
+
at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
|
|
205
|
+
at JSXParserMixin.parseUpdate (index.js:10997:1)
|
|
206
|
+
at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
|
|
207
|
+
at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
|
|
208
|
+
at JSXParserMixin.parseExprOps (index.js:10835:1)
|
|
209
|
+
at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
|
|
210
|
+
at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
|
|
211
|
+
at JSXParserMixin.parseExpressionBase (index.js:10718:1)
|
|
212
|
+
at index.js:10714:1
|
|
213
|
+
at JSXParserMixin.allowInAnd (index.js:12361:1)
|
|
214
|
+
at JSXParserMixin.parseExpression (index.js:10714:1)
|
|
215
|
+
at JSXParserMixin.jsxParseExpressionContainer (index.js:4644:1)
|
|
216
|
+
at JSXParserMixin.jsxParseAttributeValue (index.js:4616:1)
|
|
217
|
+
at JSXParserMixin.jsxParseAttribute (index.js:4665:1)
|
|
218
|
+
at JSXParserMixin.jsxParseOpeningElementAfterName (index.js:4679:1)
|
|
219
|
+
at JSXParserMixin.jsxParseOpeningElementAt (index.js:4674:1)
|
|
220
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/UserMgt.js (3.00ms)
|
|
221
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/ResourceMgt.js (1.00ms)
|
|
222
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createItem.js (6.10ms)
|
|
223
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/traceTask.js (5.80ms)
|
|
224
|
+
swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
|
|
225
|
+
[31mx[0m Unexpected token `}`. Expected yield, an identifier, [ or {
|
|
226
|
+
,-[1:1]
|
|
227
|
+
[2m1[0m | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page } from "@loview/lowcode-react-antd";import WorkFlowProcessConfigPage from "../components/WorkFlowProcessTrace/index.js";class App extends React.Component {render() {const { match: } = this.props;const id = match.params?.id;return (<Page data-dnd="%2Fsrc%2Fpages%2FTraceProcess.js:Page:pagefa71" onMount={() => {$function.process.fetchInitProcessTrace(id);}} access={{ relatedInterfaces: [{ label: "�����ٽӿ�", value: "/los/${appName}.traceProcess" }, { label: "������-�����������־���ӿ�", value: "/los/${appName}.listComments" }, { label: "������-����ʵ������ӿ�", value: "/los/${appName}.processInstanceDetail" }] }}>
|
|
228
|
+
: [31;1m ^[0m
|
|
229
|
+
[2m2[0m |
|
|
230
|
+
[2m3[0m |
|
|
231
|
+
`----
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
Caused by:
|
|
235
|
+
0: failed to parse code
|
|
236
|
+
1: Syntax Error
|
|
237
|
+
parseWithSWC @ swc-parser.ts:680
|
|
238
|
+
parseCode @ ast-cache.ts:740
|
|
239
|
+
parseSync @ ast-cache.ts:933
|
|
240
|
+
code2astWithCache @ ast-cache.ts:1277
|
|
241
|
+
code2astCached @ parse.ts:112
|
|
242
|
+
get @ light-module.ts:91
|
|
243
|
+
get @ light-module.ts:107
|
|
244
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
245
|
+
computeValue_ @ mobx.esm.js:1636
|
|
246
|
+
trackAndCompute @ mobx.esm.js:1613
|
|
247
|
+
get @ mobx.esm.js:1582
|
|
248
|
+
getObservablePropValue_ @ mobx.esm.js:4744
|
|
249
|
+
get @ mobx.esm.js:5243
|
|
250
|
+
hasModelDiff @ workspace.ts:3262
|
|
251
|
+
(anonymous) @ useFolder.tsx:71
|
|
252
|
+
makeFileTree @ useFolder.tsx:64
|
|
253
|
+
useFolder @ useFolder.tsx:303
|
|
254
|
+
(anonymous) @ index.tsx:65
|
|
255
|
+
(anonymous) @ observer.js:44
|
|
256
|
+
(anonymous) @ useObserver.js:80
|
|
257
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
258
|
+
track @ mobx.esm.js:2360
|
|
259
|
+
useObserver @ useObserver.js:78
|
|
260
|
+
(anonymous) @ observer.js:44
|
|
261
|
+
renderWithHooks @ react-dom.development.js:15015
|
|
262
|
+
updateFunctionComponent @ react-dom.development.js:17386
|
|
263
|
+
updateSimpleMemoComponent @ react-dom.development.js:17245
|
|
264
|
+
beginWork @ react-dom.development.js:19170
|
|
265
|
+
beginWork$1 @ react-dom.development.js:23970
|
|
266
|
+
performUnitOfWork @ react-dom.development.js:22809
|
|
267
|
+
workLoopSync @ react-dom.development.js:22737
|
|
268
|
+
renderRootSync @ react-dom.development.js:22700
|
|
269
|
+
performSyncWorkOnRoot @ react-dom.development.js:22323
|
|
270
|
+
(anonymous) @ react-dom.development.js:11357
|
|
271
|
+
unstable_runWithPriority @ react.development.js:2764
|
|
272
|
+
runWithPriority$1 @ react-dom.development.js:11306
|
|
273
|
+
flushSyncCallbackQueueImpl @ react-dom.development.js:11352
|
|
274
|
+
flushSyncCallbackQueue @ react-dom.development.js:11339
|
|
275
|
+
discreteUpdates$1 @ react-dom.development.js:22450
|
|
276
|
+
discreteUpdates @ react-dom.development.js:3753
|
|
277
|
+
dispatchDiscreteEvent @ react-dom.development.js:5919
|
|
278
|
+
light-module.ts:99 SyntaxError: Unexpected token (1:276) (at index.js:363:1)
|
|
279
|
+
at constructor (index.js:363:1)
|
|
280
|
+
at JSXParserMixin.raise (index.js:6609:1)
|
|
281
|
+
at JSXParserMixin.unexpected (index.js:6629:1)
|
|
282
|
+
at JSXParserMixin.parseIdentifierName (index.js:12138:1)
|
|
283
|
+
at JSXParserMixin.parseIdentifier (index.js:12116:1)
|
|
284
|
+
at JSXParserMixin.parseBindingAtom (index.js:7345:1)
|
|
285
|
+
at JSXParserMixin.parseMaybeDefault (index.js:7428:1)
|
|
286
|
+
at JSXParserMixin.parseObjectProperty (index.js:11885:1)
|
|
287
|
+
at JSXParserMixin.parseObjPropValue (index.js:11913:1)
|
|
288
|
+
at JSXParserMixin.parseBindingProperty (index.js:7409:1)
|
|
289
|
+
at JSXParserMixin.parseObjectLike (index.js:11763:1)
|
|
290
|
+
at JSXParserMixin.parseBindingAtom (index.js:7343:1)
|
|
291
|
+
at JSXParserMixin.parseVarId (index.js:13321:1)
|
|
292
|
+
at JSXParserMixin.parseVar (index.js:13302:1)
|
|
293
|
+
at JSXParserMixin.parseVarStatement (index.js:13149:1)
|
|
294
|
+
at JSXParserMixin.parseStatementContent (index.js:12770:1)
|
|
295
|
+
at JSXParserMixin.parseStatementLike (index.js:12685:1)
|
|
296
|
+
at JSXParserMixin.parseStatementListItem (index.js:12665:1)
|
|
297
|
+
at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
|
|
298
|
+
at JSXParserMixin.parseBlockBody (index.js:13228:1)
|
|
299
|
+
at JSXParserMixin.parseBlock (index.js:13216:1)
|
|
300
|
+
at JSXParserMixin.parseFunctionBody (index.js:12035:1)
|
|
301
|
+
at JSXParserMixin.parseFunctionBodyAndFinish (index.js:12021:1)
|
|
302
|
+
at JSXParserMixin.parseMethod (index.js:11979:1)
|
|
303
|
+
at JSXParserMixin.pushClassMethod (index.js:13642:1)
|
|
304
|
+
at JSXParserMixin.parseClassMemberWithIsStatic (index.js:13530:1)
|
|
305
|
+
at JSXParserMixin.parseClassMember (index.js:13478:1)
|
|
306
|
+
at index.js:13432:1
|
|
307
|
+
at JSXParserMixin.withSmartMixTopicForbiddingContext (index.js:12338:1)
|
|
308
|
+
at JSXParserMixin.parseClassBody (index.js:13414:1)
|
|
309
|
+
at JSXParserMixin.parseClass (index.js:13389:1)
|
|
310
|
+
at JSXParserMixin.parseStatementContent (index.js:12712:1)
|
|
311
|
+
at JSXParserMixin.parseStatementLike (index.js:12685:1)
|
|
312
|
+
at JSXParserMixin.parseModuleItem (index.js:12662:1)
|
|
313
|
+
at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
|
|
314
|
+
at JSXParserMixin.parseBlockBody (index.js:13228:1)
|
|
315
|
+
at JSXParserMixin.parseProgram (index.js:12541:1)
|
|
316
|
+
at JSXParserMixin.parseTopLevel (index.js:12531:1)
|
|
317
|
+
at JSXParserMixin.parse (index.js:14410:1)
|
|
318
|
+
at parse (index.js:14444:1)
|
|
319
|
+
at parseWithSWC (swc-parser.ts:682:1)
|
|
320
|
+
at ASTCache.parseCode (ast-cache.ts:740:1)
|
|
321
|
+
at ASTCache.parseSync (ast-cache.ts:933:1)
|
|
322
|
+
at code2astWithCache (ast-cache.ts:1277:1)
|
|
323
|
+
at code2astCached (parse.ts:112:1)
|
|
324
|
+
at LowCodeLightModule.get (light-module.ts:91:1)
|
|
325
|
+
at LowCodeLightModule.get (light-module.ts:107:1)
|
|
326
|
+
at trackDerivedFunction (mobx.esm.js:1842:1)
|
|
327
|
+
at ComputedValue.computeValue_ (mobx.esm.js:1636:1)
|
|
328
|
+
at ComputedValue.trackAndCompute (mobx.esm.js:1613:1)
|
|
329
|
+
swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
|
|
330
|
+
[31mx[0m Unexpected token `,`. Expected yield, an identifier, [ or {
|
|
331
|
+
,-[1:1]
|
|
332
|
+
[2m1[0m | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { getParamsFromRoute } from "../utils";import { Page, Button, Row, Section, Space, Table, Block } from "@loview/lowcode-react-antd";import Modal390 from "./ImportDetailModals/modal390.js";import Modal922 from "./ImportDetailModals/modal922.js";import Modal178 from "./ImportDetailModals/modal178.js";import Modal210 from "./ImportDetailModals/modal210.js";import Modal889 from "./ImportDetailModals/modal889.js";class App extends React.Component {render() {const { location: , match: } = this.props;const id = match.params?.id;const searchParams = getParamsFromRoute(location.search);const readonly = searchParams?.readonly === "true";return (<Page data-dnd="%2Fsrc%2Fpages%2FImportDetail.js:Page:page7312" onMount={() => {$function.userConflict.fetchUserTree();$function.deptConflict.fetchDeptTree();$function.roleConflict.fetchRoleList();$function.importRecord.fetchDetail(id);}} access={{ relatedInterfaces: [{ label: "��������ӿ�", value: "/los/${appName}.importProcessDetail" }, { label: "��������-���ź���Ա���ӿ�", value: "/los/${appName}.workflowDepartmentTree" }, { label: "��������-��ѯ��ɫ�ӿ�", value: "/los/${appName}.listRole" }, { label: "ȷ�ϵ���ӿ�", value: "/los/${appName}.importProcess" }, { label: "��������-��������ӿ�", value: "/los/${appName}.discardApply" }, { label: "��������-���õ�������ӿ�", value: "/los/${appName}.resetApplyStatus" }, { label: "��������-����û���ͻ�ӿ�", value: "/los/${appName}.resolveUser" }, { label: "��������-�����ɫ��ͻ�ӿ�", value: "/los/${appName}.resolveRole" }, { label: "��������-������̳�ͻ�ӿ�", value: "/los/${appName}.resolveProcess" }, { label: "��������-������ų�ͻ�ӿ�", value: "/los/${appName}.resolveDepartment" }, { label: "��������-�������key�ظ��ӿ�", value: "/los/${appName}.checkProcessKeyDuplicated" }] }}>
|
|
333
|
+
: [31;1m ^[0m
|
|
334
|
+
[2m2[0m |
|
|
335
|
+
[2m3[0m |
|
|
336
|
+
`----
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
Caused by:
|
|
340
|
+
0: failed to parse code
|
|
341
|
+
1: Syntax Error
|
|
342
|
+
parseWithSWC @ swc-parser.ts:680
|
|
343
|
+
parseCode @ ast-cache.ts:740
|
|
344
|
+
parseSync @ ast-cache.ts:933
|
|
345
|
+
code2astWithCache @ ast-cache.ts:1277
|
|
346
|
+
code2astCached @ parse.ts:112
|
|
347
|
+
get @ light-module.ts:91
|
|
348
|
+
get @ light-module.ts:107
|
|
349
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
350
|
+
computeValue_ @ mobx.esm.js:1636
|
|
351
|
+
trackAndCompute @ mobx.esm.js:1613
|
|
352
|
+
get @ mobx.esm.js:1582
|
|
353
|
+
getObservablePropValue_ @ mobx.esm.js:4744
|
|
354
|
+
get @ mobx.esm.js:5243
|
|
355
|
+
hasModelDiff @ workspace.ts:3262
|
|
356
|
+
(anonymous) @ useFolder.tsx:71
|
|
357
|
+
makeFileTree @ useFolder.tsx:64
|
|
358
|
+
useFolder @ useFolder.tsx:303
|
|
359
|
+
(anonymous) @ index.tsx:65
|
|
360
|
+
(anonymous) @ observer.js:44
|
|
361
|
+
(anonymous) @ useObserver.js:80
|
|
362
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
363
|
+
track @ mobx.esm.js:2360
|
|
364
|
+
useObserver @ useObserver.js:78
|
|
365
|
+
(anonymous) @ observer.js:44
|
|
366
|
+
renderWithHooks @ react-dom.development.js:15015
|
|
367
|
+
updateFunctionComponent @ react-dom.development.js:17386
|
|
368
|
+
updateSimpleMemoComponent @ react-dom.development.js:17245
|
|
369
|
+
beginWork @ react-dom.development.js:19170
|
|
370
|
+
beginWork$1 @ react-dom.development.js:23970
|
|
371
|
+
performUnitOfWork @ react-dom.development.js:22809
|
|
372
|
+
workLoopSync @ react-dom.development.js:22737
|
|
373
|
+
renderRootSync @ react-dom.development.js:22700
|
|
374
|
+
performSyncWorkOnRoot @ react-dom.development.js:22323
|
|
375
|
+
(anonymous) @ react-dom.development.js:11357
|
|
376
|
+
unstable_runWithPriority @ react.development.js:2764
|
|
377
|
+
runWithPriority$1 @ react-dom.development.js:11306
|
|
378
|
+
flushSyncCallbackQueueImpl @ react-dom.development.js:11352
|
|
379
|
+
flushSyncCallbackQueue @ react-dom.development.js:11339
|
|
380
|
+
discreteUpdates$1 @ react-dom.development.js:22450
|
|
381
|
+
discreteUpdates @ react-dom.development.js:3753
|
|
382
|
+
dispatchDiscreteEvent @ react-dom.development.js:5919
|
|
383
|
+
light-module.ts:99 SyntaxError: Unexpected token (1:564) (at index.js:363:1)
|
|
384
|
+
at constructor (index.js:363:1)
|
|
385
|
+
at JSXParserMixin.raise (index.js:6609:1)
|
|
386
|
+
at JSXParserMixin.unexpected (index.js:6629:1)
|
|
387
|
+
at JSXParserMixin.parseIdentifierName (index.js:12138:1)
|
|
388
|
+
at JSXParserMixin.parseIdentifier (index.js:12116:1)
|
|
389
|
+
at JSXParserMixin.parseBindingAtom (index.js:7345:1)
|
|
390
|
+
at JSXParserMixin.parseMaybeDefault (index.js:7428:1)
|
|
391
|
+
at JSXParserMixin.parseObjectProperty (index.js:11885:1)
|
|
392
|
+
at JSXParserMixin.parseObjPropValue (index.js:11913:1)
|
|
393
|
+
at JSXParserMixin.parseBindingProperty (index.js:7409:1)
|
|
394
|
+
at JSXParserMixin.parseObjectLike (index.js:11763:1)
|
|
395
|
+
at JSXParserMixin.parseBindingAtom (index.js:7343:1)
|
|
396
|
+
at JSXParserMixin.parseVarId (index.js:13321:1)
|
|
397
|
+
at JSXParserMixin.parseVar (index.js:13302:1)
|
|
398
|
+
at JSXParserMixin.parseVarStatement (index.js:13149:1)
|
|
399
|
+
at JSXParserMixin.parseStatementContent (index.js:12770:1)
|
|
400
|
+
at JSXParserMixin.parseStatementLike (index.js:12685:1)
|
|
401
|
+
at JSXParserMixin.parseStatementListItem (index.js:12665:1)
|
|
402
|
+
at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
|
|
403
|
+
at JSXParserMixin.parseBlockBody (index.js:13228:1)
|
|
404
|
+
at JSXParserMixin.parseBlock (index.js:13216:1)
|
|
405
|
+
at JSXParserMixin.parseFunctionBody (index.js:12035:1)
|
|
406
|
+
at JSXParserMixin.parseFunctionBodyAndFinish (index.js:12021:1)
|
|
407
|
+
at JSXParserMixin.parseMethod (index.js:11979:1)
|
|
408
|
+
at JSXParserMixin.pushClassMethod (index.js:13642:1)
|
|
409
|
+
at JSXParserMixin.parseClassMemberWithIsStatic (index.js:13530:1)
|
|
410
|
+
at JSXParserMixin.parseClassMember (index.js:13478:1)
|
|
411
|
+
at index.js:13432:1
|
|
412
|
+
at JSXParserMixin.withSmartMixTopicForbiddingContext (index.js:12338:1)
|
|
413
|
+
at JSXParserMixin.parseClassBody (index.js:13414:1)
|
|
414
|
+
at JSXParserMixin.parseClass (index.js:13389:1)
|
|
415
|
+
at JSXParserMixin.parseStatementContent (index.js:12712:1)
|
|
416
|
+
at JSXParserMixin.parseStatementLike (index.js:12685:1)
|
|
417
|
+
at JSXParserMixin.parseModuleItem (index.js:12662:1)
|
|
418
|
+
at JSXParserMixin.parseBlockOrModuleBlockBody (index.js:13235:1)
|
|
419
|
+
at JSXParserMixin.parseBlockBody (index.js:13228:1)
|
|
420
|
+
at JSXParserMixin.parseProgram (index.js:12541:1)
|
|
421
|
+
at JSXParserMixin.parseTopLevel (index.js:12531:1)
|
|
422
|
+
at JSXParserMixin.parse (index.js:14410:1)
|
|
423
|
+
at parse (index.js:14444:1)
|
|
424
|
+
at parseWithSWC (swc-parser.ts:682:1)
|
|
425
|
+
at ASTCache.parseCode (ast-cache.ts:740:1)
|
|
426
|
+
at ASTCache.parseSync (ast-cache.ts:933:1)
|
|
427
|
+
at code2astWithCache (ast-cache.ts:1277:1)
|
|
428
|
+
at code2astCached (parse.ts:112:1)
|
|
429
|
+
at LowCodeLightModule.get (light-module.ts:91:1)
|
|
430
|
+
at LowCodeLightModule.get (light-module.ts:107:1)
|
|
431
|
+
at trackDerivedFunction (mobx.esm.js:1842:1)
|
|
432
|
+
at ComputedValue.computeValue_ (mobx.esm.js:1636:1)
|
|
433
|
+
at ComputedValue.trackAndCompute (mobx.esm.js:1613:1)
|
|
434
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/UpdatePwd.js (1.30ms)
|
|
435
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/getTechItem.js (8.50ms)
|
|
436
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createDemo.js (3.20ms)
|
|
437
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/createTechRequirement.js (10.30ms)
|
|
438
|
+
swc-parser.ts:680 [SWC] ����ʧ�ܣ����˵� Babel:
|
|
439
|
+
[31mx[0m Unexpected token `Page`. Expected jsx identifier
|
|
440
|
+
,-[1:1]
|
|
441
|
+
[2m1[0m | import React from "react";import { definePage } from "@loview/lowcode-react-boot";import { Page, QueryPage, Section, Row, Col, FForm, FFormItem, FFormFooter, FReset, FSubmit, Space, Button, Table, Descriptions } from "@loview/lowcode-react-antd";import ReadModal from "./techReqDemoModals/ReadModal.js";import CreateModal from "./techReqDemoModals/CreateModal.js";import UpdateModal from "./techReqDemoModals/UpdateModal.js";class App extends React.Component {render() {return (<Page data-dnd="%2Fsrc%2Fpages%2FtechReqDemo.js:Page:page09a2">
|
|
442
|
+
: [31;1m ^^^^[0m
|
|
443
|
+
[2m2[0m |
|
|
444
|
+
[2m3[0m | <div data-dnd="%2Fsrc%2Fpages%2FtechReqDemo.js:div:techRequirementd428" data-meta="TechRequirement" tid="techRequirementd428" data-name="TechRequirement" data-tag="MetaContext">
|
|
445
|
+
`----
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
Caused by:
|
|
449
|
+
0: failed to parse code
|
|
450
|
+
1: Syntax Error
|
|
451
|
+
parseWithSWC @ swc-parser.ts:680
|
|
452
|
+
parseCode @ ast-cache.ts:740
|
|
453
|
+
parseSync @ ast-cache.ts:933
|
|
454
|
+
code2astWithCache @ ast-cache.ts:1277
|
|
455
|
+
code2astCached @ parse.ts:112
|
|
456
|
+
get @ light-module.ts:91
|
|
457
|
+
get @ light-module.ts:107
|
|
458
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
459
|
+
computeValue_ @ mobx.esm.js:1636
|
|
460
|
+
trackAndCompute @ mobx.esm.js:1613
|
|
461
|
+
get @ mobx.esm.js:1582
|
|
462
|
+
getObservablePropValue_ @ mobx.esm.js:4744
|
|
463
|
+
get @ mobx.esm.js:5243
|
|
464
|
+
hasDiff @ workspace.ts:3245
|
|
465
|
+
(anonymous) @ useFolder.tsx:71
|
|
466
|
+
makeFileTree @ useFolder.tsx:64
|
|
467
|
+
useFolder @ useFolder.tsx:303
|
|
468
|
+
(anonymous) @ index.tsx:65
|
|
469
|
+
(anonymous) @ observer.js:44
|
|
470
|
+
(anonymous) @ useObserver.js:80
|
|
471
|
+
trackDerivedFunction @ mobx.esm.js:1842
|
|
472
|
+
track @ mobx.esm.js:2360
|
|
473
|
+
useObserver @ useObserver.js:78
|
|
474
|
+
(anonymous) @ observer.js:44
|
|
475
|
+
renderWithHooks @ react-dom.development.js:15015
|
|
476
|
+
updateFunctionComponent @ react-dom.development.js:17386
|
|
477
|
+
updateSimpleMemoComponent @ react-dom.development.js:17245
|
|
478
|
+
beginWork @ react-dom.development.js:19170
|
|
479
|
+
beginWork$1 @ react-dom.development.js:23970
|
|
480
|
+
performUnitOfWork @ react-dom.development.js:22809
|
|
481
|
+
workLoopSync @ react-dom.development.js:22737
|
|
482
|
+
renderRootSync @ react-dom.development.js:22700
|
|
483
|
+
performSyncWorkOnRoot @ react-dom.development.js:22323
|
|
484
|
+
(anonymous) @ react-dom.development.js:11357
|
|
485
|
+
unstable_runWithPriority @ react.development.js:2764
|
|
486
|
+
runWithPriority$1 @ react-dom.development.js:11306
|
|
487
|
+
flushSyncCallbackQueueImpl @ react-dom.development.js:11352
|
|
488
|
+
flushSyncCallbackQueue @ react-dom.development.js:11339
|
|
489
|
+
discreteUpdates$1 @ react-dom.development.js:22450
|
|
490
|
+
discreteUpdates @ react-dom.development.js:3753
|
|
491
|
+
dispatchDiscreteEvent @ react-dom.development.js:5919
|
|
492
|
+
light-module.ts:99 SyntaxError: Unexpected token (289:4498) (at index.js:363:1)
|
|
493
|
+
at constructor (index.js:363:1)
|
|
494
|
+
at JSXParserMixin.raise (index.js:6609:1)
|
|
495
|
+
at JSXParserMixin.unexpected (index.js:6629:1)
|
|
496
|
+
at JSXParserMixin.parseExprAtom (index.js:11378:1)
|
|
497
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
498
|
+
at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
|
|
499
|
+
at JSXParserMixin.parseUpdate (index.js:10997:1)
|
|
500
|
+
at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
|
|
501
|
+
at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
|
|
502
|
+
at JSXParserMixin.parseExprOps (index.js:10835:1)
|
|
503
|
+
at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
|
|
504
|
+
at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
|
|
505
|
+
at index.js:10734:1
|
|
506
|
+
at JSXParserMixin.allowInAnd (index.js:12361:1)
|
|
507
|
+
at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
|
|
508
|
+
at JSXParserMixin.parseObjectProperty (index.js:11885:1)
|
|
509
|
+
at JSXParserMixin.parseObjPropValue (index.js:11913:1)
|
|
510
|
+
at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
|
|
511
|
+
at JSXParserMixin.parseObjectLike (index.js:11765:1)
|
|
512
|
+
at JSXParserMixin.parseExprAtom (index.js:11270:1)
|
|
513
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
514
|
+
at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
|
|
515
|
+
at JSXParserMixin.parseUpdate (index.js:10997:1)
|
|
516
|
+
at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
|
|
517
|
+
at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
|
|
518
|
+
at JSXParserMixin.parseExprOps (index.js:10835:1)
|
|
519
|
+
at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
|
|
520
|
+
at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
|
|
521
|
+
at index.js:10734:1
|
|
522
|
+
at JSXParserMixin.allowInAnd (index.js:12361:1)
|
|
523
|
+
at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
|
|
524
|
+
at JSXParserMixin.parseParenAndDistinguishExpression (index.js:11608:1)
|
|
525
|
+
at JSXParserMixin.parseExprAtom (index.js:11262:1)
|
|
526
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
527
|
+
at JSXParserMixin.parseExprSubscripts (index.js:11012:1)
|
|
528
|
+
at JSXParserMixin.parseUpdate (index.js:10997:1)
|
|
529
|
+
at JSXParserMixin.parseMaybeUnary (index.js:10977:1)
|
|
530
|
+
at JSXParserMixin.parseMaybeUnaryOrPrivate (index.js:10830:1)
|
|
531
|
+
at JSXParserMixin.parseExprOps (index.js:10835:1)
|
|
532
|
+
at JSXParserMixin.parseMaybeConditional (index.js:10812:1)
|
|
533
|
+
at JSXParserMixin.parseMaybeAssign (index.js:10765:1)
|
|
534
|
+
at index.js:10734:1
|
|
535
|
+
at JSXParserMixin.allowInAnd (index.js:12361:1)
|
|
536
|
+
at JSXParserMixin.parseMaybeAssignAllowIn (index.js:10734:1)
|
|
537
|
+
at JSXParserMixin.parseObjectProperty (index.js:11885:1)
|
|
538
|
+
at JSXParserMixin.parseObjPropValue (index.js:11913:1)
|
|
539
|
+
at JSXParserMixin.parsePropertyDefinition (index.js:11850:1)
|
|
540
|
+
at JSXParserMixin.parseObjectLike (index.js:11765:1)
|
|
541
|
+
at JSXParserMixin.parseExprAtom (index.js:11270:1)
|
|
542
|
+
at JSXParserMixin.parseExprAtom (index.js:4776:1)
|
|
543
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/techReqCreateDemo.js (20.10ms)
|
|
544
|
+
ast-cache.ts:944 [ASTCache] Parse miss (SWC) - /src/pages/techReqDetail.js (3.70ms)
|
|
545
|
+
sandbox.tsx:193 [useSandbox] Setting eventHandlers to sandboxProps, count: 13
|
|
546
|
+
index.tsx:92 [CodeSandbox] eventHandlers comparison: {changed: false, prevKeys: Array(13), nextKeys: Array(13), iframeReady: true}
|
|
547
|
+
sandbox.tsx:193 [useSandbox] Setting eventHandlers to sandboxProps, count: 13
|
|
548
|
+
index.tsx:92 [CodeSandbox] eventHandlers comparison: {changed: false, prevKeys: Array(13), nextKeys: Array(13), iframeReady: true}
|