@putout/babel 5.0.4 → 5.0.5

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/README.md CHANGED
@@ -11,6 +11,7 @@ Includes:
11
11
  - [`Improve Unicode handling in code-frame tokenizer`](https://github.com/babel/babel/pull/17589);
12
12
  - [`Improve traverse types`](https://github.com/babel/babel/pull/17574);
13
13
  - [`Rename TSImportType.argument to .source`](https://github.com/babel/babel/pull/17610);
14
+ - [`Remove decorator parser plugin options`](https://github.com/babel/babel/pull/17643);
14
15
 
15
16
  Usage
16
17
 
package/bundle/index.js CHANGED
@@ -136,509 +136,6 @@ var require_picocolors = __commonJS({
136
136
  },
137
137
  });
138
138
 
139
- // ../babel-babel/node_modules/js-tokens/index.js
140
- var require_js_tokens = __commonJS({
141
- '../babel-babel/node_modules/js-tokens/index.js'(exports2, module2) {
142
- var Identifier3;
143
- var JSXIdentifier3;
144
- var JSXPunctuator;
145
- var JSXString;
146
- var JSXText3;
147
- var KeywordsWithExpressionAfter;
148
- var KeywordsWithNoLineTerminatorAfter;
149
- var LineTerminatorSequence;
150
- var MultiLineComment;
151
- var Newline;
152
- var NumericLiteral4;
153
- var Punctuator;
154
- var RegularExpressionLiteral;
155
- var SingleLineComment;
156
- var StringLiteral4;
157
- var Template;
158
- var TokensNotPrecedingObjectLiteral;
159
- var TokensPrecedingExpression;
160
- var WhiteSpace;
161
- var jsTokens2;
162
-
163
- RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;
164
- Punctuator = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;
165
- Identifier3 = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;
166
- StringLiteral4 = /(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y;
167
- NumericLiteral4 = /(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;
168
- Template = /[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;
169
- WhiteSpace = /[\t\v\f\ufeff\p{Zs}]+/yu;
170
- LineTerminatorSequence = /\r?\n|[\r\u2028\u2029]/y;
171
- MultiLineComment = /\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;
172
- SingleLineComment = /\/\/.*/y;
173
- JSXPunctuator = /[<>.:={}]|\/(?![\/*])/y;
174
- JSXIdentifier3 = /[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;
175
- JSXString = /(['"])(?:(?!\1)[^])*(\1)?/y;
176
- JSXText3 = /[^<>{}]+/y;
177
- TokensPrecedingExpression = /^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;
178
- TokensNotPrecedingObjectLiteral = /^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;
179
- KeywordsWithExpressionAfter = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;
180
- KeywordsWithNoLineTerminatorAfter = /^(?:return|throw|yield)$/;
181
- Newline = RegExp(LineTerminatorSequence.source);
182
- module2.exports =
183
- jsTokens2 = function*(input, {jsx: jsx2 = false} = {}) {
184
- var braces,
185
- firstCodePoint,
186
- isExpression4,
187
- lastIndex,
188
- lastSignificantToken,
189
- length,
190
- match,
191
- mode,
192
- nextLastIndex,
193
- nextLastSignificantToken,
194
- parenNesting,
195
- postfixIncDec,
196
- punctuator,
197
- stack;
198
-
199
- ({length} = input);
200
- lastIndex = 0;
201
- lastSignificantToken = '';
202
- stack = [{
203
- tag: 'JS',
204
- }];
205
- braces = [];
206
- parenNesting = 0;
207
- postfixIncDec = false;
208
- while (lastIndex < length) {
209
- mode = stack[stack.length - 1];
210
- switch(mode.tag) {
211
- case 'JS':
212
- case 'JSNonExpressionParen':
213
- case 'InterpolationInTemplate':
214
- case 'InterpolationInJSX':
215
- if (input[lastIndex] === '/' && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {
216
- RegularExpressionLiteral.lastIndex = lastIndex;
217
-
218
- if (match = RegularExpressionLiteral.exec(input)) {
219
- lastIndex = RegularExpressionLiteral.lastIndex;
220
- lastSignificantToken = match[0];
221
- postfixIncDec = true;
222
- yield {
223
- type: 'RegularExpressionLiteral',
224
- value: match[0],
225
- closed: match[1] !== void 0 && match[1] !== '\\',
226
- };
227
- continue;
228
- }
229
- }
230
-
231
- Punctuator.lastIndex = lastIndex;
232
-
233
- if (match = Punctuator.exec(input)) {
234
- punctuator = match[0];
235
- nextLastIndex = Punctuator.lastIndex;
236
- nextLastSignificantToken = punctuator;
237
- switch(punctuator) {
238
- case '(':
239
- if (lastSignificantToken === '?NonExpressionParenKeyword') {
240
- stack.push({
241
- tag: 'JSNonExpressionParen',
242
- nesting: parenNesting,
243
- });
244
- }
245
-
246
- parenNesting++;
247
- postfixIncDec = false;
248
- break;
249
-
250
- case ')':
251
- parenNesting--;
252
- postfixIncDec = true;
253
-
254
- if (mode.tag === 'JSNonExpressionParen' && parenNesting === mode.nesting) {
255
- stack.pop();
256
- nextLastSignificantToken = '?NonExpressionParenEnd';
257
- postfixIncDec = false;
258
- }
259
-
260
- break;
261
-
262
- case '{':
263
- Punctuator.lastIndex = 0;
264
- isExpression4 = !TokensNotPrecedingObjectLiteral.test(lastSignificantToken) && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken));
265
- braces.push(isExpression4);
266
- postfixIncDec = false;
267
- break;
268
-
269
- case '}':
270
- switch(mode.tag) {
271
- case 'InterpolationInTemplate':
272
- if (braces.length === mode.nesting) {
273
- Template.lastIndex = lastIndex;
274
- match = Template.exec(input);
275
- lastIndex = Template.lastIndex;
276
- lastSignificantToken = match[0];
277
-
278
- if (match[1] === '${') {
279
- lastSignificantToken = '?InterpolationInTemplate';
280
- postfixIncDec = false;
281
- yield {
282
- type: 'TemplateMiddle',
283
- value: match[0],
284
- };
285
- } else {
286
- stack.pop();
287
- postfixIncDec = true;
288
- yield {
289
- type: 'TemplateTail',
290
- value: match[0],
291
- closed: match[1] === '`',
292
- };
293
- }
294
-
295
- continue;
296
- }
297
-
298
- break;
299
-
300
- case 'InterpolationInJSX':
301
- if (braces.length === mode.nesting) {
302
- stack.pop();
303
- lastIndex += 1;
304
- lastSignificantToken = '}';
305
- yield {
306
- type: 'JSXPunctuator',
307
- value: '}',
308
- };
309
- continue;
310
- }
311
- }
312
-
313
- postfixIncDec = braces.pop();
314
- nextLastSignificantToken = postfixIncDec ? '?ExpressionBraceEnd' : '}';
315
- break;
316
-
317
- case ']':
318
- postfixIncDec = true;
319
- break;
320
-
321
- case '++':
322
- case '--':
323
- nextLastSignificantToken = postfixIncDec ? '?PostfixIncDec' : '?UnaryIncDec';
324
- break;
325
-
326
- case '<':
327
- if (jsx2 && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {
328
- stack.push({
329
- tag: 'JSXTag',
330
- });
331
- lastIndex += 1;
332
- lastSignificantToken = '<';
333
- yield {
334
- type: 'JSXPunctuator',
335
- value: punctuator,
336
- };
337
- continue;
338
- }
339
-
340
- postfixIncDec = false;
341
- break;
342
-
343
- default:
344
- postfixIncDec = false;
345
- }
346
-
347
- lastIndex = nextLastIndex;
348
- lastSignificantToken = nextLastSignificantToken;
349
- yield {
350
- type: 'Punctuator',
351
- value: punctuator,
352
- };
353
- continue;
354
- }
355
-
356
- Identifier3.lastIndex = lastIndex;
357
-
358
- if (match = Identifier3.exec(input)) {
359
- lastIndex = Identifier3.lastIndex;
360
- nextLastSignificantToken = match[0];
361
- switch(match[0]) {
362
- case 'for':
363
- case 'if':
364
- case 'while':
365
- case 'with':
366
- if (lastSignificantToken !== '.' && lastSignificantToken !== '?.') {
367
- nextLastSignificantToken = '?NonExpressionParenKeyword';
368
- }
369
- }
370
-
371
- lastSignificantToken = nextLastSignificantToken;
372
- postfixIncDec = !KeywordsWithExpressionAfter.test(match[0]);
373
- yield {
374
- type: match[1] === '#' ? 'PrivateIdentifier' : 'IdentifierName',
375
- value: match[0],
376
- };
377
- continue;
378
- }
379
-
380
- StringLiteral4.lastIndex = lastIndex;
381
-
382
- if (match = StringLiteral4.exec(input)) {
383
- lastIndex = StringLiteral4.lastIndex;
384
- lastSignificantToken = match[0];
385
- postfixIncDec = true;
386
- yield {
387
- type: 'StringLiteral',
388
- value: match[0],
389
- closed: match[2] !== void 0,
390
- };
391
- continue;
392
- }
393
-
394
- NumericLiteral4.lastIndex = lastIndex;
395
-
396
- if (match = NumericLiteral4.exec(input)) {
397
- lastIndex = NumericLiteral4.lastIndex;
398
- lastSignificantToken = match[0];
399
- postfixIncDec = true;
400
- yield {
401
- type: 'NumericLiteral',
402
- value: match[0],
403
- };
404
- continue;
405
- }
406
-
407
- Template.lastIndex = lastIndex;
408
-
409
- if (match = Template.exec(input)) {
410
- lastIndex = Template.lastIndex;
411
- lastSignificantToken = match[0];
412
-
413
- if (match[1] === '${') {
414
- lastSignificantToken = '?InterpolationInTemplate';
415
- stack.push({
416
- tag: 'InterpolationInTemplate',
417
- nesting: braces.length,
418
- });
419
- postfixIncDec = false;
420
- yield {
421
- type: 'TemplateHead',
422
- value: match[0],
423
- };
424
- } else {
425
- postfixIncDec = true;
426
- yield {
427
- type: 'NoSubstitutionTemplate',
428
- value: match[0],
429
- closed: match[1] === '`',
430
- };
431
- }
432
-
433
- continue;
434
- }
435
-
436
- break;
437
-
438
- case 'JSXTag':
439
- case 'JSXTagEnd':
440
- JSXPunctuator.lastIndex = lastIndex;
441
-
442
- if (match = JSXPunctuator.exec(input)) {
443
- lastIndex = JSXPunctuator.lastIndex;
444
- nextLastSignificantToken = match[0];
445
- switch(match[0]) {
446
- case '<':
447
- stack.push({
448
- tag: 'JSXTag',
449
- });
450
- break;
451
-
452
- case '>':
453
- stack.pop();
454
-
455
- if (lastSignificantToken === '/' || mode.tag === 'JSXTagEnd') {
456
- nextLastSignificantToken = '?JSX';
457
- postfixIncDec = true;
458
- } else {
459
- stack.push({
460
- tag: 'JSXChildren',
461
- });
462
- }
463
-
464
- break;
465
-
466
- case '{':
467
- stack.push({
468
- tag: 'InterpolationInJSX',
469
- nesting: braces.length,
470
- });
471
- nextLastSignificantToken = '?InterpolationInJSX';
472
- postfixIncDec = false;
473
- break;
474
-
475
- case '/':
476
- if (lastSignificantToken === '<') {
477
- stack.pop();
478
-
479
- if (stack[stack.length - 1].tag === 'JSXChildren') {
480
- stack.pop();
481
- }
482
-
483
- stack.push({
484
- tag: 'JSXTagEnd',
485
- });
486
- }
487
- }
488
-
489
- lastSignificantToken = nextLastSignificantToken;
490
- yield {
491
- type: 'JSXPunctuator',
492
- value: match[0],
493
- };
494
- continue;
495
- }
496
-
497
- JSXIdentifier3.lastIndex = lastIndex;
498
-
499
- if (match = JSXIdentifier3.exec(input)) {
500
- lastIndex = JSXIdentifier3.lastIndex;
501
- lastSignificantToken = match[0];
502
- yield {
503
- type: 'JSXIdentifier',
504
- value: match[0],
505
- };
506
- continue;
507
- }
508
-
509
- JSXString.lastIndex = lastIndex;
510
-
511
- if (match = JSXString.exec(input)) {
512
- lastIndex = JSXString.lastIndex;
513
- lastSignificantToken = match[0];
514
- yield {
515
- type: 'JSXString',
516
- value: match[0],
517
- closed: match[2] !== void 0,
518
- };
519
- continue;
520
- }
521
-
522
- break;
523
-
524
- case 'JSXChildren':
525
- JSXText3.lastIndex = lastIndex;
526
-
527
- if (match = JSXText3.exec(input)) {
528
- lastIndex = JSXText3.lastIndex;
529
- lastSignificantToken = match[0];
530
- yield {
531
- type: 'JSXText',
532
- value: match[0],
533
- };
534
- continue;
535
- }
536
-
537
- switch(input[lastIndex]) {
538
- case '<':
539
- stack.push({
540
- tag: 'JSXTag',
541
- });
542
- lastIndex++;
543
- lastSignificantToken = '<';
544
- yield {
545
- type: 'JSXPunctuator',
546
- value: '<',
547
- };
548
- continue;
549
-
550
- case '{':
551
- stack.push({
552
- tag: 'InterpolationInJSX',
553
- nesting: braces.length,
554
- });
555
- lastIndex++;
556
- lastSignificantToken = '?InterpolationInJSX';
557
- postfixIncDec = false;
558
- yield {
559
- type: 'JSXPunctuator',
560
- value: '{',
561
- };
562
- continue;
563
- }
564
- }
565
-
566
- WhiteSpace.lastIndex = lastIndex;
567
-
568
- if (match = WhiteSpace.exec(input)) {
569
- lastIndex = WhiteSpace.lastIndex;
570
- yield {
571
- type: 'WhiteSpace',
572
- value: match[0],
573
- };
574
- continue;
575
- }
576
-
577
- LineTerminatorSequence.lastIndex = lastIndex;
578
-
579
- if (match = LineTerminatorSequence.exec(input)) {
580
- lastIndex = LineTerminatorSequence.lastIndex;
581
- postfixIncDec = false;
582
-
583
- if (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {
584
- lastSignificantToken = '?NoLineTerminatorHere';
585
- }
586
-
587
- yield {
588
- type: 'LineTerminatorSequence',
589
- value: match[0],
590
- };
591
- continue;
592
- }
593
-
594
- MultiLineComment.lastIndex = lastIndex;
595
-
596
- if (match = MultiLineComment.exec(input)) {
597
- lastIndex = MultiLineComment.lastIndex;
598
-
599
- if (Newline.test(match[0])) {
600
- postfixIncDec = false;
601
-
602
- if (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {
603
- lastSignificantToken = '?NoLineTerminatorHere';
604
- }
605
- }
606
-
607
- yield {
608
- type: 'MultiLineComment',
609
- value: match[0],
610
- closed: match[1] !== void 0,
611
- };
612
- continue;
613
- }
614
-
615
- SingleLineComment.lastIndex = lastIndex;
616
-
617
- if (match = SingleLineComment.exec(input)) {
618
- lastIndex = SingleLineComment.lastIndex;
619
- postfixIncDec = false;
620
- yield {
621
- type: 'SingleLineComment',
622
- value: match[0],
623
- };
624
- continue;
625
- }
626
-
627
- firstCodePoint = String.fromCodePoint(input.codePointAt(lastIndex));
628
- lastIndex += firstCodePoint.length;
629
- lastSignificantToken = firstCodePoint;
630
- postfixIncDec = false;
631
- yield {
632
- type: mode.tag.startsWith('JSX') ? 'JSXInvalid' : 'Invalid',
633
- value: firstCodePoint,
634
- };
635
- }
636
-
637
- return void 0;
638
- };
639
- },
640
- });
641
-
642
139
  // ../babel-babel/node_modules/jsesc/jsesc.js
643
140
  var require_jsesc = __commonJS({
644
141
  '../babel-babel/node_modules/jsesc/jsesc.js'(exports2, module2) {
@@ -34228,8 +33725,518 @@ function getParserClass(pluginsMap) {
34228
33725
 
34229
33726
  // ../babel-babel/packages/babel-code-frame/lib/index.js
34230
33727
  var import_picocolors = __toESM(require_picocolors(), 1);
34231
- var import_js_tokens = __toESM(require_js_tokens(), 1);
34232
33728
 
33729
+ // ../babel-babel/node_modules/js-tokens/index.js
33730
+ var HashbangComment;
33731
+ var Identifier2;
33732
+ var JSXIdentifier2;
33733
+ var JSXPunctuator;
33734
+ var JSXString;
33735
+ var JSXText2;
33736
+ var KeywordsWithExpressionAfter;
33737
+ var KeywordsWithNoLineTerminatorAfter;
33738
+ var LineTerminatorSequence;
33739
+ var MultiLineComment;
33740
+ var Newline;
33741
+ var NumericLiteral2;
33742
+ var Punctuator;
33743
+ var RegularExpressionLiteral;
33744
+ var SingleLineComment;
33745
+ var StringLiteral2;
33746
+ var Template;
33747
+ var TokensNotPrecedingObjectLiteral;
33748
+ var TokensPrecedingExpression;
33749
+ var WhiteSpace;
33750
+ var jsTokens;
33751
+
33752
+ RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;
33753
+ Punctuator = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;
33754
+ Identifier2 = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;
33755
+ StringLiteral2 = /(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;
33756
+ NumericLiteral2 = /(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;
33757
+ Template = /[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y;
33758
+ WhiteSpace = /[\t\v\f\ufeff\p{Zs}]+/yu;
33759
+ LineTerminatorSequence = /\r?\n|[\r\u2028\u2029]/y;
33760
+ MultiLineComment = /\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y;
33761
+ SingleLineComment = /\/\/.*/y;
33762
+ HashbangComment = /^#!.*/;
33763
+ JSXPunctuator = /[<>.:={}]|\/(?![\/*])/y;
33764
+ JSXIdentifier2 = /[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;
33765
+ JSXString = /(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y;
33766
+ JSXText2 = /[^<>{}]+/y;
33767
+ TokensPrecedingExpression = /^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;
33768
+ TokensNotPrecedingObjectLiteral = /^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;
33769
+ KeywordsWithExpressionAfter = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;
33770
+ KeywordsWithNoLineTerminatorAfter = /^(?:return|throw|yield)$/;
33771
+ Newline = RegExp(LineTerminatorSequence.source);
33772
+ jsTokens = function*(input, {jsx: jsx2 = false} = {}) {
33773
+ var braces,
33774
+ firstCodePoint,
33775
+ isExpression4,
33776
+ lastIndex,
33777
+ lastSignificantToken,
33778
+ length,
33779
+ match,
33780
+ mode,
33781
+ nextLastIndex,
33782
+ nextLastSignificantToken,
33783
+ parenNesting,
33784
+ postfixIncDec,
33785
+ punctuator,
33786
+ stack;
33787
+
33788
+ ({length} = input);
33789
+ lastIndex = 0;
33790
+ lastSignificantToken = '';
33791
+ stack = [{
33792
+ tag: 'JS',
33793
+ }];
33794
+ braces = [];
33795
+ parenNesting = 0;
33796
+ postfixIncDec = false;
33797
+
33798
+ if (match = HashbangComment.exec(input)) {
33799
+ yield {
33800
+ type: 'HashbangComment',
33801
+ value: match[0],
33802
+ };
33803
+ lastIndex = match[0].length;
33804
+ }
33805
+
33806
+ while (lastIndex < length) {
33807
+ mode = stack[stack.length - 1];
33808
+ switch(mode.tag) {
33809
+ case 'JS':
33810
+ case 'JSNonExpressionParen':
33811
+ case 'InterpolationInTemplate':
33812
+ case 'InterpolationInJSX':
33813
+ if (input[lastIndex] === '/' && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {
33814
+ RegularExpressionLiteral.lastIndex = lastIndex;
33815
+
33816
+ if (match = RegularExpressionLiteral.exec(input)) {
33817
+ lastIndex = RegularExpressionLiteral.lastIndex;
33818
+ lastSignificantToken = match[0];
33819
+ postfixIncDec = true;
33820
+ yield {
33821
+ type: 'RegularExpressionLiteral',
33822
+ value: match[0],
33823
+ closed: match[1] !== void 0 && match[1] !== '\\',
33824
+ };
33825
+ continue;
33826
+ }
33827
+ }
33828
+
33829
+ Punctuator.lastIndex = lastIndex;
33830
+
33831
+ if (match = Punctuator.exec(input)) {
33832
+ punctuator = match[0];
33833
+ nextLastIndex = Punctuator.lastIndex;
33834
+ nextLastSignificantToken = punctuator;
33835
+ switch(punctuator) {
33836
+ case '(':
33837
+ if (lastSignificantToken === '?NonExpressionParenKeyword') {
33838
+ stack.push({
33839
+ tag: 'JSNonExpressionParen',
33840
+ nesting: parenNesting,
33841
+ });
33842
+ }
33843
+
33844
+ parenNesting++;
33845
+ postfixIncDec = false;
33846
+ break;
33847
+
33848
+ case ')':
33849
+ parenNesting--;
33850
+ postfixIncDec = true;
33851
+
33852
+ if (mode.tag === 'JSNonExpressionParen' && parenNesting === mode.nesting) {
33853
+ stack.pop();
33854
+ nextLastSignificantToken = '?NonExpressionParenEnd';
33855
+ postfixIncDec = false;
33856
+ }
33857
+
33858
+ break;
33859
+
33860
+ case '{':
33861
+ Punctuator.lastIndex = 0;
33862
+ isExpression4 = !TokensNotPrecedingObjectLiteral.test(lastSignificantToken) && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken));
33863
+ braces.push(isExpression4);
33864
+ postfixIncDec = false;
33865
+ break;
33866
+
33867
+ case '}':
33868
+ switch(mode.tag) {
33869
+ case 'InterpolationInTemplate':
33870
+ if (braces.length === mode.nesting) {
33871
+ Template.lastIndex = lastIndex;
33872
+ match = Template.exec(input);
33873
+ lastIndex = Template.lastIndex;
33874
+ lastSignificantToken = match[0];
33875
+
33876
+ if (match[1] === '${') {
33877
+ lastSignificantToken = '?InterpolationInTemplate';
33878
+ postfixIncDec = false;
33879
+ yield {
33880
+ type: 'TemplateMiddle',
33881
+ value: match[0],
33882
+ };
33883
+ } else {
33884
+ stack.pop();
33885
+ postfixIncDec = true;
33886
+ yield {
33887
+ type: 'TemplateTail',
33888
+ value: match[0],
33889
+ closed: match[1] === '`',
33890
+ };
33891
+ }
33892
+
33893
+ continue;
33894
+ }
33895
+
33896
+ break;
33897
+
33898
+ case 'InterpolationInJSX':
33899
+ if (braces.length === mode.nesting) {
33900
+ stack.pop();
33901
+ lastIndex += 1;
33902
+ lastSignificantToken = '}';
33903
+ yield {
33904
+ type: 'JSXPunctuator',
33905
+ value: '}',
33906
+ };
33907
+ continue;
33908
+ }
33909
+ }
33910
+
33911
+ postfixIncDec = braces.pop();
33912
+ nextLastSignificantToken = postfixIncDec ? '?ExpressionBraceEnd' : '}';
33913
+ break;
33914
+
33915
+ case ']':
33916
+ postfixIncDec = true;
33917
+ break;
33918
+
33919
+ case '++':
33920
+ case '--':
33921
+ nextLastSignificantToken = postfixIncDec ? '?PostfixIncDec' : '?UnaryIncDec';
33922
+ break;
33923
+
33924
+ case '<':
33925
+ if (jsx2 && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {
33926
+ stack.push({
33927
+ tag: 'JSXTag',
33928
+ });
33929
+ lastIndex += 1;
33930
+ lastSignificantToken = '<';
33931
+ yield {
33932
+ type: 'JSXPunctuator',
33933
+ value: punctuator,
33934
+ };
33935
+ continue;
33936
+ }
33937
+
33938
+ postfixIncDec = false;
33939
+ break;
33940
+
33941
+ default:
33942
+ postfixIncDec = false;
33943
+ }
33944
+
33945
+ lastIndex = nextLastIndex;
33946
+ lastSignificantToken = nextLastSignificantToken;
33947
+ yield {
33948
+ type: 'Punctuator',
33949
+ value: punctuator,
33950
+ };
33951
+ continue;
33952
+ }
33953
+
33954
+ Identifier2.lastIndex = lastIndex;
33955
+
33956
+ if (match = Identifier2.exec(input)) {
33957
+ lastIndex = Identifier2.lastIndex;
33958
+ nextLastSignificantToken = match[0];
33959
+ switch(match[0]) {
33960
+ case 'for':
33961
+ case 'if':
33962
+ case 'while':
33963
+ case 'with':
33964
+ if (lastSignificantToken !== '.' && lastSignificantToken !== '?.') {
33965
+ nextLastSignificantToken = '?NonExpressionParenKeyword';
33966
+ }
33967
+ }
33968
+
33969
+ lastSignificantToken = nextLastSignificantToken;
33970
+ postfixIncDec = !KeywordsWithExpressionAfter.test(match[0]);
33971
+ yield {
33972
+ type: match[1] === '#' ? 'PrivateIdentifier' : 'IdentifierName',
33973
+ value: match[0],
33974
+ };
33975
+ continue;
33976
+ }
33977
+
33978
+ StringLiteral2.lastIndex = lastIndex;
33979
+
33980
+ if (match = StringLiteral2.exec(input)) {
33981
+ lastIndex = StringLiteral2.lastIndex;
33982
+ lastSignificantToken = match[0];
33983
+ postfixIncDec = true;
33984
+ yield {
33985
+ type: 'StringLiteral',
33986
+ value: match[0],
33987
+ closed: match[2] !== void 0,
33988
+ };
33989
+ continue;
33990
+ }
33991
+
33992
+ NumericLiteral2.lastIndex = lastIndex;
33993
+
33994
+ if (match = NumericLiteral2.exec(input)) {
33995
+ lastIndex = NumericLiteral2.lastIndex;
33996
+ lastSignificantToken = match[0];
33997
+ postfixIncDec = true;
33998
+ yield {
33999
+ type: 'NumericLiteral',
34000
+ value: match[0],
34001
+ };
34002
+ continue;
34003
+ }
34004
+
34005
+ Template.lastIndex = lastIndex;
34006
+
34007
+ if (match = Template.exec(input)) {
34008
+ lastIndex = Template.lastIndex;
34009
+ lastSignificantToken = match[0];
34010
+
34011
+ if (match[1] === '${') {
34012
+ lastSignificantToken = '?InterpolationInTemplate';
34013
+ stack.push({
34014
+ tag: 'InterpolationInTemplate',
34015
+ nesting: braces.length,
34016
+ });
34017
+ postfixIncDec = false;
34018
+ yield {
34019
+ type: 'TemplateHead',
34020
+ value: match[0],
34021
+ };
34022
+ } else {
34023
+ postfixIncDec = true;
34024
+ yield {
34025
+ type: 'NoSubstitutionTemplate',
34026
+ value: match[0],
34027
+ closed: match[1] === '`',
34028
+ };
34029
+ }
34030
+
34031
+ continue;
34032
+ }
34033
+
34034
+ break;
34035
+
34036
+ case 'JSXTag':
34037
+ case 'JSXTagEnd':
34038
+ JSXPunctuator.lastIndex = lastIndex;
34039
+
34040
+ if (match = JSXPunctuator.exec(input)) {
34041
+ lastIndex = JSXPunctuator.lastIndex;
34042
+ nextLastSignificantToken = match[0];
34043
+ switch(match[0]) {
34044
+ case '<':
34045
+ stack.push({
34046
+ tag: 'JSXTag',
34047
+ });
34048
+ break;
34049
+
34050
+ case '>':
34051
+ stack.pop();
34052
+
34053
+ if (lastSignificantToken === '/' || mode.tag === 'JSXTagEnd') {
34054
+ nextLastSignificantToken = '?JSX';
34055
+ postfixIncDec = true;
34056
+ } else {
34057
+ stack.push({
34058
+ tag: 'JSXChildren',
34059
+ });
34060
+ }
34061
+
34062
+ break;
34063
+
34064
+ case '{':
34065
+ stack.push({
34066
+ tag: 'InterpolationInJSX',
34067
+ nesting: braces.length,
34068
+ });
34069
+ nextLastSignificantToken = '?InterpolationInJSX';
34070
+ postfixIncDec = false;
34071
+ break;
34072
+
34073
+ case '/':
34074
+ if (lastSignificantToken === '<') {
34075
+ stack.pop();
34076
+
34077
+ if (stack[stack.length - 1].tag === 'JSXChildren') {
34078
+ stack.pop();
34079
+ }
34080
+
34081
+ stack.push({
34082
+ tag: 'JSXTagEnd',
34083
+ });
34084
+ }
34085
+ }
34086
+
34087
+ lastSignificantToken = nextLastSignificantToken;
34088
+ yield {
34089
+ type: 'JSXPunctuator',
34090
+ value: match[0],
34091
+ };
34092
+ continue;
34093
+ }
34094
+
34095
+ JSXIdentifier2.lastIndex = lastIndex;
34096
+
34097
+ if (match = JSXIdentifier2.exec(input)) {
34098
+ lastIndex = JSXIdentifier2.lastIndex;
34099
+ lastSignificantToken = match[0];
34100
+ yield {
34101
+ type: 'JSXIdentifier',
34102
+ value: match[0],
34103
+ };
34104
+ continue;
34105
+ }
34106
+
34107
+ JSXString.lastIndex = lastIndex;
34108
+
34109
+ if (match = JSXString.exec(input)) {
34110
+ lastIndex = JSXString.lastIndex;
34111
+ lastSignificantToken = match[0];
34112
+ yield {
34113
+ type: 'JSXString',
34114
+ value: match[0],
34115
+ closed: match[2] !== void 0,
34116
+ };
34117
+ continue;
34118
+ }
34119
+
34120
+ break;
34121
+
34122
+ case 'JSXChildren':
34123
+ JSXText2.lastIndex = lastIndex;
34124
+
34125
+ if (match = JSXText2.exec(input)) {
34126
+ lastIndex = JSXText2.lastIndex;
34127
+ lastSignificantToken = match[0];
34128
+ yield {
34129
+ type: 'JSXText',
34130
+ value: match[0],
34131
+ };
34132
+ continue;
34133
+ }
34134
+
34135
+ switch(input[lastIndex]) {
34136
+ case '<':
34137
+ stack.push({
34138
+ tag: 'JSXTag',
34139
+ });
34140
+ lastIndex++;
34141
+ lastSignificantToken = '<';
34142
+ yield {
34143
+ type: 'JSXPunctuator',
34144
+ value: '<',
34145
+ };
34146
+ continue;
34147
+
34148
+ case '{':
34149
+ stack.push({
34150
+ tag: 'InterpolationInJSX',
34151
+ nesting: braces.length,
34152
+ });
34153
+ lastIndex++;
34154
+ lastSignificantToken = '?InterpolationInJSX';
34155
+ postfixIncDec = false;
34156
+ yield {
34157
+ type: 'JSXPunctuator',
34158
+ value: '{',
34159
+ };
34160
+ continue;
34161
+ }
34162
+ }
34163
+
34164
+ WhiteSpace.lastIndex = lastIndex;
34165
+
34166
+ if (match = WhiteSpace.exec(input)) {
34167
+ lastIndex = WhiteSpace.lastIndex;
34168
+ yield {
34169
+ type: 'WhiteSpace',
34170
+ value: match[0],
34171
+ };
34172
+ continue;
34173
+ }
34174
+
34175
+ LineTerminatorSequence.lastIndex = lastIndex;
34176
+
34177
+ if (match = LineTerminatorSequence.exec(input)) {
34178
+ lastIndex = LineTerminatorSequence.lastIndex;
34179
+ postfixIncDec = false;
34180
+
34181
+ if (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {
34182
+ lastSignificantToken = '?NoLineTerminatorHere';
34183
+ }
34184
+
34185
+ yield {
34186
+ type: 'LineTerminatorSequence',
34187
+ value: match[0],
34188
+ };
34189
+ continue;
34190
+ }
34191
+
34192
+ MultiLineComment.lastIndex = lastIndex;
34193
+
34194
+ if (match = MultiLineComment.exec(input)) {
34195
+ lastIndex = MultiLineComment.lastIndex;
34196
+
34197
+ if (Newline.test(match[0])) {
34198
+ postfixIncDec = false;
34199
+
34200
+ if (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {
34201
+ lastSignificantToken = '?NoLineTerminatorHere';
34202
+ }
34203
+ }
34204
+
34205
+ yield {
34206
+ type: 'MultiLineComment',
34207
+ value: match[0],
34208
+ closed: match[1] !== void 0,
34209
+ };
34210
+ continue;
34211
+ }
34212
+
34213
+ SingleLineComment.lastIndex = lastIndex;
34214
+
34215
+ if (match = SingleLineComment.exec(input)) {
34216
+ lastIndex = SingleLineComment.lastIndex;
34217
+ postfixIncDec = false;
34218
+ yield {
34219
+ type: 'SingleLineComment',
34220
+ value: match[0],
34221
+ };
34222
+ continue;
34223
+ }
34224
+
34225
+ firstCodePoint = String.fromCodePoint(input.codePointAt(lastIndex));
34226
+ lastIndex += firstCodePoint.length;
34227
+ lastSignificantToken = firstCodePoint;
34228
+ postfixIncDec = false;
34229
+ yield {
34230
+ type: mode.tag.startsWith('JSX') ? 'JSXInvalid' : 'Invalid',
34231
+ value: firstCodePoint,
34232
+ };
34233
+ }
34234
+
34235
+ return void 0;
34236
+ };
34237
+ var js_tokens_default = jsTokens;
34238
+
34239
+ // ../babel-babel/packages/babel-code-frame/lib/index.js
34233
34240
  function isColorSupported() {
34234
34241
  return typeof process === 'object' && (process.env.FORCE_COLOR === '0' || process.env.FORCE_COLOR === 'false') ? false : import_picocolors.default.isColorSupported;
34235
34242
  }
@@ -34336,7 +34343,7 @@ var getTokenType = function(token) {
34336
34343
  };
34337
34344
 
34338
34345
  function* tokenize(text) {
34339
- for (const token of (0, import_js_tokens.default)(text, {jsx: true})) {
34346
+ for (const token of js_tokens_default(text, {jsx: true})) {
34340
34347
  switch(token.type) {
34341
34348
  case 'TemplateHead':
34342
34349
  yield {
@@ -39156,7 +39163,7 @@ function _getRawIdentifier(node) {
39156
39163
  return lastRawIdentResult = node.name;
39157
39164
  }
39158
39165
 
39159
- function Identifier2(node) {
39166
+ function Identifier3(node) {
39160
39167
  this.sourceIdentifierName(node.loc?.identifierName || node.name);
39161
39168
  this.word(this.tokenMap ? this._getRawIdentifier(node) : node.name);
39162
39169
  }
@@ -39257,7 +39264,7 @@ function NullLiteral2() {
39257
39264
  this.word('null');
39258
39265
  }
39259
39266
 
39260
- function NumericLiteral2(node) {
39267
+ function NumericLiteral3(node) {
39261
39268
  const raw = this.getPossibleRaw(node);
39262
39269
  const opts = this.format.jsescOption;
39263
39270
  const value = node.value;
@@ -39275,7 +39282,7 @@ function NumericLiteral2(node) {
39275
39282
 
39276
39283
  }
39277
39284
 
39278
- function StringLiteral2(node) {
39285
+ function StringLiteral3(node) {
39279
39286
  const raw = this.getPossibleRaw(node);
39280
39287
 
39281
39288
  if (!this.format.minified && raw !== void 0) {
@@ -40098,7 +40105,7 @@ function JSXAttribute2(node) {
40098
40105
  }
40099
40106
  }
40100
40107
 
40101
- function JSXIdentifier2(node) {
40108
+ function JSXIdentifier3(node) {
40102
40109
  this.word(node.name);
40103
40110
  }
40104
40111
 
@@ -40134,7 +40141,7 @@ function JSXSpreadChild2(node) {
40134
40141
  this.rightBrace(node);
40135
40142
  }
40136
40143
 
40137
- function JSXText2(node) {
40144
+ function JSXText3(node) {
40138
40145
  const raw = this.getPossibleRaw(node);
40139
40146
 
40140
40147
  if (raw !== void 0) {
@@ -41040,7 +41047,7 @@ var generatorFunctions = /* @__PURE__ */Object.freeze({
41040
41047
  FunctionTypeAnnotation: FunctionTypeAnnotation2,
41041
41048
  FunctionTypeParam: FunctionTypeParam2,
41042
41049
  GenericTypeAnnotation: InterfaceExtends2,
41043
- Identifier: Identifier2,
41050
+ Identifier: Identifier3,
41044
41051
  IfStatement: IfStatement2,
41045
41052
  Import: Import2,
41046
41053
  ImportAttribute: ImportAttribute2,
@@ -41063,14 +41070,14 @@ var generatorFunctions = /* @__PURE__ */Object.freeze({
41063
41070
  JSXEmptyExpression: JSXEmptyExpression2,
41064
41071
  JSXExpressionContainer: JSXExpressionContainer2,
41065
41072
  JSXFragment: JSXFragment2,
41066
- JSXIdentifier: JSXIdentifier2,
41073
+ JSXIdentifier: JSXIdentifier3,
41067
41074
  JSXMemberExpression: JSXMemberExpression2,
41068
41075
  JSXNamespacedName: JSXNamespacedName2,
41069
41076
  JSXOpeningElement: JSXOpeningElement2,
41070
41077
  JSXOpeningFragment: JSXOpeningFragment2,
41071
41078
  JSXSpreadAttribute: JSXSpreadAttribute2,
41072
41079
  JSXSpreadChild: JSXSpreadChild2,
41073
- JSXText: JSXText2,
41080
+ JSXText: JSXText3,
41074
41081
  LabeledStatement: LabeledStatement2,
41075
41082
  LogicalExpression: AssignmentExpression2,
41076
41083
  MemberExpression: MemberExpression2,
@@ -41081,9 +41088,9 @@ var generatorFunctions = /* @__PURE__ */Object.freeze({
41081
41088
  NullLiteral: NullLiteral2,
41082
41089
  NullLiteralTypeAnnotation: NullLiteralTypeAnnotation2,
41083
41090
  NullableTypeAnnotation: NullableTypeAnnotation2,
41084
- NumberLiteralTypeAnnotation: NumericLiteral2,
41091
+ NumberLiteralTypeAnnotation: NumericLiteral3,
41085
41092
  NumberTypeAnnotation: NumberTypeAnnotation2,
41086
- NumericLiteral: NumericLiteral2,
41093
+ NumericLiteral: NumericLiteral3,
41087
41094
  ObjectExpression: ObjectExpression2,
41088
41095
  ObjectMethod: ObjectMethod2,
41089
41096
  ObjectPattern: ObjectExpression2,
@@ -41112,8 +41119,8 @@ var generatorFunctions = /* @__PURE__ */Object.freeze({
41112
41119
  SequenceExpression: SequenceExpression2,
41113
41120
  SpreadElement: RestElement2,
41114
41121
  StaticBlock: StaticBlock2,
41115
- StringLiteral: StringLiteral2,
41116
- StringLiteralTypeAnnotation: StringLiteral2,
41122
+ StringLiteral: StringLiteral3,
41123
+ StringLiteralTypeAnnotation: StringLiteral3,
41117
41124
  StringTypeAnnotation: StringTypeAnnotation2,
41118
41125
  Super: Super2,
41119
41126
  SwitchCase: SwitchCase2,
@@ -45093,11 +45100,11 @@ function UpdateExpression3(node) {
45093
45100
  }
45094
45101
  }
45095
45102
 
45096
- function StringLiteral3() {
45103
+ function StringLiteral4() {
45097
45104
  return stringTypeAnnotation$1();
45098
45105
  }
45099
45106
 
45100
- function NumericLiteral3() {
45107
+ function NumericLiteral4() {
45101
45108
  return numberTypeAnnotation2();
45102
45109
  }
45103
45110
 
@@ -45194,13 +45201,13 @@ var inferers = /* @__PURE__ */Object.freeze({
45194
45201
  LogicalExpression: LogicalExpression3,
45195
45202
  NewExpression: NewExpression3,
45196
45203
  NullLiteral: NullLiteral3,
45197
- NumericLiteral: NumericLiteral3,
45204
+ NumericLiteral: NumericLiteral4,
45198
45205
  ObjectExpression: ObjectExpression3,
45199
45206
  ParenthesizedExpression: ParenthesizedExpression3,
45200
45207
  RegExpLiteral: RegExpLiteral3,
45201
45208
  RestElement: RestElement3,
45202
45209
  SequenceExpression: SequenceExpression3,
45203
- StringLiteral: StringLiteral3,
45210
+ StringLiteral: StringLiteral4,
45204
45211
  TSAsExpression: TSAsExpression3,
45205
45212
  TSNonNullExpression: TSNonNullExpression3,
45206
45213
  TaggedTemplateExpression: TaggedTemplateExpression3,
@@ -1 +1 @@
1
- {"inputs":{"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js":{"bytes":13698,"imports":[],"format":"esm"},"../babel-babel/packages/babel-helper-string-parser/lib/index.js":{"bytes":7680,"imports":[],"format":"esm"},"../babel-babel/packages/babel-types/lib/index.js":{"bytes":353928,"imports":[{"path":"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js","kind":"import-statement","original":"@babel/helper-validator-identifier"},{"path":"../babel-babel/packages/babel-helper-string-parser/lib/index.js","kind":"import-statement","original":"@babel/helper-string-parser"}],"format":"esm"},"../babel-babel/packages/babel-parser/lib/index.js":{"bytes":491249,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/node_modules/picocolors/picocolors.js":{"bytes":2663,"imports":[],"format":"cjs"},"../babel-babel/node_modules/js-tokens/index.js":{"bytes":12391,"imports":[],"format":"cjs"},"../babel-babel/packages/babel-code-frame/lib/index.js":{"bytes":8069,"imports":[{"path":"../babel-babel/node_modules/picocolors/picocolors.js","kind":"import-statement","original":"picocolors"},{"path":"../babel-babel/node_modules/js-tokens/index.js","kind":"import-statement","original":"js-tokens"},{"path":"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js","kind":"import-statement","original":"@babel/helper-validator-identifier"}],"format":"esm"},"../babel-babel/packages/babel-template/lib/index.js":{"bytes":17089,"imports":[{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"}],"format":"esm"},"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs":{"bytes":12869,"imports":[],"format":"esm"},"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs":{"bytes":8609,"imports":[],"format":"esm"},"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs":{"bytes":15571,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs","kind":"import-statement","original":"@jridgewell/sourcemap-codec"},{"path":"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs","kind":"import-statement","original":"@jridgewell/resolve-uri"}],"format":"esm"},"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs":{"bytes":7969,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs","kind":"import-statement","original":"@jridgewell/sourcemap-codec"},{"path":"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs","kind":"import-statement","original":"@jridgewell/trace-mapping"}],"format":"esm"},"../babel-babel/node_modules/jsesc/jsesc.js":{"bytes":8104,"imports":[],"format":"cjs"},"../babel-babel/packages/babel-generator/lib/index.js":{"bytes":138777,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs","kind":"import-statement","original":"@jridgewell/gen-mapping"},{"path":"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs","kind":"import-statement","original":"@jridgewell/trace-mapping"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/node_modules/jsesc/jsesc.js","kind":"import-statement","original":"jsesc"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/node_modules/obug/dist/core.js":{"bytes":3557,"imports":[],"format":"esm"},"../babel-babel/node_modules/obug/dist/node.js":{"bytes":3091,"imports":[{"path":"../babel-babel/node_modules/obug/dist/core.js","kind":"import-statement","original":"./core.js"},{"path":"tty","kind":"import-statement","external":true},{"path":"util","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json":{"bytes":203,"imports":[],"format":"esm","with":{"type":"json"}},"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json":{"bytes":718,"imports":[],"format":"esm","with":{"type":"json"}},"../babel-babel/packages/babel-traverse/lib/index.js":{"bytes":156063,"imports":[{"path":"../babel-babel/node_modules/obug/dist/node.js","kind":"import-statement","original":"obug"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json","kind":"import-statement","original":"@babel/helper-globals/data/builtin-lower.json","with":{"type":"json"}},{"path":"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json","kind":"import-statement","original":"@babel/helper-globals/data/builtin-upper.json","with":{"type":"json"}},{"path":"../babel-babel/packages/babel-generator/lib/index.js","kind":"import-statement","original":"@babel/generator"},{"path":"../babel-babel/packages/babel-template/lib/index.js","kind":"import-statement","original":"@babel/template"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"lib/index.mjs":{"bytes":310,"imports":[{"path":"../babel-babel/packages/babel-template/lib/index.js","kind":"import-statement","original":"@babel/template"},{"path":"../babel-babel/packages/babel-generator/lib/index.js","kind":"import-statement","original":"@babel/generator"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-traverse/lib/index.js","kind":"import-statement","original":"@babel/traverse"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"}],"format":"esm"}},"outputs":{"bundle/index.js":{"imports":[{"path":"tty","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true}],"exports":[],"entryPoint":"lib/index.mjs","inputs":{"../babel-babel/node_modules/picocolors/picocolors.js":{"bytesInOutput":3178},"../babel-babel/node_modules/js-tokens/index.js":{"bytesInOutput":16171},"../babel-babel/node_modules/jsesc/jsesc.js":{"bytesInOutput":8979},"lib/index.mjs":{"bytesInOutput":345},"../babel-babel/packages/babel-types/lib/index.js":{"bytesInOutput":384946},"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js":{"bytesInOutput":13255},"../babel-babel/packages/babel-helper-string-parser/lib/index.js":{"bytesInOutput":7652},"../babel-babel/packages/babel-parser/lib/index.js":{"bytesInOutput":494455},"../babel-babel/packages/babel-code-frame/lib/index.js":{"bytesInOutput":7283},"../babel-babel/packages/babel-template/lib/index.js":{"bytesInOutput":17426},"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs":{"bytesInOutput":4609},"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs":{"bytesInOutput":4373},"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs":{"bytesInOutput":5805},"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs":{"bytesInOutput":5767},"../babel-babel/packages/babel-generator/lib/index.js":{"bytesInOutput":140886},"../babel-babel/node_modules/obug/dist/core.js":{"bytesInOutput":3434},"../babel-babel/node_modules/obug/dist/node.js":{"bytesInOutput":2889},"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json":{"bytesInOutput":232},"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json":{"bytesInOutput":747},"../babel-babel/packages/babel-traverse/lib/index.js":{"bytesInOutput":158717}},"bytes":1284426}}}
1
+ {"inputs":{"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js":{"bytes":13698,"imports":[],"format":"esm"},"../babel-babel/packages/babel-helper-string-parser/lib/index.js":{"bytes":7680,"imports":[],"format":"esm"},"../babel-babel/packages/babel-types/lib/index.js":{"bytes":353928,"imports":[{"path":"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js","kind":"import-statement","original":"@babel/helper-validator-identifier"},{"path":"../babel-babel/packages/babel-helper-string-parser/lib/index.js","kind":"import-statement","original":"@babel/helper-string-parser"}],"format":"esm"},"../babel-babel/packages/babel-parser/lib/index.js":{"bytes":491249,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/node_modules/picocolors/picocolors.js":{"bytes":2663,"imports":[],"format":"cjs"},"../babel-babel/node_modules/js-tokens/index.js":{"bytes":12672,"imports":[],"format":"esm"},"../babel-babel/packages/babel-code-frame/lib/index.js":{"bytes":8069,"imports":[{"path":"../babel-babel/node_modules/picocolors/picocolors.js","kind":"import-statement","original":"picocolors"},{"path":"../babel-babel/node_modules/js-tokens/index.js","kind":"import-statement","original":"js-tokens"},{"path":"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js","kind":"import-statement","original":"@babel/helper-validator-identifier"}],"format":"esm"},"../babel-babel/packages/babel-template/lib/index.js":{"bytes":17089,"imports":[{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"}],"format":"esm"},"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs":{"bytes":12869,"imports":[],"format":"esm"},"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs":{"bytes":8609,"imports":[],"format":"esm"},"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs":{"bytes":15571,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs","kind":"import-statement","original":"@jridgewell/sourcemap-codec"},{"path":"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs","kind":"import-statement","original":"@jridgewell/resolve-uri"}],"format":"esm"},"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs":{"bytes":7969,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs","kind":"import-statement","original":"@jridgewell/sourcemap-codec"},{"path":"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs","kind":"import-statement","original":"@jridgewell/trace-mapping"}],"format":"esm"},"../babel-babel/node_modules/jsesc/jsesc.js":{"bytes":8104,"imports":[],"format":"cjs"},"../babel-babel/packages/babel-generator/lib/index.js":{"bytes":138777,"imports":[{"path":"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs","kind":"import-statement","original":"@jridgewell/gen-mapping"},{"path":"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs","kind":"import-statement","original":"@jridgewell/trace-mapping"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/node_modules/jsesc/jsesc.js","kind":"import-statement","original":"jsesc"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/node_modules/obug/dist/core.js":{"bytes":3557,"imports":[],"format":"esm"},"../babel-babel/node_modules/obug/dist/node.js":{"bytes":3091,"imports":[{"path":"../babel-babel/node_modules/obug/dist/core.js","kind":"import-statement","original":"./core.js"},{"path":"tty","kind":"import-statement","external":true},{"path":"util","kind":"import-statement","external":true}],"format":"esm"},"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json":{"bytes":203,"imports":[],"format":"esm","with":{"type":"json"}},"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json":{"bytes":718,"imports":[],"format":"esm","with":{"type":"json"}},"../babel-babel/packages/babel-traverse/lib/index.js":{"bytes":156063,"imports":[{"path":"../babel-babel/node_modules/obug/dist/node.js","kind":"import-statement","original":"obug"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json","kind":"import-statement","original":"@babel/helper-globals/data/builtin-lower.json","with":{"type":"json"}},{"path":"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json","kind":"import-statement","original":"@babel/helper-globals/data/builtin-upper.json","with":{"type":"json"}},{"path":"../babel-babel/packages/babel-generator/lib/index.js","kind":"import-statement","original":"@babel/generator"},{"path":"../babel-babel/packages/babel-template/lib/index.js","kind":"import-statement","original":"@babel/template"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"lib/index.mjs":{"bytes":310,"imports":[{"path":"../babel-babel/packages/babel-template/lib/index.js","kind":"import-statement","original":"@babel/template"},{"path":"../babel-babel/packages/babel-generator/lib/index.js","kind":"import-statement","original":"@babel/generator"},{"path":"../babel-babel/packages/babel-types/lib/index.js","kind":"import-statement","original":"@babel/types"},{"path":"../babel-babel/packages/babel-traverse/lib/index.js","kind":"import-statement","original":"@babel/traverse"},{"path":"../babel-babel/packages/babel-parser/lib/index.js","kind":"import-statement","original":"@babel/parser"},{"path":"../babel-babel/packages/babel-code-frame/lib/index.js","kind":"import-statement","original":"@babel/code-frame"}],"format":"esm"}},"outputs":{"bundle/index.js":{"imports":[{"path":"tty","kind":"require-call","external":true},{"path":"util","kind":"require-call","external":true}],"exports":[],"entryPoint":"lib/index.mjs","inputs":{"../babel-babel/node_modules/picocolors/picocolors.js":{"bytesInOutput":3178},"../babel-babel/node_modules/jsesc/jsesc.js":{"bytesInOutput":8979},"lib/index.mjs":{"bytesInOutput":345},"../babel-babel/packages/babel-types/lib/index.js":{"bytesInOutput":384946},"../babel-babel/packages/babel-helper-validator-identifier/lib/index.js":{"bytesInOutput":13255},"../babel-babel/packages/babel-helper-string-parser/lib/index.js":{"bytesInOutput":7652},"../babel-babel/packages/babel-parser/lib/index.js":{"bytesInOutput":494455},"../babel-babel/packages/babel-code-frame/lib/index.js":{"bytesInOutput":7215},"../babel-babel/node_modules/js-tokens/index.js":{"bytesInOutput":14697},"../babel-babel/packages/babel-template/lib/index.js":{"bytesInOutput":17426},"../babel-babel/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs":{"bytesInOutput":4609},"../babel-babel/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs":{"bytesInOutput":4373},"../babel-babel/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs":{"bytesInOutput":5805},"../babel-babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs":{"bytesInOutput":5767},"../babel-babel/packages/babel-generator/lib/index.js":{"bytesInOutput":140886},"../babel-babel/node_modules/obug/dist/core.js":{"bytesInOutput":3434},"../babel-babel/node_modules/obug/dist/node.js":{"bytesInOutput":2889},"../babel-babel/packages/babel-helper-globals/data/builtin-lower.json":{"bytesInOutput":232},"../babel-babel/packages/babel-helper-globals/data/builtin-upper.json":{"bytesInOutput":747},"../babel-babel/packages/babel-traverse/lib/index.js":{"bytesInOutput":158717}},"bytes":1282942}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/babel",
3
- "version": "5.0.4",
3
+ "version": "5.0.5",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Babel 8 in CommonJS",