@jsse/eslint-config 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -118,8 +118,8 @@ var require_sort_keys_fix = __commonJS({
118
118
  const isValidOrder = isValidOrders[order + (insensitive ? "I" : "") + (natural ? "N" : "")];
119
119
  const minKeys = Number(options && options.minKeys) || 2;
120
120
  let stack = null;
121
- const SpreadElement = (node2) => {
122
- if (node2.parent.type === "ObjectExpression") {
121
+ const SpreadElement = (node) => {
122
+ if (node.parent.type === "ObjectExpression") {
123
123
  stack.prevName = null;
124
124
  }
125
125
  };
@@ -136,27 +136,27 @@ var require_sort_keys_fix = __commonJS({
136
136
  "ObjectExpression:exit"() {
137
137
  stack = stack.upper;
138
138
  },
139
- Property(node2) {
140
- if (node2.parent.type === "ObjectPattern") {
139
+ Property(node) {
140
+ if (node.parent.type === "ObjectPattern") {
141
141
  return;
142
142
  }
143
- if (node2.parent.properties.length < minKeys) {
143
+ if (node.parent.properties.length < minKeys) {
144
144
  return;
145
145
  }
146
146
  const prevName = stack.prevName;
147
147
  const prevNode = stack.prevNode;
148
- const thisName = getPropertyName(node2);
148
+ const thisName = getPropertyName(node);
149
149
  if (thisName !== null) {
150
150
  stack.prevName = thisName;
151
- stack.prevNode = node2 || prevNode;
151
+ stack.prevNode = node || prevNode;
152
152
  }
153
153
  if (prevName === null || thisName === null) {
154
154
  return;
155
155
  }
156
156
  if (!isValidOrder(prevName, thisName)) {
157
157
  ctx.report({
158
- node: node2,
159
- loc: node2.key.loc,
158
+ node,
159
+ loc: node.key.loc,
160
160
  messageId: "sortKeys",
161
161
  data: {
162
162
  thisName,
@@ -166,13 +166,13 @@ var require_sort_keys_fix = __commonJS({
166
166
  natural: natural ? "natural " : ""
167
167
  },
168
168
  fix(fixer) {
169
- if (node2.parent.__alreadySorted || node2.parent.properties.__alreadySorted) {
169
+ if (node.parent.__alreadySorted || node.parent.properties.__alreadySorted) {
170
170
  return [];
171
171
  }
172
- node2.parent.__alreadySorted = true;
173
- node2.parent.properties.__alreadySorted = true;
172
+ node.parent.__alreadySorted = true;
173
+ node.parent.properties.__alreadySorted = true;
174
174
  const src = ctx.getSourceCode();
175
- const props = node2.parent.properties;
175
+ const props = node.parent.properties;
176
176
  const parts = [];
177
177
  let part = [];
178
178
  props.forEach((p) => {
@@ -243,21 +243,21 @@ var require_sort_keys_fix = __commonJS({
243
243
  }
244
244
  return fixes;
245
245
  };
246
- var findTokenPrevLine = (node2, src) => {
247
- let t = src.getTokenBefore(node2);
246
+ var findTokenPrevLine = (node, src) => {
247
+ let t = src.getTokenBefore(node);
248
248
  while (true) {
249
- if (!t || t.range[0] < node2.parent.range[0]) {
249
+ if (!t || t.range[0] < node.parent.range[0]) {
250
250
  return null;
251
251
  }
252
- if (t.loc.end.line < node2.loc.start.line) {
252
+ if (t.loc.end.line < node.loc.start.line) {
253
253
  return t;
254
254
  }
255
255
  t = src.getTokenBefore(t);
256
256
  }
257
257
  };
258
- var findCommaSameLine = (node2, src) => {
259
- const t = src.getTokenAfter(node2);
260
- return t && t.value === "," && node2.loc.end.line === t.loc.start.line ? t : null;
258
+ var findCommaSameLine = (node, src) => {
259
+ const t = src.getTokenAfter(node);
260
+ return t && t.value === "," && node.loc.end.line === t.loc.start.line ? t : null;
261
261
  };
262
262
  var isValidOrders = {
263
263
  asc: (a, b) => a <= b,
@@ -269,15 +269,15 @@ var require_sort_keys_fix = __commonJS({
269
269
  descN: (a, b) => isValidOrders.ascN(b, a),
270
270
  descIN: (a, b) => isValidOrders.ascIN(b, a)
271
271
  };
272
- var getPropertyName = (node2) => {
272
+ var getPropertyName = (node) => {
273
273
  let prop;
274
- switch (node2 && node2.type) {
274
+ switch (node && node.type) {
275
275
  case "Property":
276
276
  case "MethodDefinition":
277
- prop = node2.key;
277
+ prop = node.key;
278
278
  break;
279
279
  case "MemberExpression":
280
- prop = node2.property;
280
+ prop = node.property;
281
281
  break;
282
282
  }
283
283
  switch (prop && prop.type) {
@@ -289,12 +289,12 @@ var require_sort_keys_fix = __commonJS({
289
289
  }
290
290
  break;
291
291
  case "Identifier":
292
- if (!node2.computed) {
292
+ if (!node.computed) {
293
293
  return prop.name;
294
294
  }
295
295
  break;
296
296
  }
297
- return node2.key && node2.key.name || null;
297
+ return node.key && node.key.name || null;
298
298
  };
299
299
  }
300
300
  });
@@ -309,9 +309,9 @@ var require_eslint_plugin_sort_keys = __commonJS({
309
309
  }
310
310
  });
311
311
 
312
- // node_modules/.pnpm/globals@14.0.0/node_modules/globals/globals.json
312
+ // node_modules/.pnpm/globals@15.0.0/node_modules/globals/globals.json
313
313
  var require_globals = __commonJS({
314
- "node_modules/.pnpm/globals@14.0.0/node_modules/globals/globals.json"(exports2, module2) {
314
+ "node_modules/.pnpm/globals@15.0.0/node_modules/globals/globals.json"(exports2, module2) {
315
315
  module2.exports = {
316
316
  builtin: {
317
317
  AggregateError: false,
@@ -322,7 +322,6 @@ var require_globals = __commonJS({
322
322
  BigInt64Array: false,
323
323
  BigUint64Array: false,
324
324
  Boolean: false,
325
- constructor: false,
326
325
  DataView: false,
327
326
  Date: false,
328
327
  decodeURI: false,
@@ -338,14 +337,13 @@ var require_globals = __commonJS({
338
337
  Float64Array: false,
339
338
  Function: false,
340
339
  globalThis: false,
341
- hasOwnProperty: false,
342
340
  Infinity: false,
343
341
  Int16Array: false,
344
342
  Int32Array: false,
345
343
  Int8Array: false,
344
+ Intl: false,
346
345
  isFinite: false,
347
346
  isNaN: false,
348
- isPrototypeOf: false,
349
347
  JSON: false,
350
348
  Map: false,
351
349
  Math: false,
@@ -355,7 +353,6 @@ var require_globals = __commonJS({
355
353
  parseFloat: false,
356
354
  parseInt: false,
357
355
  Promise: false,
358
- propertyIsEnumerable: false,
359
356
  Proxy: false,
360
357
  RangeError: false,
361
358
  ReferenceError: false,
@@ -366,8 +363,6 @@ var require_globals = __commonJS({
366
363
  String: false,
367
364
  Symbol: false,
368
365
  SyntaxError: false,
369
- toLocaleString: false,
370
- toString: false,
371
366
  TypeError: false,
372
367
  Uint16Array: false,
373
368
  Uint32Array: false,
@@ -376,7 +371,6 @@ var require_globals = __commonJS({
376
371
  undefined: false,
377
372
  unescape: false,
378
373
  URIError: false,
379
- valueOf: false,
380
374
  WeakMap: false,
381
375
  WeakRef: false,
382
376
  WeakSet: false
@@ -384,7 +378,6 @@ var require_globals = __commonJS({
384
378
  es5: {
385
379
  Array: false,
386
380
  Boolean: false,
387
- constructor: false,
388
381
  Date: false,
389
382
  decodeURI: false,
390
383
  decodeURIComponent: false,
@@ -395,11 +388,9 @@ var require_globals = __commonJS({
395
388
  eval: false,
396
389
  EvalError: false,
397
390
  Function: false,
398
- hasOwnProperty: false,
399
391
  Infinity: false,
400
392
  isFinite: false,
401
393
  isNaN: false,
402
- isPrototypeOf: false,
403
394
  JSON: false,
404
395
  Math: false,
405
396
  NaN: false,
@@ -407,25 +398,20 @@ var require_globals = __commonJS({
407
398
  Object: false,
408
399
  parseFloat: false,
409
400
  parseInt: false,
410
- propertyIsEnumerable: false,
411
401
  RangeError: false,
412
402
  ReferenceError: false,
413
403
  RegExp: false,
414
404
  String: false,
415
405
  SyntaxError: false,
416
- toLocaleString: false,
417
- toString: false,
418
406
  TypeError: false,
419
407
  undefined: false,
420
408
  unescape: false,
421
- URIError: false,
422
- valueOf: false
409
+ URIError: false
423
410
  },
424
411
  es2015: {
425
412
  Array: false,
426
413
  ArrayBuffer: false,
427
414
  Boolean: false,
428
- constructor: false,
429
415
  DataView: false,
430
416
  Date: false,
431
417
  decodeURI: false,
@@ -439,14 +425,13 @@ var require_globals = __commonJS({
439
425
  Float32Array: false,
440
426
  Float64Array: false,
441
427
  Function: false,
442
- hasOwnProperty: false,
443
428
  Infinity: false,
444
429
  Int16Array: false,
445
430
  Int32Array: false,
446
431
  Int8Array: false,
432
+ Intl: false,
447
433
  isFinite: false,
448
434
  isNaN: false,
449
- isPrototypeOf: false,
450
435
  JSON: false,
451
436
  Map: false,
452
437
  Math: false,
@@ -456,7 +441,6 @@ var require_globals = __commonJS({
456
441
  parseFloat: false,
457
442
  parseInt: false,
458
443
  Promise: false,
459
- propertyIsEnumerable: false,
460
444
  Proxy: false,
461
445
  RangeError: false,
462
446
  ReferenceError: false,
@@ -466,8 +450,6 @@ var require_globals = __commonJS({
466
450
  String: false,
467
451
  Symbol: false,
468
452
  SyntaxError: false,
469
- toLocaleString: false,
470
- toString: false,
471
453
  TypeError: false,
472
454
  Uint16Array: false,
473
455
  Uint32Array: false,
@@ -476,7 +458,6 @@ var require_globals = __commonJS({
476
458
  undefined: false,
477
459
  unescape: false,
478
460
  URIError: false,
479
- valueOf: false,
480
461
  WeakMap: false,
481
462
  WeakSet: false
482
463
  },
@@ -485,7 +466,6 @@ var require_globals = __commonJS({
485
466
  ArrayBuffer: false,
486
467
  Atomics: false,
487
468
  Boolean: false,
488
- constructor: false,
489
469
  DataView: false,
490
470
  Date: false,
491
471
  decodeURI: false,
@@ -499,14 +479,13 @@ var require_globals = __commonJS({
499
479
  Float32Array: false,
500
480
  Float64Array: false,
501
481
  Function: false,
502
- hasOwnProperty: false,
503
482
  Infinity: false,
504
483
  Int16Array: false,
505
484
  Int32Array: false,
506
485
  Int8Array: false,
486
+ Intl: false,
507
487
  isFinite: false,
508
488
  isNaN: false,
509
- isPrototypeOf: false,
510
489
  JSON: false,
511
490
  Map: false,
512
491
  Math: false,
@@ -516,7 +495,6 @@ var require_globals = __commonJS({
516
495
  parseFloat: false,
517
496
  parseInt: false,
518
497
  Promise: false,
519
- propertyIsEnumerable: false,
520
498
  Proxy: false,
521
499
  RangeError: false,
522
500
  ReferenceError: false,
@@ -527,8 +505,6 @@ var require_globals = __commonJS({
527
505
  String: false,
528
506
  Symbol: false,
529
507
  SyntaxError: false,
530
- toLocaleString: false,
531
- toString: false,
532
508
  TypeError: false,
533
509
  Uint16Array: false,
534
510
  Uint32Array: false,
@@ -537,7 +513,6 @@ var require_globals = __commonJS({
537
513
  undefined: false,
538
514
  unescape: false,
539
515
  URIError: false,
540
- valueOf: false,
541
516
  WeakMap: false,
542
517
  WeakSet: false
543
518
  },
@@ -549,7 +524,6 @@ var require_globals = __commonJS({
549
524
  BigInt64Array: false,
550
525
  BigUint64Array: false,
551
526
  Boolean: false,
552
- constructor: false,
553
527
  DataView: false,
554
528
  Date: false,
555
529
  decodeURI: false,
@@ -564,14 +538,13 @@ var require_globals = __commonJS({
564
538
  Float64Array: false,
565
539
  Function: false,
566
540
  globalThis: false,
567
- hasOwnProperty: false,
568
541
  Infinity: false,
569
542
  Int16Array: false,
570
543
  Int32Array: false,
571
544
  Int8Array: false,
545
+ Intl: false,
572
546
  isFinite: false,
573
547
  isNaN: false,
574
- isPrototypeOf: false,
575
548
  JSON: false,
576
549
  Map: false,
577
550
  Math: false,
@@ -581,7 +554,6 @@ var require_globals = __commonJS({
581
554
  parseFloat: false,
582
555
  parseInt: false,
583
556
  Promise: false,
584
- propertyIsEnumerable: false,
585
557
  Proxy: false,
586
558
  RangeError: false,
587
559
  ReferenceError: false,
@@ -592,8 +564,6 @@ var require_globals = __commonJS({
592
564
  String: false,
593
565
  Symbol: false,
594
566
  SyntaxError: false,
595
- toLocaleString: false,
596
- toString: false,
597
567
  TypeError: false,
598
568
  Uint16Array: false,
599
569
  Uint32Array: false,
@@ -602,7 +572,6 @@ var require_globals = __commonJS({
602
572
  undefined: false,
603
573
  unescape: false,
604
574
  URIError: false,
605
- valueOf: false,
606
575
  WeakMap: false,
607
576
  WeakSet: false
608
577
  },
@@ -615,7 +584,6 @@ var require_globals = __commonJS({
615
584
  BigInt64Array: false,
616
585
  BigUint64Array: false,
617
586
  Boolean: false,
618
- constructor: false,
619
587
  DataView: false,
620
588
  Date: false,
621
589
  decodeURI: false,
@@ -631,14 +599,13 @@ var require_globals = __commonJS({
631
599
  Float64Array: false,
632
600
  Function: false,
633
601
  globalThis: false,
634
- hasOwnProperty: false,
635
602
  Infinity: false,
636
603
  Int16Array: false,
637
604
  Int32Array: false,
638
605
  Int8Array: false,
606
+ Intl: false,
639
607
  isFinite: false,
640
608
  isNaN: false,
641
- isPrototypeOf: false,
642
609
  JSON: false,
643
610
  Map: false,
644
611
  Math: false,
@@ -648,7 +615,6 @@ var require_globals = __commonJS({
648
615
  parseFloat: false,
649
616
  parseInt: false,
650
617
  Promise: false,
651
- propertyIsEnumerable: false,
652
618
  Proxy: false,
653
619
  RangeError: false,
654
620
  ReferenceError: false,
@@ -659,8 +625,6 @@ var require_globals = __commonJS({
659
625
  String: false,
660
626
  Symbol: false,
661
627
  SyntaxError: false,
662
- toLocaleString: false,
663
- toString: false,
664
628
  TypeError: false,
665
629
  Uint16Array: false,
666
630
  Uint32Array: false,
@@ -669,7 +633,6 @@ var require_globals = __commonJS({
669
633
  undefined: false,
670
634
  unescape: false,
671
635
  URIError: false,
672
- valueOf: false,
673
636
  WeakMap: false,
674
637
  WeakRef: false,
675
638
  WeakSet: false
@@ -677,34 +640,42 @@ var require_globals = __commonJS({
677
640
  browser: {
678
641
  AbortController: false,
679
642
  AbortSignal: false,
643
+ AbsoluteOrientationSensor: false,
644
+ AbstractRange: false,
645
+ Accelerometer: false,
680
646
  addEventListener: false,
681
647
  alert: false,
682
648
  AnalyserNode: false,
683
649
  Animation: false,
684
- AnimationEffectReadOnly: false,
685
- AnimationEffectTiming: false,
686
- AnimationEffectTimingReadOnly: false,
650
+ AnimationEffect: false,
687
651
  AnimationEvent: false,
688
652
  AnimationPlaybackEvent: false,
689
653
  AnimationTimeline: false,
690
- applicationCache: false,
691
- ApplicationCache: false,
692
- ApplicationCacheErrorEvent: false,
693
654
  atob: false,
694
655
  Attr: false,
695
656
  Audio: false,
696
657
  AudioBuffer: false,
697
658
  AudioBufferSourceNode: false,
698
659
  AudioContext: false,
660
+ AudioData: false,
661
+ AudioDecoder: false,
699
662
  AudioDestinationNode: false,
663
+ AudioEncoder: false,
700
664
  AudioListener: false,
701
665
  AudioNode: false,
702
666
  AudioParam: false,
667
+ AudioParamMap: false,
703
668
  AudioProcessingEvent: false,
704
669
  AudioScheduledSourceNode: false,
705
- AudioWorkletGlobalScope: false,
670
+ AudioSinkInfo: false,
671
+ AudioWorklet: false,
706
672
  AudioWorkletNode: false,
707
- AudioWorkletProcessor: false,
673
+ AuthenticatorAssertionResponse: false,
674
+ AuthenticatorAttestationResponse: false,
675
+ AuthenticatorResponse: false,
676
+ BackgroundFetchManager: false,
677
+ BackgroundFetchRecord: false,
678
+ BackgroundFetchRegistration: false,
708
679
  BarProp: false,
709
680
  BaseAudioContext: false,
710
681
  BatteryManager: false,
@@ -712,26 +683,40 @@ var require_globals = __commonJS({
712
683
  BiquadFilterNode: false,
713
684
  Blob: false,
714
685
  BlobEvent: false,
686
+ Bluetooth: false,
687
+ BluetoothCharacteristicProperties: false,
688
+ BluetoothDevice: false,
689
+ BluetoothRemoteGATTCharacteristic: false,
690
+ BluetoothRemoteGATTDescriptor: false,
691
+ BluetoothRemoteGATTServer: false,
692
+ BluetoothRemoteGATTService: false,
693
+ BluetoothUUID: false,
715
694
  blur: false,
716
695
  BroadcastChannel: false,
696
+ BrowserCaptureMediaStreamTrack: false,
717
697
  btoa: false,
718
- BudgetService: false,
719
698
  ByteLengthQueuingStrategy: false,
720
699
  Cache: false,
721
700
  caches: false,
722
701
  CacheStorage: false,
723
702
  cancelAnimationFrame: false,
724
703
  cancelIdleCallback: false,
704
+ CanvasCaptureMediaStream: false,
725
705
  CanvasCaptureMediaStreamTrack: false,
726
706
  CanvasGradient: false,
727
707
  CanvasPattern: false,
728
708
  CanvasRenderingContext2D: false,
709
+ CaptureController: false,
710
+ CaretPosition: false,
711
+ CDATASection: false,
729
712
  ChannelMergerNode: false,
730
713
  ChannelSplitterNode: false,
714
+ CharacterBoundsUpdateEvent: false,
731
715
  CharacterData: false,
732
716
  clearInterval: false,
733
717
  clearTimeout: false,
734
718
  clientInformation: false,
719
+ Clipboard: false,
735
720
  ClipboardEvent: false,
736
721
  ClipboardItem: false,
737
722
  close: false,
@@ -743,56 +728,99 @@ var require_globals = __commonJS({
743
728
  confirm: false,
744
729
  console: false,
745
730
  ConstantSourceNode: false,
731
+ ContentVisibilityAutoStateChangeEvent: false,
746
732
  ConvolverNode: false,
733
+ CookieChangeEvent: false,
734
+ cookieStore: false,
735
+ CookieStore: false,
736
+ CookieStoreManager: false,
747
737
  CountQueuingStrategy: false,
748
738
  createImageBitmap: false,
749
739
  Credential: false,
740
+ credentialless: false,
750
741
  CredentialsContainer: false,
742
+ CropTarget: false,
743
+ crossOriginIsolated: false,
751
744
  crypto: false,
752
745
  Crypto: false,
753
746
  CryptoKey: false,
754
747
  CSS: false,
748
+ CSSAnimation: false,
755
749
  CSSConditionRule: false,
750
+ CSSContainerRule: false,
751
+ CSSCounterStyleRule: false,
756
752
  CSSFontFaceRule: false,
753
+ CSSFontFeatureValuesRule: false,
754
+ CSSFontPaletteValuesRule: false,
757
755
  CSSGroupingRule: false,
756
+ CSSImageValue: false,
758
757
  CSSImportRule: false,
759
758
  CSSKeyframeRule: false,
760
759
  CSSKeyframesRule: false,
760
+ CSSKeywordValue: false,
761
+ CSSLayerBlockRule: false,
762
+ CSSLayerStatementRule: false,
763
+ CSSMathClamp: false,
764
+ CSSMathInvert: false,
765
+ CSSMathMax: false,
766
+ CSSMathMin: false,
767
+ CSSMathNegate: false,
768
+ CSSMathProduct: false,
769
+ CSSMathSum: false,
770
+ CSSMathValue: false,
761
771
  CSSMatrixComponent: false,
762
772
  CSSMediaRule: false,
763
773
  CSSNamespaceRule: false,
774
+ CSSNumericArray: false,
775
+ CSSNumericValue: false,
764
776
  CSSPageRule: false,
765
777
  CSSPerspective: false,
778
+ CSSPositionValue: false,
779
+ CSSPropertyRule: false,
766
780
  CSSRotate: false,
767
781
  CSSRule: false,
768
782
  CSSRuleList: false,
769
783
  CSSScale: false,
784
+ CSSScopeRule: false,
770
785
  CSSSkew: false,
771
786
  CSSSkewX: false,
772
787
  CSSSkewY: false,
788
+ CSSStartingStyleRule: false,
773
789
  CSSStyleDeclaration: false,
774
790
  CSSStyleRule: false,
775
791
  CSSStyleSheet: false,
792
+ CSSStyleValue: false,
776
793
  CSSSupportsRule: false,
794
+ CSSTransformComponent: false,
777
795
  CSSTransformValue: false,
796
+ CSSTransition: false,
778
797
  CSSTranslate: false,
798
+ CSSUnitValue: false,
799
+ CSSUnparsedValue: false,
800
+ CSSVariableReferenceValue: false,
779
801
  CustomElementRegistry: false,
780
802
  customElements: false,
781
803
  CustomEvent: false,
804
+ CustomStateSet: false,
782
805
  DataTransfer: false,
783
806
  DataTransferItem: false,
784
807
  DataTransferItemList: false,
785
808
  DecompressionStream: false,
786
- defaultstatus: false,
787
- defaultStatus: false,
788
809
  DelayNode: false,
810
+ DelegatedInkTrailPresenter: false,
789
811
  DeviceMotionEvent: false,
812
+ DeviceMotionEventAcceleration: false,
813
+ DeviceMotionEventRotationRate: false,
790
814
  DeviceOrientationEvent: false,
791
815
  devicePixelRatio: false,
792
816
  dispatchEvent: false,
793
817
  document: false,
794
818
  Document: false,
795
819
  DocumentFragment: false,
820
+ documentPictureInPicture: false,
821
+ DocumentPictureInPicture: false,
822
+ DocumentPictureInPictureEvent: false,
823
+ DocumentTimeline: false,
796
824
  DocumentType: false,
797
825
  DOMError: false,
798
826
  DOMException: false,
@@ -811,34 +839,112 @@ var require_globals = __commonJS({
811
839
  DOMTokenList: false,
812
840
  DragEvent: false,
813
841
  DynamicsCompressorNode: false,
842
+ EditContext: false,
814
843
  Element: false,
844
+ ElementInternals: false,
845
+ EncodedAudioChunk: false,
846
+ EncodedVideoChunk: false,
815
847
  ErrorEvent: false,
816
848
  event: false,
817
849
  Event: false,
850
+ EventCounts: false,
818
851
  EventSource: false,
819
852
  EventTarget: false,
820
853
  external: false,
854
+ External: false,
855
+ EyeDropper: false,
856
+ FeaturePolicy: false,
857
+ FederatedCredential: false,
821
858
  fetch: false,
822
859
  File: false,
823
860
  FileList: false,
824
861
  FileReader: false,
862
+ FileSystem: false,
863
+ FileSystemDirectoryEntry: false,
864
+ FileSystemDirectoryHandle: false,
865
+ FileSystemDirectoryReader: false,
866
+ FileSystemEntry: false,
867
+ FileSystemFileEntry: false,
868
+ FileSystemFileHandle: false,
869
+ FileSystemHandle: false,
870
+ FileSystemWritableFileStream: false,
825
871
  find: false,
826
872
  focus: false,
827
873
  FocusEvent: false,
874
+ FontData: false,
828
875
  FontFace: false,
876
+ FontFaceSet: false,
829
877
  FontFaceSetLoadEvent: false,
830
878
  FormData: false,
831
879
  FormDataEvent: false,
880
+ FragmentDirective: false,
832
881
  frameElement: false,
833
882
  frames: false,
834
883
  GainNode: false,
835
884
  Gamepad: false,
885
+ GamepadAxisMoveEvent: false,
836
886
  GamepadButton: false,
887
+ GamepadButtonEvent: false,
837
888
  GamepadEvent: false,
889
+ GamepadHapticActuator: false,
890
+ GamepadPose: false,
891
+ Geolocation: false,
892
+ GeolocationCoordinates: false,
893
+ GeolocationPosition: false,
894
+ GeolocationPositionError: false,
838
895
  getComputedStyle: false,
896
+ getScreenDetails: false,
839
897
  getSelection: false,
898
+ GPU: false,
899
+ GPUAdapter: false,
900
+ GPUAdapterInfo: false,
901
+ GPUBindGroup: false,
902
+ GPUBindGroupLayout: false,
903
+ GPUBuffer: false,
904
+ GPUBufferUsage: false,
905
+ GPUCanvasContext: false,
906
+ GPUColorWrite: false,
907
+ GPUCommandBuffer: false,
908
+ GPUCommandEncoder: false,
909
+ GPUCompilationInfo: false,
910
+ GPUCompilationMessage: false,
911
+ GPUComputePassEncoder: false,
912
+ GPUComputePipeline: false,
913
+ GPUDevice: false,
914
+ GPUDeviceLostInfo: false,
915
+ GPUError: false,
916
+ GPUExternalTexture: false,
917
+ GPUInternalError: false,
918
+ GPUMapMode: false,
919
+ GPUOutOfMemoryError: false,
920
+ GPUPipelineError: false,
921
+ GPUPipelineLayout: false,
922
+ GPUQuerySet: false,
923
+ GPUQueue: false,
924
+ GPURenderBundle: false,
925
+ GPURenderBundleEncoder: false,
926
+ GPURenderPassEncoder: false,
927
+ GPURenderPipeline: false,
928
+ GPUSampler: false,
929
+ GPUShaderModule: false,
930
+ GPUShaderStage: false,
931
+ GPUSupportedFeatures: false,
932
+ GPUSupportedLimits: false,
933
+ GPUTexture: false,
934
+ GPUTextureUsage: false,
935
+ GPUTextureView: false,
936
+ GPUUncapturedErrorEvent: false,
937
+ GPUValidationError: false,
938
+ GravitySensor: false,
939
+ Gyroscope: false,
840
940
  HashChangeEvent: false,
841
941
  Headers: false,
942
+ HID: false,
943
+ HIDConnectionEvent: false,
944
+ HIDDevice: false,
945
+ HIDInputReportEvent: false,
946
+ Highlight: false,
947
+ HighlightRegistry: false,
842
948
  history: false,
843
949
  History: false,
844
950
  HTMLAllCollection: false,
@@ -851,7 +957,6 @@ var require_globals = __commonJS({
851
957
  HTMLButtonElement: false,
852
958
  HTMLCanvasElement: false,
853
959
  HTMLCollection: false,
854
- HTMLContentElement: false,
855
960
  HTMLDataElement: false,
856
961
  HTMLDataListElement: false,
857
962
  HTMLDetailsElement: false,
@@ -900,7 +1005,6 @@ var require_globals = __commonJS({
900
1005
  HTMLQuoteElement: false,
901
1006
  HTMLScriptElement: false,
902
1007
  HTMLSelectElement: false,
903
- HTMLShadowElement: false,
904
1008
  HTMLSlotElement: false,
905
1009
  HTMLSourceElement: false,
906
1010
  HTMLSpanElement: false,
@@ -930,36 +1034,61 @@ var require_globals = __commonJS({
930
1034
  IDBRequest: false,
931
1035
  IDBTransaction: false,
932
1036
  IDBVersionChangeEvent: false,
1037
+ IdentityCredential: false,
1038
+ IdentityCredentialError: false,
1039
+ IdentityProvider: false,
933
1040
  IdleDeadline: false,
1041
+ IdleDetector: false,
934
1042
  IIRFilterNode: false,
935
1043
  Image: false,
936
1044
  ImageBitmap: false,
937
1045
  ImageBitmapRenderingContext: false,
938
1046
  ImageCapture: false,
939
1047
  ImageData: false,
1048
+ ImageDecoder: false,
1049
+ ImageTrack: false,
1050
+ ImageTrackList: false,
940
1051
  indexedDB: false,
1052
+ Ink: false,
941
1053
  innerHeight: false,
942
1054
  innerWidth: false,
1055
+ InputDeviceCapabilities: false,
1056
+ InputDeviceInfo: false,
943
1057
  InputEvent: false,
944
1058
  IntersectionObserver: false,
945
1059
  IntersectionObserverEntry: false,
946
- Intl: false,
947
1060
  isSecureContext: false,
1061
+ Iterator: false,
1062
+ Keyboard: false,
948
1063
  KeyboardEvent: false,
1064
+ KeyboardLayoutMap: false,
949
1065
  KeyframeEffect: false,
950
- KeyframeEffectReadOnly: false,
1066
+ LargestContentfulPaint: false,
1067
+ LaunchParams: false,
1068
+ launchQueue: false,
1069
+ LaunchQueue: false,
1070
+ LayoutShift: false,
1071
+ LayoutShiftAttribution: false,
951
1072
  length: false,
1073
+ LinearAccelerationSensor: false,
952
1074
  localStorage: false,
953
1075
  location: true,
954
1076
  Location: false,
955
1077
  locationbar: false,
1078
+ Lock: false,
1079
+ LockManager: false,
956
1080
  matchMedia: false,
1081
+ MathMLElement: false,
1082
+ MediaCapabilities: false,
1083
+ MediaCapabilitiesInfo: false,
957
1084
  MediaDeviceInfo: false,
958
1085
  MediaDevices: false,
959
1086
  MediaElementAudioSourceNode: false,
960
1087
  MediaEncryptedEvent: false,
961
1088
  MediaError: false,
1089
+ MediaKeyError: false,
962
1090
  MediaKeyMessageEvent: false,
1091
+ MediaKeys: false,
963
1092
  MediaKeySession: false,
964
1093
  MediaKeyStatusMap: false,
965
1094
  MediaKeySystemAccess: false,
@@ -968,15 +1097,20 @@ var require_globals = __commonJS({
968
1097
  MediaQueryList: false,
969
1098
  MediaQueryListEvent: false,
970
1099
  MediaRecorder: false,
971
- MediaSettingsRange: false,
1100
+ MediaRecorderErrorEvent: false,
1101
+ MediaSession: false,
972
1102
  MediaSource: false,
1103
+ MediaSourceHandle: false,
973
1104
  MediaStream: false,
974
1105
  MediaStreamAudioDestinationNode: false,
975
1106
  MediaStreamAudioSourceNode: false,
976
- MediaStreamConstraints: false,
977
1107
  MediaStreamEvent: false,
978
1108
  MediaStreamTrack: false,
1109
+ MediaStreamTrackAudioSourceNode: false,
979
1110
  MediaStreamTrackEvent: false,
1111
+ MediaStreamTrackGenerator: false,
1112
+ MediaStreamTrackProcessor: false,
1113
+ MediaStreamTrackVideoStats: false,
980
1114
  menubar: false,
981
1115
  MessageChannel: false,
982
1116
  MessageEvent: false,
@@ -999,9 +1133,19 @@ var require_globals = __commonJS({
999
1133
  MutationRecord: false,
1000
1134
  name: false,
1001
1135
  NamedNodeMap: false,
1136
+ NavigateEvent: false,
1137
+ navigation: false,
1138
+ Navigation: false,
1139
+ NavigationActivation: false,
1140
+ NavigationCurrentEntryChangeEvent: false,
1141
+ NavigationDestination: false,
1142
+ NavigationHistoryEntry: false,
1002
1143
  NavigationPreloadManager: false,
1144
+ NavigationTransition: false,
1003
1145
  navigator: false,
1004
1146
  Navigator: false,
1147
+ NavigatorLogin: false,
1148
+ NavigatorManagedData: false,
1005
1149
  NavigatorUAData: false,
1006
1150
  NetworkInformation: false,
1007
1151
  Node: false,
@@ -1009,21 +1153,27 @@ var require_globals = __commonJS({
1009
1153
  NodeIterator: false,
1010
1154
  NodeList: false,
1011
1155
  Notification: false,
1156
+ NotifyPaintEvent: false,
1012
1157
  OfflineAudioCompletionEvent: false,
1013
1158
  OfflineAudioContext: false,
1014
1159
  offscreenBuffering: false,
1015
- OffscreenCanvas: true,
1160
+ OffscreenCanvas: false,
1016
1161
  OffscreenCanvasRenderingContext2D: false,
1017
1162
  onabort: true,
1018
1163
  onafterprint: true,
1164
+ onanimationcancel: true,
1019
1165
  onanimationend: true,
1020
1166
  onanimationiteration: true,
1021
1167
  onanimationstart: true,
1022
1168
  onappinstalled: true,
1023
1169
  onauxclick: true,
1170
+ onbeforeinput: true,
1024
1171
  onbeforeinstallprompt: true,
1172
+ onbeforematch: true,
1025
1173
  onbeforeprint: true,
1174
+ onbeforetoggle: true,
1026
1175
  onbeforeunload: true,
1176
+ onbeforexrselect: true,
1027
1177
  onblur: true,
1028
1178
  oncancel: true,
1029
1179
  oncanplay: true,
@@ -1031,8 +1181,13 @@ var require_globals = __commonJS({
1031
1181
  onchange: true,
1032
1182
  onclick: true,
1033
1183
  onclose: true,
1184
+ oncontentvisibilityautostatechange: true,
1185
+ oncontextlost: true,
1034
1186
  oncontextmenu: true,
1187
+ oncontextrestored: true,
1188
+ oncopy: true,
1035
1189
  oncuechange: true,
1190
+ oncut: true,
1036
1191
  ondblclick: true,
1037
1192
  ondevicemotion: true,
1038
1193
  ondeviceorientation: true,
@@ -1049,6 +1204,9 @@ var require_globals = __commonJS({
1049
1204
  onended: true,
1050
1205
  onerror: true,
1051
1206
  onfocus: true,
1207
+ onformdata: true,
1208
+ ongamepadconnected: true,
1209
+ ongamepaddisconnected: true,
1052
1210
  ongotpointercapture: true,
1053
1211
  onhashchange: true,
1054
1212
  oninput: true,
@@ -1075,7 +1233,9 @@ var require_globals = __commonJS({
1075
1233
  onoffline: true,
1076
1234
  ononline: true,
1077
1235
  onpagehide: true,
1236
+ onpagereveal: true,
1078
1237
  onpageshow: true,
1238
+ onpaste: true,
1079
1239
  onpause: true,
1080
1240
  onplay: true,
1081
1241
  onplaying: true,
@@ -1086,6 +1246,7 @@ var require_globals = __commonJS({
1086
1246
  onpointermove: true,
1087
1247
  onpointerout: true,
1088
1248
  onpointerover: true,
1249
+ onpointerrawupdate: true,
1089
1250
  onpointerup: true,
1090
1251
  onpopstate: true,
1091
1252
  onprogress: true,
@@ -1094,44 +1255,61 @@ var require_globals = __commonJS({
1094
1255
  onreset: true,
1095
1256
  onresize: true,
1096
1257
  onscroll: true,
1258
+ onscrollend: true,
1097
1259
  onsearch: true,
1260
+ onsecuritypolicyviolation: true,
1098
1261
  onseeked: true,
1099
1262
  onseeking: true,
1100
1263
  onselect: true,
1264
+ onselectionchange: true,
1265
+ onselectstart: true,
1266
+ onslotchange: true,
1101
1267
  onstalled: true,
1102
1268
  onstorage: true,
1103
1269
  onsubmit: true,
1104
1270
  onsuspend: true,
1105
1271
  ontimeupdate: true,
1106
1272
  ontoggle: true,
1273
+ ontransitioncancel: true,
1107
1274
  ontransitionend: true,
1275
+ ontransitionrun: true,
1276
+ ontransitionstart: true,
1108
1277
  onunhandledrejection: true,
1109
1278
  onunload: true,
1110
1279
  onvolumechange: true,
1111
1280
  onwaiting: true,
1112
1281
  onwheel: true,
1113
1282
  open: false,
1114
- openDatabase: false,
1115
1283
  opener: false,
1116
1284
  Option: false,
1285
+ OrientationSensor: false,
1117
1286
  origin: false,
1287
+ originAgentCluster: false,
1118
1288
  OscillatorNode: false,
1289
+ OTPCredential: false,
1119
1290
  outerHeight: false,
1120
1291
  outerWidth: false,
1121
1292
  OverconstrainedError: false,
1293
+ PageRevealEvent: false,
1122
1294
  PageTransitionEvent: false,
1123
1295
  pageXOffset: false,
1124
1296
  pageYOffset: false,
1125
1297
  PannerNode: false,
1126
1298
  parent: false,
1299
+ PasswordCredential: false,
1127
1300
  Path2D: false,
1128
1301
  PaymentAddress: false,
1302
+ PaymentManager: false,
1303
+ PaymentMethodChangeEvent: false,
1129
1304
  PaymentRequest: false,
1130
1305
  PaymentRequestUpdateEvent: false,
1131
1306
  PaymentResponse: false,
1132
1307
  performance: false,
1133
1308
  Performance: false,
1309
+ PerformanceElementTiming: false,
1134
1310
  PerformanceEntry: false,
1311
+ PerformanceEventTiming: false,
1312
+ PerformanceLongAnimationFrameTiming: false,
1135
1313
  PerformanceLongTaskTiming: false,
1136
1314
  PerformanceMark: false,
1137
1315
  PerformanceMeasure: false,
@@ -1141,12 +1319,17 @@ var require_globals = __commonJS({
1141
1319
  PerformanceObserverEntryList: false,
1142
1320
  PerformancePaintTiming: false,
1143
1321
  PerformanceResourceTiming: false,
1322
+ PerformanceScriptTiming: false,
1323
+ PerformanceServerTiming: false,
1144
1324
  PerformanceTiming: false,
1325
+ PeriodicSyncManager: false,
1145
1326
  PeriodicWave: false,
1146
1327
  Permissions: false,
1147
1328
  PermissionStatus: false,
1329
+ PERSISTENT: false,
1148
1330
  personalbar: false,
1149
- PhotoCapabilities: false,
1331
+ PictureInPictureEvent: false,
1332
+ PictureInPictureWindow: false,
1150
1333
  Plugin: false,
1151
1334
  PluginArray: false,
1152
1335
  PointerEvent: false,
@@ -1162,12 +1345,15 @@ var require_globals = __commonJS({
1162
1345
  PresentationRequest: false,
1163
1346
  print: false,
1164
1347
  ProcessingInstruction: false,
1348
+ Profiler: false,
1165
1349
  ProgressEvent: false,
1166
1350
  PromiseRejectionEvent: false,
1167
1351
  prompt: false,
1352
+ PublicKeyCredential: false,
1168
1353
  PushManager: false,
1169
1354
  PushSubscription: false,
1170
1355
  PushSubscriptionOptions: false,
1356
+ queryLocalFonts: false,
1171
1357
  queueMicrotask: false,
1172
1358
  RadioNodeList: false,
1173
1359
  Range: false,
@@ -1177,36 +1363,50 @@ var require_globals = __commonJS({
1177
1363
  ReadableStreamBYOBRequest: false,
1178
1364
  ReadableStreamDefaultController: false,
1179
1365
  ReadableStreamDefaultReader: false,
1180
- registerProcessor: false,
1366
+ RelativeOrientationSensor: false,
1181
1367
  RemotePlayback: false,
1182
1368
  removeEventListener: false,
1183
1369
  reportError: false,
1370
+ ReportingObserver: false,
1184
1371
  Request: false,
1185
1372
  requestAnimationFrame: false,
1186
1373
  requestIdleCallback: false,
1187
1374
  resizeBy: false,
1188
1375
  ResizeObserver: false,
1189
1376
  ResizeObserverEntry: false,
1377
+ ResizeObserverSize: false,
1190
1378
  resizeTo: false,
1191
1379
  Response: false,
1192
1380
  RTCCertificate: false,
1193
1381
  RTCDataChannel: false,
1194
1382
  RTCDataChannelEvent: false,
1195
1383
  RTCDtlsTransport: false,
1384
+ RTCDTMFSender: false,
1385
+ RTCDTMFToneChangeEvent: false,
1386
+ RTCEncodedAudioFrame: false,
1387
+ RTCEncodedVideoFrame: false,
1388
+ RTCError: false,
1389
+ RTCErrorEvent: false,
1196
1390
  RTCIceCandidate: false,
1197
- RTCIceGatherer: false,
1198
1391
  RTCIceTransport: false,
1199
1392
  RTCPeerConnection: false,
1393
+ RTCPeerConnectionIceErrorEvent: false,
1200
1394
  RTCPeerConnectionIceEvent: false,
1201
- RTCRtpContributingSource: false,
1202
1395
  RTCRtpReceiver: false,
1396
+ RTCRtpScriptTransform: false,
1203
1397
  RTCRtpSender: false,
1398
+ RTCRtpTransceiver: false,
1204
1399
  RTCSctpTransport: false,
1205
1400
  RTCSessionDescription: false,
1206
1401
  RTCStatsReport: false,
1207
1402
  RTCTrackEvent: false,
1403
+ scheduler: false,
1404
+ Scheduler: false,
1405
+ Scheduling: false,
1208
1406
  screen: false,
1209
1407
  Screen: false,
1408
+ ScreenDetailed: false,
1409
+ ScreenDetails: false,
1210
1410
  screenLeft: false,
1211
1411
  ScreenOrientation: false,
1212
1412
  screenTop: false,
@@ -1216,12 +1416,17 @@ var require_globals = __commonJS({
1216
1416
  scroll: false,
1217
1417
  scrollbars: false,
1218
1418
  scrollBy: false,
1419
+ ScrollTimeline: false,
1219
1420
  scrollTo: false,
1220
1421
  scrollX: false,
1221
1422
  scrollY: false,
1222
1423
  SecurityPolicyViolationEvent: false,
1223
1424
  Selection: false,
1224
1425
  self: false,
1426
+ Sensor: false,
1427
+ SensorErrorEvent: false,
1428
+ Serial: false,
1429
+ SerialPort: false,
1225
1430
  ServiceWorker: false,
1226
1431
  ServiceWorkerContainer: false,
1227
1432
  ServiceWorkerRegistration: false,
@@ -1230,21 +1435,31 @@ var require_globals = __commonJS({
1230
1435
  setTimeout: false,
1231
1436
  ShadowRoot: false,
1232
1437
  SharedWorker: false,
1438
+ showDirectoryPicker: false,
1439
+ showOpenFilePicker: false,
1440
+ showSaveFilePicker: false,
1233
1441
  SourceBuffer: false,
1234
1442
  SourceBufferList: false,
1235
1443
  speechSynthesis: false,
1444
+ SpeechSynthesis: false,
1445
+ SpeechSynthesisErrorEvent: false,
1236
1446
  SpeechSynthesisEvent: false,
1237
1447
  SpeechSynthesisUtterance: false,
1448
+ SpeechSynthesisVoice: false,
1238
1449
  StaticRange: false,
1239
1450
  status: false,
1240
1451
  statusbar: false,
1241
1452
  StereoPannerNode: false,
1242
1453
  stop: false,
1243
1454
  Storage: false,
1455
+ StorageBucket: false,
1456
+ StorageBucketManager: false,
1244
1457
  StorageEvent: false,
1245
1458
  StorageManager: false,
1246
1459
  structuredClone: false,
1247
1460
  styleMedia: false,
1461
+ StylePropertyMap: false,
1462
+ StylePropertyMapReadOnly: false,
1248
1463
  StyleSheet: false,
1249
1464
  StyleSheetList: false,
1250
1465
  SubmitEvent: false,
@@ -1272,7 +1487,6 @@ var require_globals = __commonJS({
1272
1487
  SVGComponentTransferFunctionElement: false,
1273
1488
  SVGDefsElement: false,
1274
1489
  SVGDescElement: false,
1275
- SVGDiscardElement: false,
1276
1490
  SVGElement: false,
1277
1491
  SVGEllipseElement: false,
1278
1492
  SVGFEBlendElement: false,
@@ -1347,18 +1561,27 @@ var require_globals = __commonJS({
1347
1561
  SVGUnitTypes: false,
1348
1562
  SVGUseElement: false,
1349
1563
  SVGViewElement: false,
1564
+ SyncManager: false,
1350
1565
  TaskAttributionTiming: false,
1566
+ TaskController: false,
1567
+ TaskPriorityChangeEvent: false,
1568
+ TaskSignal: false,
1569
+ TEMPORARY: false,
1351
1570
  Text: false,
1352
1571
  TextDecoder: false,
1353
1572
  TextDecoderStream: false,
1354
1573
  TextEncoder: false,
1355
1574
  TextEncoderStream: false,
1356
1575
  TextEvent: false,
1576
+ TextFormat: false,
1577
+ TextFormatUpdateEvent: false,
1357
1578
  TextMetrics: false,
1358
1579
  TextTrack: false,
1359
1580
  TextTrackCue: false,
1360
1581
  TextTrackCueList: false,
1361
1582
  TextTrackList: false,
1583
+ TextUpdateEvent: false,
1584
+ TimeEvent: false,
1362
1585
  TimeRanges: false,
1363
1586
  ToggleEvent: false,
1364
1587
  toolbar: false,
@@ -1371,13 +1594,47 @@ var require_globals = __commonJS({
1371
1594
  TransformStreamDefaultController: false,
1372
1595
  TransitionEvent: false,
1373
1596
  TreeWalker: false,
1597
+ TrustedHTML: false,
1598
+ TrustedScript: false,
1599
+ TrustedScriptURL: false,
1600
+ TrustedTypePolicy: false,
1601
+ TrustedTypePolicyFactory: false,
1602
+ trustedTypes: false,
1374
1603
  UIEvent: false,
1375
1604
  URL: false,
1605
+ URLPattern: false,
1376
1606
  URLSearchParams: false,
1607
+ USB: false,
1608
+ USBAlternateInterface: false,
1609
+ USBConfiguration: false,
1610
+ USBConnectionEvent: false,
1611
+ USBDevice: false,
1612
+ USBEndpoint: false,
1613
+ USBInterface: false,
1614
+ USBInTransferResult: false,
1615
+ USBIsochronousInTransferPacket: false,
1616
+ USBIsochronousInTransferResult: false,
1617
+ USBIsochronousOutTransferPacket: false,
1618
+ USBIsochronousOutTransferResult: false,
1619
+ USBOutTransferResult: false,
1620
+ UserActivation: false,
1377
1621
  ValidityState: false,
1622
+ VideoColorSpace: false,
1623
+ VideoDecoder: false,
1624
+ VideoEncoder: false,
1625
+ VideoFrame: false,
1626
+ VideoPlaybackQuality: false,
1627
+ ViewTimeline: false,
1628
+ ViewTransition: false,
1629
+ VirtualKeyboard: false,
1630
+ VirtualKeyboardGeometryChangeEvent: false,
1631
+ VisibilityStateEntry: false,
1378
1632
  visualViewport: false,
1379
1633
  VisualViewport: false,
1380
1634
  VTTCue: false,
1635
+ VTTRegion: false,
1636
+ WakeLock: false,
1637
+ WakeLockSentinel: false,
1381
1638
  WaveShaperNode: false,
1382
1639
  WebAssembly: false,
1383
1640
  WebGL2RenderingContext: false,
@@ -1398,10 +1655,20 @@ var require_globals = __commonJS({
1398
1655
  WebGLUniformLocation: false,
1399
1656
  WebGLVertexArrayObject: false,
1400
1657
  WebSocket: false,
1658
+ WebTransport: false,
1659
+ WebTransportBidirectionalStream: false,
1660
+ WebTransportDatagramDuplexStream: false,
1661
+ WebTransportError: false,
1662
+ WebTransportReceiveStream: false,
1663
+ WebTransportSendStream: false,
1664
+ WGSLLanguageFeatures: false,
1401
1665
  WheelEvent: false,
1402
1666
  window: false,
1403
1667
  Window: false,
1668
+ WindowControlsOverlay: false,
1669
+ WindowControlsOverlayGeometryChangeEvent: false,
1404
1670
  Worker: false,
1671
+ Worklet: false,
1405
1672
  WritableStream: false,
1406
1673
  WritableStreamDefaultController: false,
1407
1674
  WritableStreamDefaultWriter: false,
@@ -1414,15 +1681,24 @@ var require_globals = __commonJS({
1414
1681
  XPathExpression: false,
1415
1682
  XPathResult: false,
1416
1683
  XRAnchor: false,
1684
+ XRAnchorSet: false,
1417
1685
  XRBoundedReferenceSpace: false,
1686
+ XRCamera: false,
1418
1687
  XRCPUDepthInformation: false,
1419
1688
  XRDepthInformation: false,
1689
+ XRDOMOverlayState: false,
1420
1690
  XRFrame: false,
1691
+ XRHitTestResult: false,
1692
+ XRHitTestSource: false,
1421
1693
  XRInputSource: false,
1422
1694
  XRInputSourceArray: false,
1423
1695
  XRInputSourceEvent: false,
1424
1696
  XRInputSourcesChangeEvent: false,
1697
+ XRLayer: false,
1698
+ XRLightEstimate: false,
1699
+ XRLightProbe: false,
1425
1700
  XRPose: false,
1701
+ XRRay: false,
1426
1702
  XRReferenceSpace: false,
1427
1703
  XRReferenceSpaceEvent: false,
1428
1704
  XRRenderState: false,
@@ -1431,6 +1707,8 @@ var require_globals = __commonJS({
1431
1707
  XRSessionEvent: false,
1432
1708
  XRSpace: false,
1433
1709
  XRSystem: false,
1710
+ XRTransientInputHitTestResult: false,
1711
+ XRTransientInputHitTestSource: false,
1434
1712
  XRView: false,
1435
1713
  XRViewerPose: false,
1436
1714
  XRViewport: false,
@@ -1440,32 +1718,113 @@ var require_globals = __commonJS({
1440
1718
  XSLTProcessor: false
1441
1719
  },
1442
1720
  worker: {
1721
+ AbortController: false,
1722
+ AbortSignal: false,
1443
1723
  addEventListener: false,
1444
- applicationCache: false,
1445
1724
  atob: false,
1725
+ AudioData: false,
1726
+ AudioDecoder: false,
1727
+ AudioEncoder: false,
1728
+ BackgroundFetchManager: false,
1729
+ BackgroundFetchRecord: false,
1730
+ BackgroundFetchRegistration: false,
1446
1731
  Blob: false,
1447
1732
  BroadcastChannel: false,
1448
1733
  btoa: false,
1449
1734
  ByteLengthQueuingStrategy: false,
1450
1735
  Cache: false,
1451
1736
  caches: false,
1737
+ CacheStorage: false,
1738
+ cancelAnimationFrame: false,
1739
+ CanvasGradient: false,
1740
+ CanvasPattern: false,
1452
1741
  clearInterval: false,
1453
1742
  clearTimeout: false,
1454
- close: true,
1743
+ close: false,
1744
+ CloseEvent: false,
1455
1745
  CompressionStream: false,
1456
1746
  console: false,
1457
1747
  CountQueuingStrategy: false,
1748
+ createImageBitmap: false,
1749
+ CropTarget: false,
1750
+ crossOriginIsolated: false,
1458
1751
  crypto: false,
1459
1752
  Crypto: false,
1460
1753
  CryptoKey: false,
1754
+ CSSSkewX: false,
1755
+ CSSSkewY: false,
1461
1756
  CustomEvent: false,
1462
1757
  DecompressionStream: false,
1758
+ DedicatedWorkerGlobalScope: false,
1759
+ dispatchEvent: false,
1760
+ DOMException: false,
1761
+ DOMMatrix: false,
1762
+ DOMMatrixReadOnly: false,
1763
+ DOMPoint: false,
1764
+ DOMPointReadOnly: false,
1765
+ DOMQuad: false,
1766
+ DOMRect: false,
1767
+ DOMRectReadOnly: false,
1768
+ DOMStringList: false,
1769
+ EncodedAudioChunk: false,
1770
+ EncodedVideoChunk: false,
1463
1771
  ErrorEvent: false,
1464
1772
  Event: false,
1773
+ EventSource: false,
1774
+ EventTarget: false,
1465
1775
  fetch: false,
1466
1776
  File: false,
1777
+ FileList: false,
1778
+ FileReader: false,
1467
1779
  FileReaderSync: false,
1780
+ FileSystemDirectoryHandle: false,
1781
+ FileSystemFileHandle: false,
1782
+ FileSystemHandle: false,
1783
+ FileSystemSyncAccessHandle: false,
1784
+ FileSystemWritableFileStream: false,
1785
+ FontFace: false,
1786
+ fonts: false,
1468
1787
  FormData: false,
1788
+ GPU: false,
1789
+ GPUAdapter: false,
1790
+ GPUAdapterInfo: false,
1791
+ GPUBindGroup: false,
1792
+ GPUBindGroupLayout: false,
1793
+ GPUBuffer: false,
1794
+ GPUBufferUsage: false,
1795
+ GPUCanvasContext: false,
1796
+ GPUColorWrite: false,
1797
+ GPUCommandBuffer: false,
1798
+ GPUCommandEncoder: false,
1799
+ GPUCompilationInfo: false,
1800
+ GPUCompilationMessage: false,
1801
+ GPUComputePassEncoder: false,
1802
+ GPUComputePipeline: false,
1803
+ GPUDevice: false,
1804
+ GPUDeviceLostInfo: false,
1805
+ GPUError: false,
1806
+ GPUExternalTexture: false,
1807
+ GPUInternalError: false,
1808
+ GPUMapMode: false,
1809
+ GPUOutOfMemoryError: false,
1810
+ GPUPipelineError: false,
1811
+ GPUPipelineLayout: false,
1812
+ GPUQuerySet: false,
1813
+ GPUQueue: false,
1814
+ GPURenderBundle: false,
1815
+ GPURenderBundleEncoder: false,
1816
+ GPURenderPassEncoder: false,
1817
+ GPURenderPipeline: false,
1818
+ GPUSampler: false,
1819
+ GPUShaderModule: false,
1820
+ GPUShaderStage: false,
1821
+ GPUSupportedFeatures: false,
1822
+ GPUSupportedLimits: false,
1823
+ GPUTexture: false,
1824
+ GPUTextureUsage: false,
1825
+ GPUTextureView: false,
1826
+ GPUUncapturedErrorEvent: false,
1827
+ GPUValidationError: false,
1469
1828
  Headers: false,
1470
1829
  IDBCursor: false,
1471
1830
  IDBCursorWithValue: false,
@@ -1478,37 +1837,61 @@ var require_globals = __commonJS({
1478
1837
  IDBRequest: false,
1479
1838
  IDBTransaction: false,
1480
1839
  IDBVersionChangeEvent: false,
1840
+ IdleDetector: false,
1841
+ ImageBitmap: false,
1842
+ ImageBitmapRenderingContext: false,
1481
1843
  ImageData: false,
1482
- importScripts: true,
1844
+ ImageDecoder: false,
1845
+ ImageTrack: false,
1846
+ ImageTrackList: false,
1847
+ importScripts: false,
1483
1848
  indexedDB: false,
1849
+ isSecureContext: false,
1850
+ Iterator: false,
1484
1851
  location: false,
1852
+ Lock: false,
1853
+ LockManager: false,
1854
+ MediaCapabilities: false,
1855
+ MediaSource: false,
1856
+ MediaSourceHandle: false,
1485
1857
  MessageChannel: false,
1486
1858
  MessageEvent: false,
1487
1859
  MessagePort: false,
1488
1860
  name: false,
1861
+ NavigationPreloadManager: false,
1489
1862
  navigator: false,
1863
+ NavigatorUAData: false,
1864
+ NetworkInformation: false,
1490
1865
  Notification: false,
1491
- onclose: true,
1492
- onconnect: true,
1866
+ OffscreenCanvas: false,
1867
+ OffscreenCanvasRenderingContext2D: false,
1493
1868
  onerror: true,
1494
1869
  onlanguagechange: true,
1495
1870
  onmessage: true,
1496
- onoffline: true,
1497
- ononline: true,
1871
+ onmessageerror: true,
1498
1872
  onrejectionhandled: true,
1499
1873
  onunhandledrejection: true,
1874
+ origin: false,
1875
+ Path2D: false,
1500
1876
  performance: false,
1501
1877
  Performance: false,
1502
1878
  PerformanceEntry: false,
1503
1879
  PerformanceMark: false,
1504
1880
  PerformanceMeasure: false,
1505
- PerformanceNavigation: false,
1506
1881
  PerformanceObserver: false,
1507
1882
  PerformanceObserverEntryList: false,
1508
1883
  PerformanceResourceTiming: false,
1509
- PerformanceTiming: false,
1510
- postMessage: true,
1511
- Promise: false,
1884
+ PerformanceServerTiming: false,
1885
+ PeriodicSyncManager: false,
1886
+ Permissions: false,
1887
+ PermissionStatus: false,
1888
+ PERSISTENT: false,
1889
+ postMessage: false,
1890
+ ProgressEvent: false,
1891
+ PromiseRejectionEvent: false,
1892
+ PushManager: false,
1893
+ PushSubscription: false,
1894
+ PushSubscriptionOptions: false,
1512
1895
  queueMicrotask: false,
1513
1896
  ReadableByteStreamController: false,
1514
1897
  ReadableStream: false,
@@ -1518,29 +1901,105 @@ var require_globals = __commonJS({
1518
1901
  ReadableStreamDefaultReader: false,
1519
1902
  removeEventListener: false,
1520
1903
  reportError: false,
1904
+ ReportingObserver: false,
1521
1905
  Request: false,
1906
+ requestAnimationFrame: false,
1522
1907
  Response: false,
1523
- self: true,
1908
+ RTCEncodedAudioFrame: false,
1909
+ RTCEncodedVideoFrame: false,
1910
+ scheduler: false,
1911
+ Scheduler: false,
1912
+ SecurityPolicyViolationEvent: false,
1913
+ self: false,
1914
+ Serial: false,
1915
+ SerialPort: false,
1524
1916
  ServiceWorkerRegistration: false,
1525
1917
  setInterval: false,
1526
1918
  setTimeout: false,
1919
+ SourceBuffer: false,
1920
+ SourceBufferList: false,
1921
+ StorageBucket: false,
1922
+ StorageBucketManager: false,
1923
+ StorageManager: false,
1924
+ structuredClone: false,
1527
1925
  SubtleCrypto: false,
1926
+ SyncManager: false,
1927
+ TaskController: false,
1928
+ TaskPriorityChangeEvent: false,
1929
+ TaskSignal: false,
1930
+ TEMPORARY: false,
1528
1931
  TextDecoder: false,
1529
1932
  TextDecoderStream: false,
1530
1933
  TextEncoder: false,
1531
1934
  TextEncoderStream: false,
1935
+ TextMetrics: false,
1532
1936
  TransformStream: false,
1533
1937
  TransformStreamDefaultController: false,
1938
+ TrustedHTML: false,
1939
+ TrustedScript: false,
1940
+ TrustedScriptURL: false,
1941
+ TrustedTypePolicy: false,
1942
+ TrustedTypePolicyFactory: false,
1943
+ trustedTypes: false,
1534
1944
  URL: false,
1945
+ URLPattern: false,
1535
1946
  URLSearchParams: false,
1947
+ USB: false,
1948
+ USBAlternateInterface: false,
1949
+ USBConfiguration: false,
1950
+ USBConnectionEvent: false,
1951
+ USBDevice: false,
1952
+ USBEndpoint: false,
1953
+ USBInterface: false,
1954
+ USBInTransferResult: false,
1955
+ USBIsochronousInTransferPacket: false,
1956
+ USBIsochronousInTransferResult: false,
1957
+ USBIsochronousOutTransferPacket: false,
1958
+ USBIsochronousOutTransferResult: false,
1959
+ USBOutTransferResult: false,
1960
+ UserActivation: false,
1961
+ VideoColorSpace: false,
1962
+ VideoDecoder: false,
1963
+ VideoEncoder: false,
1964
+ VideoFrame: false,
1536
1965
  WebAssembly: false,
1966
+ WebGL2RenderingContext: false,
1967
+ WebGLActiveInfo: false,
1968
+ WebGLBuffer: false,
1969
+ WebGLContextEvent: false,
1970
+ WebGLFramebuffer: false,
1971
+ WebGLProgram: false,
1972
+ WebGLQuery: false,
1973
+ WebGLRenderbuffer: false,
1974
+ WebGLRenderingContext: false,
1975
+ WebGLSampler: false,
1976
+ WebGLShader: false,
1977
+ WebGLShaderPrecisionFormat: false,
1978
+ WebGLSync: false,
1979
+ WebGLTexture: false,
1980
+ WebGLTransformFeedback: false,
1981
+ WebGLUniformLocation: false,
1982
+ WebGLVertexArrayObject: false,
1983
+ webkitRequestFileSystem: false,
1984
+ webkitRequestFileSystemSync: false,
1985
+ webkitResolveLocalFileSystemSyncURL: false,
1986
+ webkitResolveLocalFileSystemURL: false,
1537
1987
  WebSocket: false,
1988
+ WebTransport: false,
1989
+ WebTransportBidirectionalStream: false,
1990
+ WebTransportDatagramDuplexStream: false,
1991
+ WebTransportError: false,
1992
+ WGSLLanguageFeatures: false,
1538
1993
  Worker: false,
1539
1994
  WorkerGlobalScope: false,
1995
+ WorkerLocation: false,
1996
+ WorkerNavigator: false,
1540
1997
  WritableStream: false,
1541
1998
  WritableStreamDefaultController: false,
1542
1999
  WritableStreamDefaultWriter: false,
1543
- XMLHttpRequest: false
2000
+ XMLHttpRequest: false,
2001
+ XMLHttpRequestEventTarget: false,
2002
+ XMLHttpRequestUpload: false
1544
2003
  },
1545
2004
  node: {
1546
2005
  __dirname: false,
@@ -1573,12 +2032,14 @@ var require_globals = __commonJS({
1573
2032
  FormData: false,
1574
2033
  global: false,
1575
2034
  Headers: false,
1576
- Intl: false,
1577
2035
  MessageChannel: false,
1578
2036
  MessageEvent: false,
1579
2037
  MessagePort: false,
1580
2038
  module: false,
2039
+ navigator: false,
2040
+ Navigator: false,
1581
2041
  performance: false,
2042
+ Performance: false,
1582
2043
  PerformanceEntry: false,
1583
2044
  PerformanceMark: false,
1584
2045
  PerformanceMeasure: false,
@@ -1642,11 +2103,13 @@ var require_globals = __commonJS({
1642
2103
  FormData: false,
1643
2104
  global: false,
1644
2105
  Headers: false,
1645
- Intl: false,
1646
2106
  MessageChannel: false,
1647
2107
  MessageEvent: false,
1648
2108
  MessagePort: false,
2109
+ navigator: false,
2110
+ Navigator: false,
1649
2111
  performance: false,
2112
+ Performance: false,
1650
2113
  PerformanceEntry: false,
1651
2114
  PerformanceMark: false,
1652
2115
  PerformanceMeasure: false,
@@ -1743,12 +2206,9 @@ var require_globals = __commonJS({
1743
2206
  beforeEach: false,
1744
2207
  describe: false,
1745
2208
  expect: false,
1746
- fdescribe: false,
1747
2209
  fit: false,
1748
2210
  it: false,
1749
2211
  jest: false,
1750
- pit: false,
1751
- require: false,
1752
2212
  test: false,
1753
2213
  xdescribe: false,
1754
2214
  xit: false,
@@ -1877,6 +2337,7 @@ var require_globals = __commonJS({
1877
2337
  exit: false,
1878
2338
  find: false,
1879
2339
  grep: false,
2340
+ head: false,
1880
2341
  ln: false,
1881
2342
  ls: false,
1882
2343
  mkdir: false,
@@ -1887,10 +2348,13 @@ var require_globals = __commonJS({
1887
2348
  rm: false,
1888
2349
  sed: false,
1889
2350
  set: false,
1890
- target: false,
2351
+ ShellString: false,
2352
+ sort: false,
2353
+ tail: false,
1891
2354
  tempdir: false,
1892
2355
  test: false,
1893
2356
  touch: false,
2357
+ uniq: false,
1894
2358
  which: false
1895
2359
  },
1896
2360
  prototypejs: {
@@ -2106,7 +2570,6 @@ var require_globals = __commonJS({
2106
2570
  PerformanceResourceTiming: false,
2107
2571
  PerformanceTiming: false,
2108
2572
  postMessage: true,
2109
- Promise: false,
2110
2573
  queueMicrotask: false,
2111
2574
  ReadableByteStreamController: false,
2112
2575
  ReadableStream: false,
@@ -2208,11 +2671,13 @@ var require_globals = __commonJS({
2208
2671
  File: false,
2209
2672
  FormData: false,
2210
2673
  Headers: false,
2211
- Intl: false,
2212
2674
  MessageChannel: false,
2213
2675
  MessageEvent: false,
2214
2676
  MessagePort: false,
2677
+ navigator: false,
2678
+ Navigator: false,
2215
2679
  performance: false,
2680
+ Performance: false,
2216
2681
  PerformanceEntry: false,
2217
2682
  PerformanceMark: false,
2218
2683
  PerformanceMeasure: false,
@@ -2313,9 +2778,9 @@ var require_globals = __commonJS({
2313
2778
  }
2314
2779
  });
2315
2780
 
2316
- // node_modules/.pnpm/globals@14.0.0/node_modules/globals/index.js
2781
+ // node_modules/.pnpm/globals@15.0.0/node_modules/globals/index.js
2317
2782
  var require_globals2 = __commonJS({
2318
- "node_modules/.pnpm/globals@14.0.0/node_modules/globals/index.js"(exports2, module2) {
2783
+ "node_modules/.pnpm/globals@15.0.0/node_modules/globals/index.js"(exports2, module2) {
2319
2784
  "use strict";
2320
2785
  module2.exports = require_globals();
2321
2786
  }
@@ -2345,6 +2810,7 @@ __export(src_exports, {
2345
2810
  GLOB_TSX: () => GLOB_TSX,
2346
2811
  GLOB_YAML: () => GLOB_YAML,
2347
2812
  combine: () => combine,
2813
+ combineAsync: () => combineAsync,
2348
2814
  comments: () => comments,
2349
2815
  default: () => jsse,
2350
2816
  eslintConfigPrettierRules: () => eslintConfigPrettierRules,
@@ -2359,10 +2825,11 @@ __export(src_exports, {
2359
2825
  jsse: () => jsse,
2360
2826
  jsseReact: () => jsseReact,
2361
2827
  jssestd: () => jssestd,
2362
- node: () => node,
2828
+ n: () => n,
2363
2829
  parserJsonc: () => import_jsonc_eslint_parser.default,
2364
2830
  parserTs: () => parserTs,
2365
2831
  perfectionist: () => perfectionist,
2832
+ pluginAntfu: () => import_eslint_plugin_antfu.default,
2366
2833
  pluginEslintComments: () => import_eslint_plugin_eslint_comments.default,
2367
2834
  pluginImport: () => pluginImport,
2368
2835
  pluginJsdoc: () => import_eslint_plugin_jsdoc.default,
@@ -2398,42 +2865,41 @@ module.exports = __toCommonJS(src_exports);
2398
2865
  var import_eslint_plugin = __toESM(require("@stylistic/eslint-plugin"), 1);
2399
2866
  var import_eslint_plugin2 = __toESM(require("@typescript-eslint/eslint-plugin"), 1);
2400
2867
  var parserTs = __toESM(require("@typescript-eslint/parser"), 1);
2868
+ var import_eslint_plugin_antfu = __toESM(require("eslint-plugin-antfu"), 1);
2401
2869
  var import_eslint_plugin_eslint_comments = __toESM(require("eslint-plugin-eslint-comments"), 1);
2402
2870
  var pluginImport = __toESM(require("eslint-plugin-i"), 1);
2403
2871
  var import_eslint_plugin_jsdoc = __toESM(require("eslint-plugin-jsdoc"), 1);
2404
2872
  var pluginJsonc = __toESM(require("eslint-plugin-jsonc"), 1);
2873
+ var import_eslint_plugin_markdown = __toESM(require("eslint-plugin-markdown"), 1);
2405
2874
  var import_eslint_plugin_n = __toESM(require("eslint-plugin-n"), 1);
2406
2875
  var import_eslint_plugin_no_only_tests = __toESM(require("eslint-plugin-no-only-tests"), 1);
2876
+ var import_eslint_plugin_perfectionist = __toESM(require("eslint-plugin-perfectionist"), 1);
2407
2877
  var import_eslint_plugin_react = __toESM(require("eslint-plugin-react"), 1);
2408
2878
  var import_eslint_plugin_react_hooks = __toESM(require("eslint-plugin-react-hooks"), 1);
2409
2879
  var pluginReactRefresh = __toESM(require("eslint-plugin-react-refresh"), 1);
2410
2880
  var pluginSortKeys = __toESM(require_eslint_plugin_sort_keys(), 1);
2881
+ var import_eslint_plugin_tailwindcss = __toESM(require("eslint-plugin-tailwindcss"), 1);
2411
2882
  var import_eslint_plugin_unicorn = __toESM(require("eslint-plugin-unicorn"), 1);
2412
2883
  var import_eslint_plugin_unused_imports = __toESM(require("eslint-plugin-unused-imports"), 1);
2413
- var import_eslint_plugin_tailwindcss = __toESM(require("eslint-plugin-tailwindcss"), 1);
2414
2884
  var import_eslint_plugin_vitest = __toESM(require("eslint-plugin-vitest"), 1);
2415
2885
  var import_jsonc_eslint_parser = __toESM(require("jsonc-eslint-parser"), 1);
2416
- var import_eslint_plugin_markdown = __toESM(require("eslint-plugin-markdown"), 1);
2417
- var import_eslint_plugin_perfectionist = __toESM(require("eslint-plugin-perfectionist"), 1);
2418
2886
 
2419
2887
  // src/configs/comments.ts
2420
- function comments() {
2421
- return [
2422
- {
2423
- name: "jsse:eslint-comments",
2424
- plugins: {
2425
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
2426
- "eslint-comments": import_eslint_plugin_eslint_comments.default
2427
- },
2428
- rules: {
2429
- "eslint-comments/no-aggregating-enable": "error",
2430
- "eslint-comments/no-duplicate-disable": "error",
2431
- "eslint-comments/no-unlimited-disable": "error",
2432
- "eslint-comments/no-unused-enable": "error"
2433
- }
2888
+ var comments = async () => [
2889
+ {
2890
+ name: "jsse:eslint-comments",
2891
+ plugins: {
2892
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
2893
+ "eslint-comments": import_eslint_plugin_eslint_comments.default
2894
+ },
2895
+ rules: {
2896
+ "eslint-comments/no-aggregating-enable": "error",
2897
+ "eslint-comments/no-duplicate-disable": "error",
2898
+ "eslint-comments/no-unlimited-disable": "error",
2899
+ "eslint-comments/no-unused-enable": "error"
2434
2900
  }
2435
- ];
2436
- }
2901
+ }
2902
+ ];
2437
2903
 
2438
2904
  // src/globs.ts
2439
2905
  var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
@@ -2504,17 +2970,17 @@ var GLOB_EXCLUDE = [
2504
2970
  ];
2505
2971
 
2506
2972
  // src/configs/ignores.ts
2507
- function ignores() {
2973
+ var ignores = async () => {
2508
2974
  return [
2509
2975
  {
2510
2976
  ignores: GLOB_EXCLUDE
2511
2977
  }
2512
2978
  ];
2513
- }
2979
+ };
2514
2980
 
2515
2981
  // src/configs/imports.ts
2516
- function imports(options = {}) {
2517
- const { stylistic: stylistic2 = true } = options;
2982
+ var imports = async (options) => {
2983
+ const { stylistic: stylistic2 = true } = options ?? {};
2518
2984
  return [
2519
2985
  {
2520
2986
  name: "jsse:imports",
@@ -2539,13 +3005,17 @@ function imports(options = {}) {
2539
3005
  }
2540
3006
  }
2541
3007
  ];
2542
- }
3008
+ };
2543
3009
 
2544
3010
  // src/configs/javascript.ts
2545
3011
  var import_js = __toESM(require("@eslint/js"), 1);
2546
3012
  var import_globals = __toESM(require_globals2(), 1);
2547
- function javascript(options = {}) {
2548
- const { isInEditor: isInEditor2 = false, overrides = {} } = options;
3013
+ var javascript = async (options) => {
3014
+ const {
3015
+ isInEditor: isInEditor2 = false,
3016
+ overrides = {},
3017
+ reportUnusedDisableDirectives = true
3018
+ } = options ?? {};
2549
3019
  return [
2550
3020
  {
2551
3021
  languageOptions: {
@@ -2568,7 +3038,7 @@ function javascript(options = {}) {
2568
3038
  sourceType: "module"
2569
3039
  },
2570
3040
  linterOptions: {
2571
- reportUnusedDisableDirectives: options.reportUnusedDisableDirectives ?? true
3041
+ reportUnusedDisableDirectives
2572
3042
  },
2573
3043
  name: "jsse:javascript",
2574
3044
  plugins: {
@@ -2796,10 +3266,10 @@ function javascript(options = {}) {
2796
3266
  }
2797
3267
  }
2798
3268
  ];
2799
- }
3269
+ };
2800
3270
 
2801
3271
  // src/configs/jsdoc.ts
2802
- function jsdoc() {
3272
+ var jsdoc = async () => {
2803
3273
  return [
2804
3274
  {
2805
3275
  name: "jsse:jsdoc",
@@ -2828,11 +3298,11 @@ function jsdoc() {
2828
3298
  }
2829
3299
  }
2830
3300
  ];
2831
- }
3301
+ };
2832
3302
 
2833
3303
  // src/configs/jsonc.ts
2834
- function jsonc(options = {}) {
2835
- const { overrides = {}, stylistic: stylistic2 = true } = options;
3304
+ var jsonc = async (options) => {
3305
+ const { overrides = {}, stylistic: stylistic2 = true } = options ?? {};
2836
3306
  const { indent = 2 } = typeof stylistic2 === "boolean" ? {} : stylistic2;
2837
3307
  return [
2838
3308
  {
@@ -2900,30 +3370,43 @@ function jsonc(options = {}) {
2900
3370
  }
2901
3371
  }
2902
3372
  ];
2903
- }
3373
+ };
2904
3374
 
2905
3375
  // src/configs/n.ts
2906
- function node() {
3376
+ var n = async () => {
2907
3377
  return [
2908
3378
  {
2909
3379
  name: "jsse:n",
2910
3380
  plugins: {
2911
3381
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
2912
- node: import_eslint_plugin_n.default
3382
+ n: import_eslint_plugin_n.default
2913
3383
  },
2914
3384
  rules: {
2915
- "node/handle-callback-err": ["error", "^(err|error)$"],
2916
- "node/no-deprecated-api": "error",
2917
- "node/no-exports-assign": "error",
2918
- "node/no-new-require": "error",
2919
- "node/no-path-concat": "error",
2920
- "node/prefer-global/buffer": ["error", "never"],
2921
- "node/prefer-global/process": ["error", "never"],
2922
- "node/process-exit-as-throw": "error"
3385
+ "n/handle-callback-err": ["error", "^(err|error)$"],
3386
+ "n/no-deprecated-api": "error",
3387
+ "n/no-exports-assign": "error",
3388
+ "n/no-new-require": "error",
3389
+ "n/no-path-concat": "error",
3390
+ "n/prefer-global/buffer": ["error", "never"],
3391
+ "n/prefer-global/process": ["error", "never"],
3392
+ "n/process-exit-as-throw": "error"
2923
3393
  }
2924
3394
  }
2925
3395
  ];
2926
- }
3396
+ };
3397
+
3398
+ // src/configs/perfectionist.ts
3399
+ var perfectionist = async () => {
3400
+ return [
3401
+ {
3402
+ name: "jsse:perfectionist",
3403
+ plugins: {
3404
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
3405
+ perfectionist: import_eslint_plugin_perfectionist.default
3406
+ }
3407
+ }
3408
+ ];
3409
+ };
2927
3410
 
2928
3411
  // src/configs/prettier.ts
2929
3412
  function eslintConfigPrettierRules() {
@@ -3040,16 +3523,14 @@ function eslintConfigPrettierRules() {
3040
3523
  "yield-star-spacing": "off"
3041
3524
  };
3042
3525
  }
3043
- function prettier() {
3526
+ var prettier = async () => {
3044
3527
  return [
3045
3528
  {
3046
3529
  name: "jsse:prettier",
3047
- rules: {
3048
- ...eslintConfigPrettierRules()
3049
- }
3530
+ rules: eslintConfigPrettierRules()
3050
3531
  }
3051
3532
  ];
3052
- }
3533
+ };
3053
3534
 
3054
3535
  // src/configs/ts/typescript-language-options.ts
3055
3536
  var import_node_process = __toESM(require("process"), 1);
@@ -3308,7 +3789,7 @@ function reactRecomendedRules() {
3308
3789
  "react/require-render-return": 2
3309
3790
  };
3310
3791
  }
3311
- function react(options) {
3792
+ var react = async (options) => {
3312
3793
  const {
3313
3794
  componentExts,
3314
3795
  parserOptions = {},
@@ -3353,10 +3834,10 @@ function react(options) {
3353
3834
  config.push(...reactRefreshFlatConfigs());
3354
3835
  }
3355
3836
  return config;
3356
- }
3837
+ };
3357
3838
 
3358
3839
  // src/configs/sort.ts
3359
- function sortPackageJson() {
3840
+ var sortPackageJson = async () => {
3360
3841
  return [
3361
3842
  {
3362
3843
  files: ["**/package.json"],
@@ -3439,8 +3920,8 @@ function sortPackageJson() {
3439
3920
  }
3440
3921
  }
3441
3922
  ];
3442
- }
3443
- function sortTsconfig() {
3923
+ };
3924
+ var sortTsconfig = async () => {
3444
3925
  return [
3445
3926
  {
3446
3927
  files: ["**/tsconfig.json", "**/tsconfig.*.json"],
@@ -3564,7 +4045,7 @@ function sortTsconfig() {
3564
4045
  }
3565
4046
  }
3566
4047
  ];
3567
- }
4048
+ };
3568
4049
 
3569
4050
  // src/utils.ts
3570
4051
  var import_node_process2 = __toESM(require("process"), 1);
@@ -3573,6 +4054,12 @@ function combine(...configs) {
3573
4054
  (config) => Array.isArray(config) ? config : [config]
3574
4055
  );
3575
4056
  }
4057
+ async function combineAsync(...configs) {
4058
+ const resolved = await Promise.all(configs);
4059
+ return resolved.flatMap(
4060
+ (config) => Array.isArray(config) ? config : [config]
4061
+ );
4062
+ }
3576
4063
  function renameRules(rules, from, to) {
3577
4064
  if (from === to) {
3578
4065
  return rules;
@@ -3598,12 +4085,13 @@ function isInEditor() {
3598
4085
  }
3599
4086
 
3600
4087
  // src/configs/test.ts
3601
- function test(options = {}) {
4088
+ var test = async (options = {}) => {
3602
4089
  const { isInEditor: isInEditor2 = false, overrides = {} } = options;
3603
4090
  return [
3604
4091
  {
3605
4092
  name: "jsse:test:setup",
3606
4093
  plugins: {
4094
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
3607
4095
  "no-only-tests": import_eslint_plugin_no_only_tests.default,
3608
4096
  vitest: import_eslint_plugin_vitest.default
3609
4097
  }
@@ -3625,7 +4113,7 @@ function test(options = {}) {
3625
4113
  }
3626
4114
  }
3627
4115
  ];
3628
- }
4116
+ };
3629
4117
 
3630
4118
  // src/configs/ts/typescript-rules.ts
3631
4119
  function typescriptRulesTypeAware() {
@@ -3687,6 +4175,7 @@ function typescriptRulesTypeAware() {
3687
4175
  "accessor",
3688
4176
  "enumMember"
3689
4177
  ],
4178
+ // eslint-disable-next-line unicorn/no-null
3690
4179
  format: null,
3691
4180
  modifiers: ["requiresQuotes"]
3692
4181
  },
@@ -4057,7 +4546,7 @@ function typescriptRules(props) {
4057
4546
  }
4058
4547
 
4059
4548
  // src/configs/ts/typescript.ts
4060
- async function typescript(options) {
4549
+ var typescript = async (options) => {
4061
4550
  const {
4062
4551
  componentExts = [],
4063
4552
  overrides = {},
@@ -4105,7 +4594,7 @@ async function typescript(options) {
4105
4594
  // only apply ts rules to ts files!
4106
4595
  files: [GLOB_TS, GLOB_TSX, ...componentExts.map((ext) => `**/*.${ext}`)],
4107
4596
  name: "jsse:typescript:rules",
4108
- rules: renameRules(tsrules, tsPrefix, tsPrefixTo)
4597
+ rules: renameRules(tsrules || {}, tsPrefix, tsPrefixTo)
4109
4598
  },
4110
4599
  {
4111
4600
  files: ["**/*.d.ts"],
@@ -4133,7 +4622,7 @@ async function typescript(options) {
4133
4622
  }
4134
4623
  }
4135
4624
  ];
4136
- }
4625
+ };
4137
4626
 
4138
4627
  // src/configs/unicorn.ts
4139
4628
  function unicornOff() {
@@ -4152,7 +4641,10 @@ function unicornOff() {
4152
4641
  // Super insanely annoying rule
4153
4642
  };
4154
4643
  }
4155
- function unicorn() {
4644
+ function unicornRecommended() {
4645
+ return import_eslint_plugin_unicorn.default.configs.recommended.rules;
4646
+ }
4647
+ var unicorn = async () => {
4156
4648
  return [
4157
4649
  {
4158
4650
  name: "jsse:unicorn",
@@ -4161,6 +4653,7 @@ function unicorn() {
4161
4653
  unicorn: import_eslint_plugin_unicorn.default
4162
4654
  },
4163
4655
  rules: {
4656
+ ...unicornRecommended(),
4164
4657
  ...unicornOff(),
4165
4658
  "unicorn/better-regex": "error",
4166
4659
  "unicorn/custom-error-definition": "error",
@@ -4233,23 +4726,11 @@ function unicorn() {
4233
4726
  }
4234
4727
  }
4235
4728
  ];
4236
- }
4237
-
4238
- // src/configs/perfectionist.ts
4239
- function perfectionist() {
4240
- return [
4241
- {
4242
- name: "jsse:perfectionist",
4243
- plugins: {
4244
- perfectionist: import_eslint_plugin_perfectionist.default
4245
- }
4246
- }
4247
- ];
4248
- }
4729
+ };
4249
4730
 
4250
4731
  // src/factory.ts
4251
4732
  var import_node_fs3 = __toESM(require("fs"), 1);
4252
- var import_eslint_config_flat_gitignore = __toESM(require("eslint-config-flat-gitignore"), 1);
4733
+ var import_node_process5 = __toESM(require("process"), 1);
4253
4734
 
4254
4735
  // node_modules/.pnpm/local-pkg@0.5.0/node_modules/local-pkg/dist/index.mjs
4255
4736
  var import_node_path2 = __toESM(require("path"), 1);
@@ -4503,8 +4984,8 @@ var Position = function Position2(line, col) {
4503
4984
  this.line = line;
4504
4985
  this.column = col;
4505
4986
  };
4506
- Position.prototype.offset = function offset(n) {
4507
- return new Position(this.line, this.column + n);
4987
+ Position.prototype.offset = function offset(n2) {
4988
+ return new Position(this.line, this.column + n2);
4508
4989
  };
4509
4990
  var SourceLocation = function SourceLocation2(p, start, end) {
4510
4991
  this.start = start;
@@ -4740,9 +5221,9 @@ var Parser = function Parser2(options, input, startPos) {
4740
5221
  };
4741
5222
  var prototypeAccessors = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, inClassStaticBlock: { configurable: true } };
4742
5223
  Parser.prototype.parse = function parse() {
4743
- var node2 = this.options.program || this.startNode();
5224
+ var node = this.options.program || this.startNode();
4744
5225
  this.nextToken();
4745
- return this.parseTopLevel(node2);
5226
+ return this.parseTopLevel(node);
4746
5227
  };
4747
5228
  prototypeAccessors.inFunction.get = function() {
4748
5229
  return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0;
@@ -4937,14 +5418,14 @@ pp$9.isSimpleAssignTarget = function(expr) {
4937
5418
  return expr.type === "Identifier" || expr.type === "MemberExpression";
4938
5419
  };
4939
5420
  var pp$8 = Parser.prototype;
4940
- pp$8.parseTopLevel = function(node2) {
5421
+ pp$8.parseTopLevel = function(node) {
4941
5422
  var exports2 = /* @__PURE__ */ Object.create(null);
4942
- if (!node2.body) {
4943
- node2.body = [];
5423
+ if (!node.body) {
5424
+ node.body = [];
4944
5425
  }
4945
5426
  while (this.type !== types$1.eof) {
4946
5427
  var stmt = this.parseStatement(null, true, exports2);
4947
- node2.body.push(stmt);
5428
+ node.body.push(stmt);
4948
5429
  }
4949
5430
  if (this.inModule) {
4950
5431
  for (var i = 0, list = Object.keys(this.undefinedExports); i < list.length; i += 1) {
@@ -4952,10 +5433,10 @@ pp$8.parseTopLevel = function(node2) {
4952
5433
  this.raiseRecoverable(this.undefinedExports[name].start, "Export '" + name + "' is not defined");
4953
5434
  }
4954
5435
  }
4955
- this.adaptDirectivePrologue(node2.body);
5436
+ this.adaptDirectivePrologue(node.body);
4956
5437
  this.next();
4957
- node2.sourceType = this.options.sourceType;
4958
- return this.finishNode(node2, "Program");
5438
+ node.sourceType = this.options.sourceType;
5439
+ return this.finishNode(node, "Program");
4959
5440
  };
4960
5441
  var loopLabel = { kind: "loop" };
4961
5442
  var switchLabel = { kind: "switch" };
@@ -5000,7 +5481,7 @@ pp$8.isAsyncFunction = function() {
5000
5481
  return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.input.charCodeAt(next + 8)) || after > 55295 && after < 56320));
5001
5482
  };
5002
5483
  pp$8.parseStatement = function(context, topLevel, exports2) {
5003
- var starttype = this.type, node2 = this.startNode(), kind;
5484
+ var starttype = this.type, node = this.startNode(), kind;
5004
5485
  if (this.isLet(context)) {
5005
5486
  starttype = types$1._var;
5006
5487
  kind = "let";
@@ -5008,48 +5489,48 @@ pp$8.parseStatement = function(context, topLevel, exports2) {
5008
5489
  switch (starttype) {
5009
5490
  case types$1._break:
5010
5491
  case types$1._continue:
5011
- return this.parseBreakContinueStatement(node2, starttype.keyword);
5492
+ return this.parseBreakContinueStatement(node, starttype.keyword);
5012
5493
  case types$1._debugger:
5013
- return this.parseDebuggerStatement(node2);
5494
+ return this.parseDebuggerStatement(node);
5014
5495
  case types$1._do:
5015
- return this.parseDoStatement(node2);
5496
+ return this.parseDoStatement(node);
5016
5497
  case types$1._for:
5017
- return this.parseForStatement(node2);
5498
+ return this.parseForStatement(node);
5018
5499
  case types$1._function:
5019
5500
  if (context && (this.strict || context !== "if" && context !== "label") && this.options.ecmaVersion >= 6) {
5020
5501
  this.unexpected();
5021
5502
  }
5022
- return this.parseFunctionStatement(node2, false, !context);
5503
+ return this.parseFunctionStatement(node, false, !context);
5023
5504
  case types$1._class:
5024
5505
  if (context) {
5025
5506
  this.unexpected();
5026
5507
  }
5027
- return this.parseClass(node2, true);
5508
+ return this.parseClass(node, true);
5028
5509
  case types$1._if:
5029
- return this.parseIfStatement(node2);
5510
+ return this.parseIfStatement(node);
5030
5511
  case types$1._return:
5031
- return this.parseReturnStatement(node2);
5512
+ return this.parseReturnStatement(node);
5032
5513
  case types$1._switch:
5033
- return this.parseSwitchStatement(node2);
5514
+ return this.parseSwitchStatement(node);
5034
5515
  case types$1._throw:
5035
- return this.parseThrowStatement(node2);
5516
+ return this.parseThrowStatement(node);
5036
5517
  case types$1._try:
5037
- return this.parseTryStatement(node2);
5518
+ return this.parseTryStatement(node);
5038
5519
  case types$1._const:
5039
5520
  case types$1._var:
5040
5521
  kind = kind || this.value;
5041
5522
  if (context && kind !== "var") {
5042
5523
  this.unexpected();
5043
5524
  }
5044
- return this.parseVarStatement(node2, kind);
5525
+ return this.parseVarStatement(node, kind);
5045
5526
  case types$1._while:
5046
- return this.parseWhileStatement(node2);
5527
+ return this.parseWhileStatement(node);
5047
5528
  case types$1._with:
5048
- return this.parseWithStatement(node2);
5529
+ return this.parseWithStatement(node);
5049
5530
  case types$1.braceL:
5050
- return this.parseBlock(true, node2);
5531
+ return this.parseBlock(true, node);
5051
5532
  case types$1.semi:
5052
- return this.parseEmptyStatement(node2);
5533
+ return this.parseEmptyStatement(node);
5053
5534
  case types$1._export:
5054
5535
  case types$1._import:
5055
5536
  if (this.options.ecmaVersion > 10 && starttype === types$1._import) {
@@ -5057,7 +5538,7 @@ pp$8.parseStatement = function(context, topLevel, exports2) {
5057
5538
  var skip = skipWhiteSpace.exec(this.input);
5058
5539
  var next = this.pos + skip[0].length, nextCh = this.input.charCodeAt(next);
5059
5540
  if (nextCh === 40 || nextCh === 46) {
5060
- return this.parseExpressionStatement(node2, this.parseExpression());
5541
+ return this.parseExpressionStatement(node, this.parseExpression());
5061
5542
  }
5062
5543
  }
5063
5544
  if (!this.options.allowImportExportEverywhere) {
@@ -5068,71 +5549,71 @@ pp$8.parseStatement = function(context, topLevel, exports2) {
5068
5549
  this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'");
5069
5550
  }
5070
5551
  }
5071
- return starttype === types$1._import ? this.parseImport(node2) : this.parseExport(node2, exports2);
5552
+ return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports2);
5072
5553
  default:
5073
5554
  if (this.isAsyncFunction()) {
5074
5555
  if (context) {
5075
5556
  this.unexpected();
5076
5557
  }
5077
5558
  this.next();
5078
- return this.parseFunctionStatement(node2, true, !context);
5559
+ return this.parseFunctionStatement(node, true, !context);
5079
5560
  }
5080
5561
  var maybeName = this.value, expr = this.parseExpression();
5081
5562
  if (starttype === types$1.name && expr.type === "Identifier" && this.eat(types$1.colon)) {
5082
- return this.parseLabeledStatement(node2, maybeName, expr, context);
5563
+ return this.parseLabeledStatement(node, maybeName, expr, context);
5083
5564
  } else {
5084
- return this.parseExpressionStatement(node2, expr);
5565
+ return this.parseExpressionStatement(node, expr);
5085
5566
  }
5086
5567
  }
5087
5568
  };
5088
- pp$8.parseBreakContinueStatement = function(node2, keyword) {
5569
+ pp$8.parseBreakContinueStatement = function(node, keyword) {
5089
5570
  var isBreak = keyword === "break";
5090
5571
  this.next();
5091
5572
  if (this.eat(types$1.semi) || this.insertSemicolon()) {
5092
- node2.label = null;
5573
+ node.label = null;
5093
5574
  } else if (this.type !== types$1.name) {
5094
5575
  this.unexpected();
5095
5576
  } else {
5096
- node2.label = this.parseIdent();
5577
+ node.label = this.parseIdent();
5097
5578
  this.semicolon();
5098
5579
  }
5099
5580
  var i = 0;
5100
5581
  for (; i < this.labels.length; ++i) {
5101
5582
  var lab = this.labels[i];
5102
- if (node2.label == null || lab.name === node2.label.name) {
5583
+ if (node.label == null || lab.name === node.label.name) {
5103
5584
  if (lab.kind != null && (isBreak || lab.kind === "loop")) {
5104
5585
  break;
5105
5586
  }
5106
- if (node2.label && isBreak) {
5587
+ if (node.label && isBreak) {
5107
5588
  break;
5108
5589
  }
5109
5590
  }
5110
5591
  }
5111
5592
  if (i === this.labels.length) {
5112
- this.raise(node2.start, "Unsyntactic " + keyword);
5593
+ this.raise(node.start, "Unsyntactic " + keyword);
5113
5594
  }
5114
- return this.finishNode(node2, isBreak ? "BreakStatement" : "ContinueStatement");
5595
+ return this.finishNode(node, isBreak ? "BreakStatement" : "ContinueStatement");
5115
5596
  };
5116
- pp$8.parseDebuggerStatement = function(node2) {
5597
+ pp$8.parseDebuggerStatement = function(node) {
5117
5598
  this.next();
5118
5599
  this.semicolon();
5119
- return this.finishNode(node2, "DebuggerStatement");
5600
+ return this.finishNode(node, "DebuggerStatement");
5120
5601
  };
5121
- pp$8.parseDoStatement = function(node2) {
5602
+ pp$8.parseDoStatement = function(node) {
5122
5603
  this.next();
5123
5604
  this.labels.push(loopLabel);
5124
- node2.body = this.parseStatement("do");
5605
+ node.body = this.parseStatement("do");
5125
5606
  this.labels.pop();
5126
5607
  this.expect(types$1._while);
5127
- node2.test = this.parseParenExpression();
5608
+ node.test = this.parseParenExpression();
5128
5609
  if (this.options.ecmaVersion >= 6) {
5129
5610
  this.eat(types$1.semi);
5130
5611
  } else {
5131
5612
  this.semicolon();
5132
5613
  }
5133
- return this.finishNode(node2, "DoWhileStatement");
5614
+ return this.finishNode(node, "DoWhileStatement");
5134
5615
  };
5135
- pp$8.parseForStatement = function(node2) {
5616
+ pp$8.parseForStatement = function(node) {
5136
5617
  this.next();
5137
5618
  var awaitAt = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
5138
5619
  this.labels.push(loopLabel);
@@ -5142,7 +5623,7 @@ pp$8.parseForStatement = function(node2) {
5142
5623
  if (awaitAt > -1) {
5143
5624
  this.unexpected(awaitAt);
5144
5625
  }
5145
- return this.parseFor(node2, null);
5626
+ return this.parseFor(node, null);
5146
5627
  }
5147
5628
  var isLet = this.isLet();
5148
5629
  if (this.type === types$1._var || this.type === types$1._const || isLet) {
@@ -5157,15 +5638,15 @@ pp$8.parseForStatement = function(node2) {
5157
5638
  this.unexpected(awaitAt);
5158
5639
  }
5159
5640
  } else {
5160
- node2.await = awaitAt > -1;
5641
+ node.await = awaitAt > -1;
5161
5642
  }
5162
5643
  }
5163
- return this.parseForIn(node2, init$1);
5644
+ return this.parseForIn(node, init$1);
5164
5645
  }
5165
5646
  if (awaitAt > -1) {
5166
5647
  this.unexpected(awaitAt);
5167
5648
  }
5168
- return this.parseFor(node2, init$1);
5649
+ return this.parseFor(node, init$1);
5169
5650
  }
5170
5651
  var startsWithLet = this.isContextual("let"), isForOf = false;
5171
5652
  var refDestructuringErrors = new DestructuringErrors();
@@ -5177,7 +5658,7 @@ pp$8.parseForStatement = function(node2) {
5177
5658
  this.unexpected(awaitAt);
5178
5659
  }
5179
5660
  } else {
5180
- node2.await = awaitAt > -1;
5661
+ node.await = awaitAt > -1;
5181
5662
  }
5182
5663
  }
5183
5664
  if (startsWithLet && isForOf) {
@@ -5185,43 +5666,43 @@ pp$8.parseForStatement = function(node2) {
5185
5666
  }
5186
5667
  this.toAssignable(init, false, refDestructuringErrors);
5187
5668
  this.checkLValPattern(init);
5188
- return this.parseForIn(node2, init);
5669
+ return this.parseForIn(node, init);
5189
5670
  } else {
5190
5671
  this.checkExpressionErrors(refDestructuringErrors, true);
5191
5672
  }
5192
5673
  if (awaitAt > -1) {
5193
5674
  this.unexpected(awaitAt);
5194
5675
  }
5195
- return this.parseFor(node2, init);
5676
+ return this.parseFor(node, init);
5196
5677
  };
5197
- pp$8.parseFunctionStatement = function(node2, isAsync, declarationPosition) {
5678
+ pp$8.parseFunctionStatement = function(node, isAsync, declarationPosition) {
5198
5679
  this.next();
5199
- return this.parseFunction(node2, FUNC_STATEMENT | (declarationPosition ? 0 : FUNC_HANGING_STATEMENT), false, isAsync);
5680
+ return this.parseFunction(node, FUNC_STATEMENT | (declarationPosition ? 0 : FUNC_HANGING_STATEMENT), false, isAsync);
5200
5681
  };
5201
- pp$8.parseIfStatement = function(node2) {
5682
+ pp$8.parseIfStatement = function(node) {
5202
5683
  this.next();
5203
- node2.test = this.parseParenExpression();
5204
- node2.consequent = this.parseStatement("if");
5205
- node2.alternate = this.eat(types$1._else) ? this.parseStatement("if") : null;
5206
- return this.finishNode(node2, "IfStatement");
5684
+ node.test = this.parseParenExpression();
5685
+ node.consequent = this.parseStatement("if");
5686
+ node.alternate = this.eat(types$1._else) ? this.parseStatement("if") : null;
5687
+ return this.finishNode(node, "IfStatement");
5207
5688
  };
5208
- pp$8.parseReturnStatement = function(node2) {
5689
+ pp$8.parseReturnStatement = function(node) {
5209
5690
  if (!this.inFunction && !this.options.allowReturnOutsideFunction) {
5210
5691
  this.raise(this.start, "'return' outside of function");
5211
5692
  }
5212
5693
  this.next();
5213
5694
  if (this.eat(types$1.semi) || this.insertSemicolon()) {
5214
- node2.argument = null;
5695
+ node.argument = null;
5215
5696
  } else {
5216
- node2.argument = this.parseExpression();
5697
+ node.argument = this.parseExpression();
5217
5698
  this.semicolon();
5218
5699
  }
5219
- return this.finishNode(node2, "ReturnStatement");
5700
+ return this.finishNode(node, "ReturnStatement");
5220
5701
  };
5221
- pp$8.parseSwitchStatement = function(node2) {
5702
+ pp$8.parseSwitchStatement = function(node) {
5222
5703
  this.next();
5223
- node2.discriminant = this.parseParenExpression();
5224
- node2.cases = [];
5704
+ node.discriminant = this.parseParenExpression();
5705
+ node.cases = [];
5225
5706
  this.expect(types$1.braceL);
5226
5707
  this.labels.push(switchLabel);
5227
5708
  this.enterScope(0);
@@ -5232,7 +5713,7 @@ pp$8.parseSwitchStatement = function(node2) {
5232
5713
  if (cur) {
5233
5714
  this.finishNode(cur, "SwitchCase");
5234
5715
  }
5235
- node2.cases.push(cur = this.startNode());
5716
+ node.cases.push(cur = this.startNode());
5236
5717
  cur.consequent = [];
5237
5718
  this.next();
5238
5719
  if (isCase) {
@@ -5258,16 +5739,16 @@ pp$8.parseSwitchStatement = function(node2) {
5258
5739
  }
5259
5740
  this.next();
5260
5741
  this.labels.pop();
5261
- return this.finishNode(node2, "SwitchStatement");
5742
+ return this.finishNode(node, "SwitchStatement");
5262
5743
  };
5263
- pp$8.parseThrowStatement = function(node2) {
5744
+ pp$8.parseThrowStatement = function(node) {
5264
5745
  this.next();
5265
5746
  if (lineBreak.test(this.input.slice(this.lastTokEnd, this.start))) {
5266
5747
  this.raise(this.lastTokEnd, "Illegal newline after throw");
5267
5748
  }
5268
- node2.argument = this.parseExpression();
5749
+ node.argument = this.parseExpression();
5269
5750
  this.semicolon();
5270
- return this.finishNode(node2, "ThrowStatement");
5751
+ return this.finishNode(node, "ThrowStatement");
5271
5752
  };
5272
5753
  var empty$1 = [];
5273
5754
  pp$8.parseCatchClauseParam = function() {
@@ -5278,10 +5759,10 @@ pp$8.parseCatchClauseParam = function() {
5278
5759
  this.expect(types$1.parenR);
5279
5760
  return param;
5280
5761
  };
5281
- pp$8.parseTryStatement = function(node2) {
5762
+ pp$8.parseTryStatement = function(node) {
5282
5763
  this.next();
5283
- node2.block = this.parseBlock();
5284
- node2.handler = null;
5764
+ node.block = this.parseBlock();
5765
+ node.handler = null;
5285
5766
  if (this.type === types$1._catch) {
5286
5767
  var clause = this.startNode();
5287
5768
  this.next();
@@ -5296,42 +5777,42 @@ pp$8.parseTryStatement = function(node2) {
5296
5777
  }
5297
5778
  clause.body = this.parseBlock(false);
5298
5779
  this.exitScope();
5299
- node2.handler = this.finishNode(clause, "CatchClause");
5780
+ node.handler = this.finishNode(clause, "CatchClause");
5300
5781
  }
5301
- node2.finalizer = this.eat(types$1._finally) ? this.parseBlock() : null;
5302
- if (!node2.handler && !node2.finalizer) {
5303
- this.raise(node2.start, "Missing catch or finally clause");
5782
+ node.finalizer = this.eat(types$1._finally) ? this.parseBlock() : null;
5783
+ if (!node.handler && !node.finalizer) {
5784
+ this.raise(node.start, "Missing catch or finally clause");
5304
5785
  }
5305
- return this.finishNode(node2, "TryStatement");
5786
+ return this.finishNode(node, "TryStatement");
5306
5787
  };
5307
- pp$8.parseVarStatement = function(node2, kind, allowMissingInitializer) {
5788
+ pp$8.parseVarStatement = function(node, kind, allowMissingInitializer) {
5308
5789
  this.next();
5309
- this.parseVar(node2, false, kind, allowMissingInitializer);
5790
+ this.parseVar(node, false, kind, allowMissingInitializer);
5310
5791
  this.semicolon();
5311
- return this.finishNode(node2, "VariableDeclaration");
5792
+ return this.finishNode(node, "VariableDeclaration");
5312
5793
  };
5313
- pp$8.parseWhileStatement = function(node2) {
5794
+ pp$8.parseWhileStatement = function(node) {
5314
5795
  this.next();
5315
- node2.test = this.parseParenExpression();
5796
+ node.test = this.parseParenExpression();
5316
5797
  this.labels.push(loopLabel);
5317
- node2.body = this.parseStatement("while");
5798
+ node.body = this.parseStatement("while");
5318
5799
  this.labels.pop();
5319
- return this.finishNode(node2, "WhileStatement");
5800
+ return this.finishNode(node, "WhileStatement");
5320
5801
  };
5321
- pp$8.parseWithStatement = function(node2) {
5802
+ pp$8.parseWithStatement = function(node) {
5322
5803
  if (this.strict) {
5323
5804
  this.raise(this.start, "'with' in strict mode");
5324
5805
  }
5325
5806
  this.next();
5326
- node2.object = this.parseParenExpression();
5327
- node2.body = this.parseStatement("with");
5328
- return this.finishNode(node2, "WithStatement");
5807
+ node.object = this.parseParenExpression();
5808
+ node.body = this.parseStatement("with");
5809
+ return this.finishNode(node, "WithStatement");
5329
5810
  };
5330
- pp$8.parseEmptyStatement = function(node2) {
5811
+ pp$8.parseEmptyStatement = function(node) {
5331
5812
  this.next();
5332
- return this.finishNode(node2, "EmptyStatement");
5813
+ return this.finishNode(node, "EmptyStatement");
5333
5814
  };
5334
- pp$8.parseLabeledStatement = function(node2, maybeName, expr, context) {
5815
+ pp$8.parseLabeledStatement = function(node, maybeName, expr, context) {
5335
5816
  for (var i$1 = 0, list = this.labels; i$1 < list.length; i$1 += 1) {
5336
5817
  var label = list[i$1];
5337
5818
  if (label.name === maybeName) {
@@ -5341,7 +5822,7 @@ pp$8.parseLabeledStatement = function(node2, maybeName, expr, context) {
5341
5822
  var kind = this.type.isLoop ? "loop" : this.type === types$1._switch ? "switch" : null;
5342
5823
  for (var i = this.labels.length - 1; i >= 0; i--) {
5343
5824
  var label$1 = this.labels[i];
5344
- if (label$1.statementStart === node2.start) {
5825
+ if (label$1.statementStart === node.start) {
5345
5826
  label$1.statementStart = this.start;
5346
5827
  label$1.kind = kind;
5347
5828
  } else {
@@ -5349,29 +5830,29 @@ pp$8.parseLabeledStatement = function(node2, maybeName, expr, context) {
5349
5830
  }
5350
5831
  }
5351
5832
  this.labels.push({ name: maybeName, kind, statementStart: this.start });
5352
- node2.body = this.parseStatement(context ? context.indexOf("label") === -1 ? context + "label" : context : "label");
5833
+ node.body = this.parseStatement(context ? context.indexOf("label") === -1 ? context + "label" : context : "label");
5353
5834
  this.labels.pop();
5354
- node2.label = expr;
5355
- return this.finishNode(node2, "LabeledStatement");
5835
+ node.label = expr;
5836
+ return this.finishNode(node, "LabeledStatement");
5356
5837
  };
5357
- pp$8.parseExpressionStatement = function(node2, expr) {
5358
- node2.expression = expr;
5838
+ pp$8.parseExpressionStatement = function(node, expr) {
5839
+ node.expression = expr;
5359
5840
  this.semicolon();
5360
- return this.finishNode(node2, "ExpressionStatement");
5841
+ return this.finishNode(node, "ExpressionStatement");
5361
5842
  };
5362
- pp$8.parseBlock = function(createNewLexicalScope, node2, exitStrict) {
5843
+ pp$8.parseBlock = function(createNewLexicalScope, node, exitStrict) {
5363
5844
  if (createNewLexicalScope === void 0)
5364
5845
  createNewLexicalScope = true;
5365
- if (node2 === void 0)
5366
- node2 = this.startNode();
5367
- node2.body = [];
5846
+ if (node === void 0)
5847
+ node = this.startNode();
5848
+ node.body = [];
5368
5849
  this.expect(types$1.braceL);
5369
5850
  if (createNewLexicalScope) {
5370
5851
  this.enterScope(0);
5371
5852
  }
5372
5853
  while (this.type !== types$1.braceR) {
5373
5854
  var stmt = this.parseStatement(null);
5374
- node2.body.push(stmt);
5855
+ node.body.push(stmt);
5375
5856
  }
5376
5857
  if (exitStrict) {
5377
5858
  this.strict = false;
@@ -5380,21 +5861,21 @@ pp$8.parseBlock = function(createNewLexicalScope, node2, exitStrict) {
5380
5861
  if (createNewLexicalScope) {
5381
5862
  this.exitScope();
5382
5863
  }
5383
- return this.finishNode(node2, "BlockStatement");
5864
+ return this.finishNode(node, "BlockStatement");
5384
5865
  };
5385
- pp$8.parseFor = function(node2, init) {
5386
- node2.init = init;
5866
+ pp$8.parseFor = function(node, init) {
5867
+ node.init = init;
5387
5868
  this.expect(types$1.semi);
5388
- node2.test = this.type === types$1.semi ? null : this.parseExpression();
5869
+ node.test = this.type === types$1.semi ? null : this.parseExpression();
5389
5870
  this.expect(types$1.semi);
5390
- node2.update = this.type === types$1.parenR ? null : this.parseExpression();
5871
+ node.update = this.type === types$1.parenR ? null : this.parseExpression();
5391
5872
  this.expect(types$1.parenR);
5392
- node2.body = this.parseStatement("for");
5873
+ node.body = this.parseStatement("for");
5393
5874
  this.exitScope();
5394
5875
  this.labels.pop();
5395
- return this.finishNode(node2, "ForStatement");
5876
+ return this.finishNode(node, "ForStatement");
5396
5877
  };
5397
- pp$8.parseForIn = function(node2, init) {
5878
+ pp$8.parseForIn = function(node, init) {
5398
5879
  var isForIn = this.type === types$1._in;
5399
5880
  this.next();
5400
5881
  if (init.type === "VariableDeclaration" && init.declarations[0].init != null && (!isForIn || this.options.ecmaVersion < 8 || this.strict || init.kind !== "var" || init.declarations[0].id.type !== "Identifier")) {
@@ -5403,17 +5884,17 @@ pp$8.parseForIn = function(node2, init) {
5403
5884
  (isForIn ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"
5404
5885
  );
5405
5886
  }
5406
- node2.left = init;
5407
- node2.right = isForIn ? this.parseExpression() : this.parseMaybeAssign();
5887
+ node.left = init;
5888
+ node.right = isForIn ? this.parseExpression() : this.parseMaybeAssign();
5408
5889
  this.expect(types$1.parenR);
5409
- node2.body = this.parseStatement("for");
5890
+ node.body = this.parseStatement("for");
5410
5891
  this.exitScope();
5411
5892
  this.labels.pop();
5412
- return this.finishNode(node2, isForIn ? "ForInStatement" : "ForOfStatement");
5893
+ return this.finishNode(node, isForIn ? "ForInStatement" : "ForOfStatement");
5413
5894
  };
5414
- pp$8.parseVar = function(node2, isFor, kind, allowMissingInitializer) {
5415
- node2.declarations = [];
5416
- node2.kind = kind;
5895
+ pp$8.parseVar = function(node, isFor, kind, allowMissingInitializer) {
5896
+ node.declarations = [];
5897
+ node.kind = kind;
5417
5898
  for (; ; ) {
5418
5899
  var decl = this.startNode();
5419
5900
  this.parseVarId(decl, kind);
@@ -5426,12 +5907,12 @@ pp$8.parseVar = function(node2, isFor, kind, allowMissingInitializer) {
5426
5907
  } else {
5427
5908
  decl.init = null;
5428
5909
  }
5429
- node2.declarations.push(this.finishNode(decl, "VariableDeclarator"));
5910
+ node.declarations.push(this.finishNode(decl, "VariableDeclarator"));
5430
5911
  if (!this.eat(types$1.comma)) {
5431
5912
  break;
5432
5913
  }
5433
5914
  }
5434
- return node2;
5915
+ return node;
5435
5916
  };
5436
5917
  pp$8.parseVarId = function(decl, kind) {
5437
5918
  decl.id = this.parseBindingAtom();
@@ -5440,56 +5921,56 @@ pp$8.parseVarId = function(decl, kind) {
5440
5921
  var FUNC_STATEMENT = 1;
5441
5922
  var FUNC_HANGING_STATEMENT = 2;
5442
5923
  var FUNC_NULLABLE_ID = 4;
5443
- pp$8.parseFunction = function(node2, statement, allowExpressionBody, isAsync, forInit) {
5444
- this.initFunction(node2);
5924
+ pp$8.parseFunction = function(node, statement, allowExpressionBody, isAsync, forInit) {
5925
+ this.initFunction(node);
5445
5926
  if (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !isAsync) {
5446
5927
  if (this.type === types$1.star && statement & FUNC_HANGING_STATEMENT) {
5447
5928
  this.unexpected();
5448
5929
  }
5449
- node2.generator = this.eat(types$1.star);
5930
+ node.generator = this.eat(types$1.star);
5450
5931
  }
5451
5932
  if (this.options.ecmaVersion >= 8) {
5452
- node2.async = !!isAsync;
5933
+ node.async = !!isAsync;
5453
5934
  }
5454
5935
  if (statement & FUNC_STATEMENT) {
5455
- node2.id = statement & FUNC_NULLABLE_ID && this.type !== types$1.name ? null : this.parseIdent();
5456
- if (node2.id && !(statement & FUNC_HANGING_STATEMENT)) {
5457
- this.checkLValSimple(node2.id, this.strict || node2.generator || node2.async ? this.treatFunctionsAsVar ? BIND_VAR : BIND_LEXICAL : BIND_FUNCTION);
5936
+ node.id = statement & FUNC_NULLABLE_ID && this.type !== types$1.name ? null : this.parseIdent();
5937
+ if (node.id && !(statement & FUNC_HANGING_STATEMENT)) {
5938
+ this.checkLValSimple(node.id, this.strict || node.generator || node.async ? this.treatFunctionsAsVar ? BIND_VAR : BIND_LEXICAL : BIND_FUNCTION);
5458
5939
  }
5459
5940
  }
5460
5941
  var oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos;
5461
5942
  this.yieldPos = 0;
5462
5943
  this.awaitPos = 0;
5463
5944
  this.awaitIdentPos = 0;
5464
- this.enterScope(functionFlags(node2.async, node2.generator));
5945
+ this.enterScope(functionFlags(node.async, node.generator));
5465
5946
  if (!(statement & FUNC_STATEMENT)) {
5466
- node2.id = this.type === types$1.name ? this.parseIdent() : null;
5947
+ node.id = this.type === types$1.name ? this.parseIdent() : null;
5467
5948
  }
5468
- this.parseFunctionParams(node2);
5469
- this.parseFunctionBody(node2, allowExpressionBody, false, forInit);
5949
+ this.parseFunctionParams(node);
5950
+ this.parseFunctionBody(node, allowExpressionBody, false, forInit);
5470
5951
  this.yieldPos = oldYieldPos;
5471
5952
  this.awaitPos = oldAwaitPos;
5472
5953
  this.awaitIdentPos = oldAwaitIdentPos;
5473
- return this.finishNode(node2, statement & FUNC_STATEMENT ? "FunctionDeclaration" : "FunctionExpression");
5954
+ return this.finishNode(node, statement & FUNC_STATEMENT ? "FunctionDeclaration" : "FunctionExpression");
5474
5955
  };
5475
- pp$8.parseFunctionParams = function(node2) {
5956
+ pp$8.parseFunctionParams = function(node) {
5476
5957
  this.expect(types$1.parenL);
5477
- node2.params = this.parseBindingList(types$1.parenR, false, this.options.ecmaVersion >= 8);
5958
+ node.params = this.parseBindingList(types$1.parenR, false, this.options.ecmaVersion >= 8);
5478
5959
  this.checkYieldAwaitInDefaultParams();
5479
5960
  };
5480
- pp$8.parseClass = function(node2, isStatement) {
5961
+ pp$8.parseClass = function(node, isStatement) {
5481
5962
  this.next();
5482
5963
  var oldStrict = this.strict;
5483
5964
  this.strict = true;
5484
- this.parseClassId(node2, isStatement);
5485
- this.parseClassSuper(node2);
5965
+ this.parseClassId(node, isStatement);
5966
+ this.parseClassSuper(node);
5486
5967
  var privateNameMap = this.enterClassBody();
5487
5968
  var classBody = this.startNode();
5488
5969
  var hadConstructor = false;
5489
5970
  classBody.body = [];
5490
5971
  this.expect(types$1.braceL);
5491
5972
  while (this.type !== types$1.braceR) {
5492
- var element = this.parseClassElement(node2.superClass !== null);
5973
+ var element = this.parseClassElement(node.superClass !== null);
5493
5974
  if (element) {
5494
5975
  classBody.body.push(element);
5495
5976
  if (element.type === "MethodDefinition" && element.kind === "constructor") {
@@ -5504,16 +5985,16 @@ pp$8.parseClass = function(node2, isStatement) {
5504
5985
  }
5505
5986
  this.strict = oldStrict;
5506
5987
  this.next();
5507
- node2.body = this.finishNode(classBody, "ClassBody");
5988
+ node.body = this.finishNode(classBody, "ClassBody");
5508
5989
  this.exitClassBody();
5509
- return this.finishNode(node2, isStatement ? "ClassDeclaration" : "ClassExpression");
5990
+ return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression");
5510
5991
  };
5511
5992
  pp$8.parseClassElement = function(constructorAllowsSuper) {
5512
5993
  if (this.eat(types$1.semi)) {
5513
5994
  return null;
5514
5995
  }
5515
5996
  var ecmaVersion = this.options.ecmaVersion;
5516
- var node2 = this.startNode();
5997
+ var node = this.startNode();
5517
5998
  var keyName = "";
5518
5999
  var isGenerator = false;
5519
6000
  var isAsync = false;
@@ -5521,8 +6002,8 @@ pp$8.parseClassElement = function(constructorAllowsSuper) {
5521
6002
  var isStatic = false;
5522
6003
  if (this.eatContextual("static")) {
5523
6004
  if (ecmaVersion >= 13 && this.eat(types$1.braceL)) {
5524
- this.parseClassStaticBlock(node2);
5525
- return node2;
6005
+ this.parseClassStaticBlock(node);
6006
+ return node;
5526
6007
  }
5527
6008
  if (this.isClassElementNameStart() || this.type === types$1.star) {
5528
6009
  isStatic = true;
@@ -5530,7 +6011,7 @@ pp$8.parseClassElement = function(constructorAllowsSuper) {
5530
6011
  keyName = "static";
5531
6012
  }
5532
6013
  }
5533
- node2.static = isStatic;
6014
+ node.static = isStatic;
5534
6015
  if (!keyName && ecmaVersion >= 8 && this.eatContextual("async")) {
5535
6016
  if ((this.isClassElementNameStart() || this.type === types$1.star) && !this.canInsertSemicolon()) {
5536
6017
  isAsync = true;
@@ -5552,25 +6033,25 @@ pp$8.parseClassElement = function(constructorAllowsSuper) {
5552
6033
  }
5553
6034
  }
5554
6035
  if (keyName) {
5555
- node2.computed = false;
5556
- node2.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc);
5557
- node2.key.name = keyName;
5558
- this.finishNode(node2.key, "Identifier");
6036
+ node.computed = false;
6037
+ node.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc);
6038
+ node.key.name = keyName;
6039
+ this.finishNode(node.key, "Identifier");
5559
6040
  } else {
5560
- this.parseClassElementName(node2);
6041
+ this.parseClassElementName(node);
5561
6042
  }
5562
6043
  if (ecmaVersion < 13 || this.type === types$1.parenL || kind !== "method" || isGenerator || isAsync) {
5563
- var isConstructor = !node2.static && checkKeyName(node2, "constructor");
6044
+ var isConstructor = !node.static && checkKeyName(node, "constructor");
5564
6045
  var allowsDirectSuper = isConstructor && constructorAllowsSuper;
5565
6046
  if (isConstructor && kind !== "method") {
5566
- this.raise(node2.key.start, "Constructor can't have get/set modifier");
6047
+ this.raise(node.key.start, "Constructor can't have get/set modifier");
5567
6048
  }
5568
- node2.kind = isConstructor ? "constructor" : kind;
5569
- this.parseClassMethod(node2, isGenerator, isAsync, allowsDirectSuper);
6049
+ node.kind = isConstructor ? "constructor" : kind;
6050
+ this.parseClassMethod(node, isGenerator, isAsync, allowsDirectSuper);
5570
6051
  } else {
5571
- this.parseClassField(node2);
6052
+ this.parseClassField(node);
5572
6053
  }
5573
- return node2;
6054
+ return node;
5574
6055
  };
5575
6056
  pp$8.isClassElementNameStart = function() {
5576
6057
  return this.type === types$1.name || this.type === types$1.privateId || this.type === types$1.num || this.type === types$1.string || this.type === types$1.bracketL || this.type.keyword;
@@ -5628,35 +6109,35 @@ pp$8.parseClassField = function(field) {
5628
6109
  this.semicolon();
5629
6110
  return this.finishNode(field, "PropertyDefinition");
5630
6111
  };
5631
- pp$8.parseClassStaticBlock = function(node2) {
5632
- node2.body = [];
6112
+ pp$8.parseClassStaticBlock = function(node) {
6113
+ node.body = [];
5633
6114
  var oldLabels = this.labels;
5634
6115
  this.labels = [];
5635
6116
  this.enterScope(SCOPE_CLASS_STATIC_BLOCK | SCOPE_SUPER);
5636
6117
  while (this.type !== types$1.braceR) {
5637
6118
  var stmt = this.parseStatement(null);
5638
- node2.body.push(stmt);
6119
+ node.body.push(stmt);
5639
6120
  }
5640
6121
  this.next();
5641
6122
  this.exitScope();
5642
6123
  this.labels = oldLabels;
5643
- return this.finishNode(node2, "StaticBlock");
6124
+ return this.finishNode(node, "StaticBlock");
5644
6125
  };
5645
- pp$8.parseClassId = function(node2, isStatement) {
6126
+ pp$8.parseClassId = function(node, isStatement) {
5646
6127
  if (this.type === types$1.name) {
5647
- node2.id = this.parseIdent();
6128
+ node.id = this.parseIdent();
5648
6129
  if (isStatement) {
5649
- this.checkLValSimple(node2.id, BIND_LEXICAL, false);
6130
+ this.checkLValSimple(node.id, BIND_LEXICAL, false);
5650
6131
  }
5651
6132
  } else {
5652
6133
  if (isStatement === true) {
5653
6134
  this.unexpected();
5654
6135
  }
5655
- node2.id = null;
6136
+ node.id = null;
5656
6137
  }
5657
6138
  };
5658
- pp$8.parseClassSuper = function(node2) {
5659
- node2.superClass = this.eat(types$1._extends) ? this.parseExprSubscripts(null, false) : null;
6139
+ pp$8.parseClassSuper = function(node) {
6140
+ node.superClass = this.eat(types$1._extends) ? this.parseExprSubscripts(null, false) : null;
5660
6141
  };
5661
6142
  pp$8.enterClassBody = function() {
5662
6143
  var element = { declared: /* @__PURE__ */ Object.create(null), used: [] };
@@ -5700,57 +6181,57 @@ function isPrivateNameConflicted(privateNameMap, element) {
5700
6181
  return true;
5701
6182
  }
5702
6183
  }
5703
- function checkKeyName(node2, name) {
5704
- var computed = node2.computed;
5705
- var key = node2.key;
6184
+ function checkKeyName(node, name) {
6185
+ var computed = node.computed;
6186
+ var key = node.key;
5706
6187
  return !computed && (key.type === "Identifier" && key.name === name || key.type === "Literal" && key.value === name);
5707
6188
  }
5708
- pp$8.parseExportAllDeclaration = function(node2, exports2) {
6189
+ pp$8.parseExportAllDeclaration = function(node, exports2) {
5709
6190
  if (this.options.ecmaVersion >= 11) {
5710
6191
  if (this.eatContextual("as")) {
5711
- node2.exported = this.parseModuleExportName();
5712
- this.checkExport(exports2, node2.exported, this.lastTokStart);
6192
+ node.exported = this.parseModuleExportName();
6193
+ this.checkExport(exports2, node.exported, this.lastTokStart);
5713
6194
  } else {
5714
- node2.exported = null;
6195
+ node.exported = null;
5715
6196
  }
5716
6197
  }
5717
6198
  this.expectContextual("from");
5718
6199
  if (this.type !== types$1.string) {
5719
6200
  this.unexpected();
5720
6201
  }
5721
- node2.source = this.parseExprAtom();
6202
+ node.source = this.parseExprAtom();
5722
6203
  this.semicolon();
5723
- return this.finishNode(node2, "ExportAllDeclaration");
6204
+ return this.finishNode(node, "ExportAllDeclaration");
5724
6205
  };
5725
- pp$8.parseExport = function(node2, exports2) {
6206
+ pp$8.parseExport = function(node, exports2) {
5726
6207
  this.next();
5727
6208
  if (this.eat(types$1.star)) {
5728
- return this.parseExportAllDeclaration(node2, exports2);
6209
+ return this.parseExportAllDeclaration(node, exports2);
5729
6210
  }
5730
6211
  if (this.eat(types$1._default)) {
5731
6212
  this.checkExport(exports2, "default", this.lastTokStart);
5732
- node2.declaration = this.parseExportDefaultDeclaration();
5733
- return this.finishNode(node2, "ExportDefaultDeclaration");
6213
+ node.declaration = this.parseExportDefaultDeclaration();
6214
+ return this.finishNode(node, "ExportDefaultDeclaration");
5734
6215
  }
5735
6216
  if (this.shouldParseExportStatement()) {
5736
- node2.declaration = this.parseExportDeclaration(node2);
5737
- if (node2.declaration.type === "VariableDeclaration") {
5738
- this.checkVariableExport(exports2, node2.declaration.declarations);
6217
+ node.declaration = this.parseExportDeclaration(node);
6218
+ if (node.declaration.type === "VariableDeclaration") {
6219
+ this.checkVariableExport(exports2, node.declaration.declarations);
5739
6220
  } else {
5740
- this.checkExport(exports2, node2.declaration.id, node2.declaration.id.start);
6221
+ this.checkExport(exports2, node.declaration.id, node.declaration.id.start);
5741
6222
  }
5742
- node2.specifiers = [];
5743
- node2.source = null;
6223
+ node.specifiers = [];
6224
+ node.source = null;
5744
6225
  } else {
5745
- node2.declaration = null;
5746
- node2.specifiers = this.parseExportSpecifiers(exports2);
6226
+ node.declaration = null;
6227
+ node.specifiers = this.parseExportSpecifiers(exports2);
5747
6228
  if (this.eatContextual("from")) {
5748
6229
  if (this.type !== types$1.string) {
5749
6230
  this.unexpected();
5750
6231
  }
5751
- node2.source = this.parseExprAtom();
6232
+ node.source = this.parseExprAtom();
5752
6233
  } else {
5753
- for (var i = 0, list = node2.specifiers; i < list.length; i += 1) {
6234
+ for (var i = 0, list = node.specifiers; i < list.length; i += 1) {
5754
6235
  var spec = list[i];
5755
6236
  this.checkUnreserved(spec.local);
5756
6237
  this.checkLocalExport(spec.local);
@@ -5758,13 +6239,13 @@ pp$8.parseExport = function(node2, exports2) {
5758
6239
  this.raise(spec.local.start, "A string literal cannot be used as an exported binding without `from`.");
5759
6240
  }
5760
6241
  }
5761
- node2.source = null;
6242
+ node.source = null;
5762
6243
  }
5763
6244
  this.semicolon();
5764
6245
  }
5765
- return this.finishNode(node2, "ExportNamedDeclaration");
6246
+ return this.finishNode(node, "ExportNamedDeclaration");
5766
6247
  };
5767
- pp$8.parseExportDeclaration = function(node2) {
6248
+ pp$8.parseExportDeclaration = function(node) {
5768
6249
  return this.parseStatement(null);
5769
6250
  };
5770
6251
  pp$8.parseExportDefaultDeclaration = function() {
@@ -5834,15 +6315,15 @@ pp$8.shouldParseExportStatement = function() {
5834
6315
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
5835
6316
  };
5836
6317
  pp$8.parseExportSpecifier = function(exports2) {
5837
- var node2 = this.startNode();
5838
- node2.local = this.parseModuleExportName();
5839
- node2.exported = this.eatContextual("as") ? this.parseModuleExportName() : node2.local;
6318
+ var node = this.startNode();
6319
+ node.local = this.parseModuleExportName();
6320
+ node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local;
5840
6321
  this.checkExport(
5841
6322
  exports2,
5842
- node2.exported,
5843
- node2.exported.start
6323
+ node.exported,
6324
+ node.exported.start
5844
6325
  );
5845
- return this.finishNode(node2, "ExportSpecifier");
6326
+ return this.finishNode(node, "ExportSpecifier");
5846
6327
  };
5847
6328
  pp$8.parseExportSpecifiers = function(exports2) {
5848
6329
  var nodes = [], first = true;
@@ -5860,44 +6341,44 @@ pp$8.parseExportSpecifiers = function(exports2) {
5860
6341
  }
5861
6342
  return nodes;
5862
6343
  };
5863
- pp$8.parseImport = function(node2) {
6344
+ pp$8.parseImport = function(node) {
5864
6345
  this.next();
5865
6346
  if (this.type === types$1.string) {
5866
- node2.specifiers = empty$1;
5867
- node2.source = this.parseExprAtom();
6347
+ node.specifiers = empty$1;
6348
+ node.source = this.parseExprAtom();
5868
6349
  } else {
5869
- node2.specifiers = this.parseImportSpecifiers();
6350
+ node.specifiers = this.parseImportSpecifiers();
5870
6351
  this.expectContextual("from");
5871
- node2.source = this.type === types$1.string ? this.parseExprAtom() : this.unexpected();
6352
+ node.source = this.type === types$1.string ? this.parseExprAtom() : this.unexpected();
5872
6353
  }
5873
6354
  this.semicolon();
5874
- return this.finishNode(node2, "ImportDeclaration");
6355
+ return this.finishNode(node, "ImportDeclaration");
5875
6356
  };
5876
6357
  pp$8.parseImportSpecifier = function() {
5877
- var node2 = this.startNode();
5878
- node2.imported = this.parseModuleExportName();
6358
+ var node = this.startNode();
6359
+ node.imported = this.parseModuleExportName();
5879
6360
  if (this.eatContextual("as")) {
5880
- node2.local = this.parseIdent();
6361
+ node.local = this.parseIdent();
5881
6362
  } else {
5882
- this.checkUnreserved(node2.imported);
5883
- node2.local = node2.imported;
6363
+ this.checkUnreserved(node.imported);
6364
+ node.local = node.imported;
5884
6365
  }
5885
- this.checkLValSimple(node2.local, BIND_LEXICAL);
5886
- return this.finishNode(node2, "ImportSpecifier");
6366
+ this.checkLValSimple(node.local, BIND_LEXICAL);
6367
+ return this.finishNode(node, "ImportSpecifier");
5887
6368
  };
5888
6369
  pp$8.parseImportDefaultSpecifier = function() {
5889
- var node2 = this.startNode();
5890
- node2.local = this.parseIdent();
5891
- this.checkLValSimple(node2.local, BIND_LEXICAL);
5892
- return this.finishNode(node2, "ImportDefaultSpecifier");
6370
+ var node = this.startNode();
6371
+ node.local = this.parseIdent();
6372
+ this.checkLValSimple(node.local, BIND_LEXICAL);
6373
+ return this.finishNode(node, "ImportDefaultSpecifier");
5893
6374
  };
5894
6375
  pp$8.parseImportNamespaceSpecifier = function() {
5895
- var node2 = this.startNode();
6376
+ var node = this.startNode();
5896
6377
  this.next();
5897
6378
  this.expectContextual("as");
5898
- node2.local = this.parseIdent();
5899
- this.checkLValSimple(node2.local, BIND_LEXICAL);
5900
- return this.finishNode(node2, "ImportNamespaceSpecifier");
6379
+ node.local = this.parseIdent();
6380
+ this.checkLValSimple(node.local, BIND_LEXICAL);
6381
+ return this.finishNode(node, "ImportNamespaceSpecifier");
5901
6382
  };
5902
6383
  pp$8.parseImportSpecifiers = function() {
5903
6384
  var nodes = [], first = true;
@@ -5945,12 +6426,12 @@ pp$8.isDirectiveCandidate = function(statement) {
5945
6426
  (this.input[statement.start] === '"' || this.input[statement.start] === "'");
5946
6427
  };
5947
6428
  var pp$7 = Parser.prototype;
5948
- pp$7.toAssignable = function(node2, isBinding, refDestructuringErrors) {
5949
- if (this.options.ecmaVersion >= 6 && node2) {
5950
- switch (node2.type) {
6429
+ pp$7.toAssignable = function(node, isBinding, refDestructuringErrors) {
6430
+ if (this.options.ecmaVersion >= 6 && node) {
6431
+ switch (node.type) {
5951
6432
  case "Identifier":
5952
- if (this.inAsync && node2.name === "await") {
5953
- this.raise(node2.start, "Cannot use 'await' as identifier inside an async function");
6433
+ if (this.inAsync && node.name === "await") {
6434
+ this.raise(node.start, "Cannot use 'await' as identifier inside an async function");
5954
6435
  }
5955
6436
  break;
5956
6437
  case "ObjectPattern":
@@ -5959,11 +6440,11 @@ pp$7.toAssignable = function(node2, isBinding, refDestructuringErrors) {
5959
6440
  case "RestElement":
5960
6441
  break;
5961
6442
  case "ObjectExpression":
5962
- node2.type = "ObjectPattern";
6443
+ node.type = "ObjectPattern";
5963
6444
  if (refDestructuringErrors) {
5964
6445
  this.checkPatternErrors(refDestructuringErrors, true);
5965
6446
  }
5966
- for (var i = 0, list = node2.properties; i < list.length; i += 1) {
6447
+ for (var i = 0, list = node.properties; i < list.length; i += 1) {
5967
6448
  var prop = list[i];
5968
6449
  this.toAssignable(prop, isBinding);
5969
6450
  if (prop.type === "RestElement" && (prop.argument.type === "ArrayPattern" || prop.argument.type === "ObjectPattern")) {
@@ -5972,50 +6453,50 @@ pp$7.toAssignable = function(node2, isBinding, refDestructuringErrors) {
5972
6453
  }
5973
6454
  break;
5974
6455
  case "Property":
5975
- if (node2.kind !== "init") {
5976
- this.raise(node2.key.start, "Object pattern can't contain getter or setter");
6456
+ if (node.kind !== "init") {
6457
+ this.raise(node.key.start, "Object pattern can't contain getter or setter");
5977
6458
  }
5978
- this.toAssignable(node2.value, isBinding);
6459
+ this.toAssignable(node.value, isBinding);
5979
6460
  break;
5980
6461
  case "ArrayExpression":
5981
- node2.type = "ArrayPattern";
6462
+ node.type = "ArrayPattern";
5982
6463
  if (refDestructuringErrors) {
5983
6464
  this.checkPatternErrors(refDestructuringErrors, true);
5984
6465
  }
5985
- this.toAssignableList(node2.elements, isBinding);
6466
+ this.toAssignableList(node.elements, isBinding);
5986
6467
  break;
5987
6468
  case "SpreadElement":
5988
- node2.type = "RestElement";
5989
- this.toAssignable(node2.argument, isBinding);
5990
- if (node2.argument.type === "AssignmentPattern") {
5991
- this.raise(node2.argument.start, "Rest elements cannot have a default value");
6469
+ node.type = "RestElement";
6470
+ this.toAssignable(node.argument, isBinding);
6471
+ if (node.argument.type === "AssignmentPattern") {
6472
+ this.raise(node.argument.start, "Rest elements cannot have a default value");
5992
6473
  }
5993
6474
  break;
5994
6475
  case "AssignmentExpression":
5995
- if (node2.operator !== "=") {
5996
- this.raise(node2.left.end, "Only '=' operator can be used for specifying default value.");
6476
+ if (node.operator !== "=") {
6477
+ this.raise(node.left.end, "Only '=' operator can be used for specifying default value.");
5997
6478
  }
5998
- node2.type = "AssignmentPattern";
5999
- delete node2.operator;
6000
- this.toAssignable(node2.left, isBinding);
6479
+ node.type = "AssignmentPattern";
6480
+ delete node.operator;
6481
+ this.toAssignable(node.left, isBinding);
6001
6482
  break;
6002
6483
  case "ParenthesizedExpression":
6003
- this.toAssignable(node2.expression, isBinding, refDestructuringErrors);
6484
+ this.toAssignable(node.expression, isBinding, refDestructuringErrors);
6004
6485
  break;
6005
6486
  case "ChainExpression":
6006
- this.raiseRecoverable(node2.start, "Optional chaining cannot appear in left-hand side");
6487
+ this.raiseRecoverable(node.start, "Optional chaining cannot appear in left-hand side");
6007
6488
  break;
6008
6489
  case "MemberExpression":
6009
6490
  if (!isBinding) {
6010
6491
  break;
6011
6492
  }
6012
6493
  default:
6013
- this.raise(node2.start, "Assigning to rvalue");
6494
+ this.raise(node.start, "Assigning to rvalue");
6014
6495
  }
6015
6496
  } else if (refDestructuringErrors) {
6016
6497
  this.checkPatternErrors(refDestructuringErrors, true);
6017
6498
  }
6018
- return node2;
6499
+ return node;
6019
6500
  };
6020
6501
  pp$7.toAssignableList = function(exprList, isBinding) {
6021
6502
  var end = exprList.length;
@@ -6034,28 +6515,28 @@ pp$7.toAssignableList = function(exprList, isBinding) {
6034
6515
  return exprList;
6035
6516
  };
6036
6517
  pp$7.parseSpread = function(refDestructuringErrors) {
6037
- var node2 = this.startNode();
6518
+ var node = this.startNode();
6038
6519
  this.next();
6039
- node2.argument = this.parseMaybeAssign(false, refDestructuringErrors);
6040
- return this.finishNode(node2, "SpreadElement");
6520
+ node.argument = this.parseMaybeAssign(false, refDestructuringErrors);
6521
+ return this.finishNode(node, "SpreadElement");
6041
6522
  };
6042
6523
  pp$7.parseRestBinding = function() {
6043
- var node2 = this.startNode();
6524
+ var node = this.startNode();
6044
6525
  this.next();
6045
6526
  if (this.options.ecmaVersion === 6 && this.type !== types$1.name) {
6046
6527
  this.unexpected();
6047
6528
  }
6048
- node2.argument = this.parseBindingAtom();
6049
- return this.finishNode(node2, "RestElement");
6529
+ node.argument = this.parseBindingAtom();
6530
+ return this.finishNode(node, "RestElement");
6050
6531
  };
6051
6532
  pp$7.parseBindingAtom = function() {
6052
6533
  if (this.options.ecmaVersion >= 6) {
6053
6534
  switch (this.type) {
6054
6535
  case types$1.bracketL:
6055
- var node2 = this.startNode();
6536
+ var node = this.startNode();
6056
6537
  this.next();
6057
- node2.elements = this.parseBindingList(types$1.bracketR, true, true);
6058
- return this.finishNode(node2, "ArrayPattern");
6538
+ node.elements = this.parseBindingList(types$1.bracketR, true, true);
6539
+ return this.finishNode(node, "ArrayPattern");
6059
6540
  case types$1.braceL:
6060
6541
  return this.parseObj(true);
6061
6542
  }
@@ -6102,10 +6583,10 @@ pp$7.parseMaybeDefault = function(startPos, startLoc, left) {
6102
6583
  if (this.options.ecmaVersion < 6 || !this.eat(types$1.eq)) {
6103
6584
  return left;
6104
6585
  }
6105
- var node2 = this.startNodeAt(startPos, startLoc);
6106
- node2.left = left;
6107
- node2.right = this.parseMaybeAssign();
6108
- return this.finishNode(node2, "AssignmentPattern");
6586
+ var node = this.startNodeAt(startPos, startLoc);
6587
+ node.left = left;
6588
+ node.right = this.parseMaybeAssign();
6589
+ return this.finishNode(node, "AssignmentPattern");
6109
6590
  };
6110
6591
  pp$7.checkLValSimple = function(expr, bindingType, checkClashes) {
6111
6592
  if (bindingType === void 0)
@@ -6390,12 +6871,12 @@ pp$5.parseExpression = function(forInit, refDestructuringErrors) {
6390
6871
  var startPos = this.start, startLoc = this.startLoc;
6391
6872
  var expr = this.parseMaybeAssign(forInit, refDestructuringErrors);
6392
6873
  if (this.type === types$1.comma) {
6393
- var node2 = this.startNodeAt(startPos, startLoc);
6394
- node2.expressions = [expr];
6874
+ var node = this.startNodeAt(startPos, startLoc);
6875
+ node.expressions = [expr];
6395
6876
  while (this.eat(types$1.comma)) {
6396
- node2.expressions.push(this.parseMaybeAssign(forInit, refDestructuringErrors));
6877
+ node.expressions.push(this.parseMaybeAssign(forInit, refDestructuringErrors));
6397
6878
  }
6398
- return this.finishNode(node2, "SequenceExpression");
6879
+ return this.finishNode(node, "SequenceExpression");
6399
6880
  }
6400
6881
  return expr;
6401
6882
  };
@@ -6427,8 +6908,8 @@ pp$5.parseMaybeAssign = function(forInit, refDestructuringErrors, afterLeftParse
6427
6908
  left = afterLeftParse.call(this, left, startPos, startLoc);
6428
6909
  }
6429
6910
  if (this.type.isAssign) {
6430
- var node2 = this.startNodeAt(startPos, startLoc);
6431
- node2.operator = this.value;
6911
+ var node = this.startNodeAt(startPos, startLoc);
6912
+ node.operator = this.value;
6432
6913
  if (this.type === types$1.eq) {
6433
6914
  left = this.toAssignable(left, false, refDestructuringErrors);
6434
6915
  }
@@ -6443,13 +6924,13 @@ pp$5.parseMaybeAssign = function(forInit, refDestructuringErrors, afterLeftParse
6443
6924
  } else {
6444
6925
  this.checkLValSimple(left);
6445
6926
  }
6446
- node2.left = left;
6927
+ node.left = left;
6447
6928
  this.next();
6448
- node2.right = this.parseMaybeAssign(forInit);
6929
+ node.right = this.parseMaybeAssign(forInit);
6449
6930
  if (oldDoubleProto > -1) {
6450
6931
  refDestructuringErrors.doubleProto = oldDoubleProto;
6451
6932
  }
6452
- return this.finishNode(node2, "AssignmentExpression");
6933
+ return this.finishNode(node, "AssignmentExpression");
6453
6934
  } else {
6454
6935
  if (ownDestructuringErrors) {
6455
6936
  this.checkExpressionErrors(refDestructuringErrors, true);
@@ -6470,12 +6951,12 @@ pp$5.parseMaybeConditional = function(forInit, refDestructuringErrors) {
6470
6951
  return expr;
6471
6952
  }
6472
6953
  if (this.eat(types$1.question)) {
6473
- var node2 = this.startNodeAt(startPos, startLoc);
6474
- node2.test = expr;
6475
- node2.consequent = this.parseMaybeAssign();
6954
+ var node = this.startNodeAt(startPos, startLoc);
6955
+ node.test = expr;
6956
+ node.consequent = this.parseMaybeAssign();
6476
6957
  this.expect(types$1.colon);
6477
- node2.alternate = this.parseMaybeAssign(forInit);
6478
- return this.finishNode(node2, "ConditionalExpression");
6958
+ node.alternate = this.parseMaybeAssign(forInit);
6959
+ return this.finishNode(node, "ConditionalExpression");
6479
6960
  }
6480
6961
  return expr;
6481
6962
  };
@@ -6500,11 +6981,11 @@ pp$5.parseExprOp = function(left, leftStartPos, leftStartLoc, minPrec, forInit)
6500
6981
  this.next();
6501
6982
  var startPos = this.start, startLoc = this.startLoc;
6502
6983
  var right = this.parseExprOp(this.parseMaybeUnary(null, false, false, forInit), startPos, startLoc, prec, forInit);
6503
- var node2 = this.buildBinary(leftStartPos, leftStartLoc, left, right, op, logical || coalesce);
6984
+ var node = this.buildBinary(leftStartPos, leftStartLoc, left, right, op, logical || coalesce);
6504
6985
  if (logical && this.type === types$1.coalesce || coalesce && (this.type === types$1.logicalOR || this.type === types$1.logicalAND)) {
6505
6986
  this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses");
6506
6987
  }
6507
- return this.parseExprOp(node2, leftStartPos, leftStartLoc, minPrec, forInit);
6988
+ return this.parseExprOp(node, leftStartPos, leftStartLoc, minPrec, forInit);
6508
6989
  }
6509
6990
  }
6510
6991
  return left;
@@ -6513,11 +6994,11 @@ pp$5.buildBinary = function(startPos, startLoc, left, right, op, logical) {
6513
6994
  if (right.type === "PrivateIdentifier") {
6514
6995
  this.raise(right.start, "Private identifier can only be left side of binary expression");
6515
6996
  }
6516
- var node2 = this.startNodeAt(startPos, startLoc);
6517
- node2.left = left;
6518
- node2.operator = op;
6519
- node2.right = right;
6520
- return this.finishNode(node2, logical ? "LogicalExpression" : "BinaryExpression");
6997
+ var node = this.startNodeAt(startPos, startLoc);
6998
+ node.left = left;
6999
+ node.operator = op;
7000
+ node.right = right;
7001
+ return this.finishNode(node, logical ? "LogicalExpression" : "BinaryExpression");
6521
7002
  };
6522
7003
  pp$5.parseMaybeUnary = function(refDestructuringErrors, sawUnary, incDec, forInit) {
6523
7004
  var startPos = this.start, startLoc = this.startLoc, expr;
@@ -6525,22 +7006,22 @@ pp$5.parseMaybeUnary = function(refDestructuringErrors, sawUnary, incDec, forIni
6525
7006
  expr = this.parseAwait(forInit);
6526
7007
  sawUnary = true;
6527
7008
  } else if (this.type.prefix) {
6528
- var node2 = this.startNode(), update = this.type === types$1.incDec;
6529
- node2.operator = this.value;
6530
- node2.prefix = true;
7009
+ var node = this.startNode(), update = this.type === types$1.incDec;
7010
+ node.operator = this.value;
7011
+ node.prefix = true;
6531
7012
  this.next();
6532
- node2.argument = this.parseMaybeUnary(null, true, update, forInit);
7013
+ node.argument = this.parseMaybeUnary(null, true, update, forInit);
6533
7014
  this.checkExpressionErrors(refDestructuringErrors, true);
6534
7015
  if (update) {
6535
- this.checkLValSimple(node2.argument);
6536
- } else if (this.strict && node2.operator === "delete" && node2.argument.type === "Identifier") {
6537
- this.raiseRecoverable(node2.start, "Deleting local variable in strict mode");
6538
- } else if (node2.operator === "delete" && isPrivateFieldAccess(node2.argument)) {
6539
- this.raiseRecoverable(node2.start, "Private fields can not be deleted");
7016
+ this.checkLValSimple(node.argument);
7017
+ } else if (this.strict && node.operator === "delete" && node.argument.type === "Identifier") {
7018
+ this.raiseRecoverable(node.start, "Deleting local variable in strict mode");
7019
+ } else if (node.operator === "delete" && isPrivateFieldAccess(node.argument)) {
7020
+ this.raiseRecoverable(node.start, "Private fields can not be deleted");
6540
7021
  } else {
6541
7022
  sawUnary = true;
6542
7023
  }
6543
- expr = this.finishNode(node2, update ? "UpdateExpression" : "UnaryExpression");
7024
+ expr = this.finishNode(node, update ? "UpdateExpression" : "UnaryExpression");
6544
7025
  } else if (!sawUnary && this.type === types$1.privateId) {
6545
7026
  if ((forInit || this.privateNameStack.length === 0) && this.options.checkPrivateFields) {
6546
7027
  this.unexpected();
@@ -6574,8 +7055,8 @@ pp$5.parseMaybeUnary = function(refDestructuringErrors, sawUnary, incDec, forIni
6574
7055
  return expr;
6575
7056
  }
6576
7057
  };
6577
- function isPrivateFieldAccess(node2) {
6578
- return node2.type === "MemberExpression" && node2.property.type === "PrivateIdentifier" || node2.type === "ChainExpression" && isPrivateFieldAccess(node2.expression);
7058
+ function isPrivateFieldAccess(node) {
7059
+ return node.type === "MemberExpression" && node.property.type === "PrivateIdentifier" || node.type === "ChainExpression" && isPrivateFieldAccess(node.expression);
6579
7060
  }
6580
7061
  pp$5.parseExprSubscripts = function(refDestructuringErrors, forInit) {
6581
7062
  var startPos = this.start, startLoc = this.startLoc;
@@ -6630,21 +7111,21 @@ pp$5.parseSubscript = function(base, startPos, startLoc, noCalls, maybeAsyncArro
6630
7111
  }
6631
7112
  var computed = this.eat(types$1.bracketL);
6632
7113
  if (computed || optional && this.type !== types$1.parenL && this.type !== types$1.backQuote || this.eat(types$1.dot)) {
6633
- var node2 = this.startNodeAt(startPos, startLoc);
6634
- node2.object = base;
7114
+ var node = this.startNodeAt(startPos, startLoc);
7115
+ node.object = base;
6635
7116
  if (computed) {
6636
- node2.property = this.parseExpression();
7117
+ node.property = this.parseExpression();
6637
7118
  this.expect(types$1.bracketR);
6638
7119
  } else if (this.type === types$1.privateId && base.type !== "Super") {
6639
- node2.property = this.parsePrivateIdent();
7120
+ node.property = this.parsePrivateIdent();
6640
7121
  } else {
6641
- node2.property = this.parseIdent(this.options.allowReserved !== "never");
7122
+ node.property = this.parseIdent(this.options.allowReserved !== "never");
6642
7123
  }
6643
- node2.computed = !!computed;
7124
+ node.computed = !!computed;
6644
7125
  if (optionalSupported) {
6645
- node2.optional = optional;
7126
+ node.optional = optional;
6646
7127
  }
6647
- base = this.finishNode(node2, "MemberExpression");
7128
+ base = this.finishNode(node, "MemberExpression");
6648
7129
  } else if (!noCalls && this.eat(types$1.parenL)) {
6649
7130
  var refDestructuringErrors = new DestructuringErrors(), oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos;
6650
7131
  this.yieldPos = 0;
@@ -6688,25 +7169,25 @@ pp$5.parseExprAtom = function(refDestructuringErrors, forInit, forNew) {
6688
7169
  if (this.type === types$1.slash) {
6689
7170
  this.readRegexp();
6690
7171
  }
6691
- var node2, canBeArrow = this.potentialArrowAt === this.start;
7172
+ var node, canBeArrow = this.potentialArrowAt === this.start;
6692
7173
  switch (this.type) {
6693
7174
  case types$1._super:
6694
7175
  if (!this.allowSuper) {
6695
7176
  this.raise(this.start, "'super' keyword outside a method");
6696
7177
  }
6697
- node2 = this.startNode();
7178
+ node = this.startNode();
6698
7179
  this.next();
6699
7180
  if (this.type === types$1.parenL && !this.allowDirectSuper) {
6700
- this.raise(node2.start, "super() call outside constructor of a subclass");
7181
+ this.raise(node.start, "super() call outside constructor of a subclass");
6701
7182
  }
6702
7183
  if (this.type !== types$1.dot && this.type !== types$1.bracketL && this.type !== types$1.parenL) {
6703
7184
  this.unexpected();
6704
7185
  }
6705
- return this.finishNode(node2, "Super");
7186
+ return this.finishNode(node, "Super");
6706
7187
  case types$1._this:
6707
- node2 = this.startNode();
7188
+ node = this.startNode();
6708
7189
  this.next();
6709
- return this.finishNode(node2, "ThisExpression");
7190
+ return this.finishNode(node, "ThisExpression");
6710
7191
  case types$1.name:
6711
7192
  var startPos = this.start, startLoc = this.startLoc, containsEsc = this.containsEsc;
6712
7193
  var id = this.parseIdent(false);
@@ -6729,20 +7210,20 @@ pp$5.parseExprAtom = function(refDestructuringErrors, forInit, forNew) {
6729
7210
  return id;
6730
7211
  case types$1.regexp:
6731
7212
  var value = this.value;
6732
- node2 = this.parseLiteral(value.value);
6733
- node2.regex = { pattern: value.pattern, flags: value.flags };
6734
- return node2;
7213
+ node = this.parseLiteral(value.value);
7214
+ node.regex = { pattern: value.pattern, flags: value.flags };
7215
+ return node;
6735
7216
  case types$1.num:
6736
7217
  case types$1.string:
6737
7218
  return this.parseLiteral(this.value);
6738
7219
  case types$1._null:
6739
7220
  case types$1._true:
6740
7221
  case types$1._false:
6741
- node2 = this.startNode();
6742
- node2.value = this.type === types$1._null ? null : this.type === types$1._true;
6743
- node2.raw = this.type.keyword;
7222
+ node = this.startNode();
7223
+ node.value = this.type === types$1._null ? null : this.type === types$1._true;
7224
+ node.raw = this.type.keyword;
6744
7225
  this.next();
6745
- return this.finishNode(node2, "Literal");
7226
+ return this.finishNode(node, "Literal");
6746
7227
  case types$1.parenL:
6747
7228
  var start = this.start, expr = this.parseParenAndDistinguishExpression(canBeArrow, forInit);
6748
7229
  if (refDestructuringErrors) {
@@ -6755,17 +7236,17 @@ pp$5.parseExprAtom = function(refDestructuringErrors, forInit, forNew) {
6755
7236
  }
6756
7237
  return expr;
6757
7238
  case types$1.bracketL:
6758
- node2 = this.startNode();
7239
+ node = this.startNode();
6759
7240
  this.next();
6760
- node2.elements = this.parseExprList(types$1.bracketR, true, true, refDestructuringErrors);
6761
- return this.finishNode(node2, "ArrayExpression");
7241
+ node.elements = this.parseExprList(types$1.bracketR, true, true, refDestructuringErrors);
7242
+ return this.finishNode(node, "ArrayExpression");
6762
7243
  case types$1.braceL:
6763
7244
  this.overrideContext(types.b_expr);
6764
7245
  return this.parseObj(false, refDestructuringErrors);
6765
7246
  case types$1._function:
6766
- node2 = this.startNode();
7247
+ node = this.startNode();
6767
7248
  this.next();
6768
- return this.parseFunction(node2, 0);
7249
+ return this.parseFunction(node, 0);
6769
7250
  case types$1._class:
6770
7251
  return this.parseClass(this.startNode(), false);
6771
7252
  case types$1._new:
@@ -6786,25 +7267,25 @@ pp$5.parseExprAtomDefault = function() {
6786
7267
  this.unexpected();
6787
7268
  };
6788
7269
  pp$5.parseExprImport = function(forNew) {
6789
- var node2 = this.startNode();
7270
+ var node = this.startNode();
6790
7271
  if (this.containsEsc) {
6791
7272
  this.raiseRecoverable(this.start, "Escape sequence in keyword import");
6792
7273
  }
6793
7274
  this.next();
6794
7275
  if (this.type === types$1.parenL && !forNew) {
6795
- return this.parseDynamicImport(node2);
7276
+ return this.parseDynamicImport(node);
6796
7277
  } else if (this.type === types$1.dot) {
6797
- var meta = this.startNodeAt(node2.start, node2.loc && node2.loc.start);
7278
+ var meta = this.startNodeAt(node.start, node.loc && node.loc.start);
6798
7279
  meta.name = "import";
6799
- node2.meta = this.finishNode(meta, "Identifier");
6800
- return this.parseImportMeta(node2);
7280
+ node.meta = this.finishNode(meta, "Identifier");
7281
+ return this.parseImportMeta(node);
6801
7282
  } else {
6802
7283
  this.unexpected();
6803
7284
  }
6804
7285
  };
6805
- pp$5.parseDynamicImport = function(node2) {
7286
+ pp$5.parseDynamicImport = function(node) {
6806
7287
  this.next();
6807
- node2.source = this.parseMaybeAssign();
7288
+ node.source = this.parseMaybeAssign();
6808
7289
  if (!this.eat(types$1.parenR)) {
6809
7290
  var errorPos = this.start;
6810
7291
  if (this.eat(types$1.comma) && this.eat(types$1.parenR)) {
@@ -6813,32 +7294,32 @@ pp$5.parseDynamicImport = function(node2) {
6813
7294
  this.unexpected(errorPos);
6814
7295
  }
6815
7296
  }
6816
- return this.finishNode(node2, "ImportExpression");
7297
+ return this.finishNode(node, "ImportExpression");
6817
7298
  };
6818
- pp$5.parseImportMeta = function(node2) {
7299
+ pp$5.parseImportMeta = function(node) {
6819
7300
  this.next();
6820
7301
  var containsEsc = this.containsEsc;
6821
- node2.property = this.parseIdent(true);
6822
- if (node2.property.name !== "meta") {
6823
- this.raiseRecoverable(node2.property.start, "The only valid meta property for import is 'import.meta'");
7302
+ node.property = this.parseIdent(true);
7303
+ if (node.property.name !== "meta") {
7304
+ this.raiseRecoverable(node.property.start, "The only valid meta property for import is 'import.meta'");
6824
7305
  }
6825
7306
  if (containsEsc) {
6826
- this.raiseRecoverable(node2.start, "'import.meta' must not contain escaped characters");
7307
+ this.raiseRecoverable(node.start, "'import.meta' must not contain escaped characters");
6827
7308
  }
6828
7309
  if (this.options.sourceType !== "module" && !this.options.allowImportExportEverywhere) {
6829
- this.raiseRecoverable(node2.start, "Cannot use 'import.meta' outside a module");
7310
+ this.raiseRecoverable(node.start, "Cannot use 'import.meta' outside a module");
6830
7311
  }
6831
- return this.finishNode(node2, "MetaProperty");
7312
+ return this.finishNode(node, "MetaProperty");
6832
7313
  };
6833
7314
  pp$5.parseLiteral = function(value) {
6834
- var node2 = this.startNode();
6835
- node2.value = value;
6836
- node2.raw = this.input.slice(this.start, this.end);
6837
- if (node2.raw.charCodeAt(node2.raw.length - 1) === 110) {
6838
- node2.bigint = node2.raw.slice(0, -1).replace(/_/g, "");
7315
+ var node = this.startNode();
7316
+ node.value = value;
7317
+ node.raw = this.input.slice(this.start, this.end);
7318
+ if (node.raw.charCodeAt(node.raw.length - 1) === 110) {
7319
+ node.bigint = node.raw.slice(0, -1).replace(/_/g, "");
6839
7320
  }
6840
7321
  this.next();
6841
- return this.finishNode(node2, "Literal");
7322
+ return this.finishNode(node, "Literal");
6842
7323
  };
6843
7324
  pp$5.parseParenExpression = function() {
6844
7325
  this.expect(types$1.parenL);
@@ -6924,34 +7405,34 @@ pp$5.parseNew = function() {
6924
7405
  if (this.containsEsc) {
6925
7406
  this.raiseRecoverable(this.start, "Escape sequence in keyword new");
6926
7407
  }
6927
- var node2 = this.startNode();
7408
+ var node = this.startNode();
6928
7409
  this.next();
6929
7410
  if (this.options.ecmaVersion >= 6 && this.type === types$1.dot) {
6930
- var meta = this.startNodeAt(node2.start, node2.loc && node2.loc.start);
7411
+ var meta = this.startNodeAt(node.start, node.loc && node.loc.start);
6931
7412
  meta.name = "new";
6932
- node2.meta = this.finishNode(meta, "Identifier");
7413
+ node.meta = this.finishNode(meta, "Identifier");
6933
7414
  this.next();
6934
7415
  var containsEsc = this.containsEsc;
6935
- node2.property = this.parseIdent(true);
6936
- if (node2.property.name !== "target") {
6937
- this.raiseRecoverable(node2.property.start, "The only valid meta property for new is 'new.target'");
7416
+ node.property = this.parseIdent(true);
7417
+ if (node.property.name !== "target") {
7418
+ this.raiseRecoverable(node.property.start, "The only valid meta property for new is 'new.target'");
6938
7419
  }
6939
7420
  if (containsEsc) {
6940
- this.raiseRecoverable(node2.start, "'new.target' must not contain escaped characters");
7421
+ this.raiseRecoverable(node.start, "'new.target' must not contain escaped characters");
6941
7422
  }
6942
7423
  if (!this.allowNewDotTarget) {
6943
- this.raiseRecoverable(node2.start, "'new.target' can only be used in functions and class static block");
7424
+ this.raiseRecoverable(node.start, "'new.target' can only be used in functions and class static block");
6944
7425
  }
6945
- return this.finishNode(node2, "MetaProperty");
7426
+ return this.finishNode(node, "MetaProperty");
6946
7427
  }
6947
7428
  var startPos = this.start, startLoc = this.startLoc;
6948
- node2.callee = this.parseSubscripts(this.parseExprAtom(null, false, true), startPos, startLoc, true, false);
7429
+ node.callee = this.parseSubscripts(this.parseExprAtom(null, false, true), startPos, startLoc, true, false);
6949
7430
  if (this.eat(types$1.parenL)) {
6950
- node2.arguments = this.parseExprList(types$1.parenR, this.options.ecmaVersion >= 8, false);
7431
+ node.arguments = this.parseExprList(types$1.parenR, this.options.ecmaVersion >= 8, false);
6951
7432
  } else {
6952
- node2.arguments = empty;
7433
+ node.arguments = empty;
6953
7434
  }
6954
- return this.finishNode(node2, "NewExpression");
7435
+ return this.finishNode(node, "NewExpression");
6955
7436
  };
6956
7437
  pp$5.parseTemplateElement = function(ref2) {
6957
7438
  var isTagged = ref2.isTagged;
@@ -6980,29 +7461,29 @@ pp$5.parseTemplate = function(ref2) {
6980
7461
  var isTagged = ref2.isTagged;
6981
7462
  if (isTagged === void 0)
6982
7463
  isTagged = false;
6983
- var node2 = this.startNode();
7464
+ var node = this.startNode();
6984
7465
  this.next();
6985
- node2.expressions = [];
7466
+ node.expressions = [];
6986
7467
  var curElt = this.parseTemplateElement({ isTagged });
6987
- node2.quasis = [curElt];
7468
+ node.quasis = [curElt];
6988
7469
  while (!curElt.tail) {
6989
7470
  if (this.type === types$1.eof) {
6990
7471
  this.raise(this.pos, "Unterminated template literal");
6991
7472
  }
6992
7473
  this.expect(types$1.dollarBraceL);
6993
- node2.expressions.push(this.parseExpression());
7474
+ node.expressions.push(this.parseExpression());
6994
7475
  this.expect(types$1.braceR);
6995
- node2.quasis.push(curElt = this.parseTemplateElement({ isTagged }));
7476
+ node.quasis.push(curElt = this.parseTemplateElement({ isTagged }));
6996
7477
  }
6997
7478
  this.next();
6998
- return this.finishNode(node2, "TemplateLiteral");
7479
+ return this.finishNode(node, "TemplateLiteral");
6999
7480
  };
7000
7481
  pp$5.isAsyncProp = function(prop) {
7001
7482
  return !prop.computed && prop.key.type === "Identifier" && prop.key.name === "async" && (this.type === types$1.name || this.type === types$1.num || this.type === types$1.string || this.type === types$1.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === types$1.star) && !lineBreak.test(this.input.slice(this.lastTokEnd, this.start));
7002
7483
  };
7003
7484
  pp$5.parseObj = function(isPattern, refDestructuringErrors) {
7004
- var node2 = this.startNode(), first = true, propHash = {};
7005
- node2.properties = [];
7485
+ var node = this.startNode(), first = true, propHash = {};
7486
+ node.properties = [];
7006
7487
  this.next();
7007
7488
  while (!this.eat(types$1.braceR)) {
7008
7489
  if (!first) {
@@ -7017,9 +7498,9 @@ pp$5.parseObj = function(isPattern, refDestructuringErrors) {
7017
7498
  if (!isPattern) {
7018
7499
  this.checkPropClash(prop, propHash, refDestructuringErrors);
7019
7500
  }
7020
- node2.properties.push(prop);
7501
+ node.properties.push(prop);
7021
7502
  }
7022
- return this.finishNode(node2, isPattern ? "ObjectPattern" : "ObjectExpression");
7503
+ return this.finishNode(node, isPattern ? "ObjectPattern" : "ObjectExpression");
7023
7504
  };
7024
7505
  pp$5.parseProperty = function(isPattern, refDestructuringErrors) {
7025
7506
  var prop = this.startNode(), isGenerator, isAsync, startPos, startLoc;
@@ -7134,67 +7615,67 @@ pp$5.parsePropertyName = function(prop) {
7134
7615
  }
7135
7616
  return prop.key = this.type === types$1.num || this.type === types$1.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
7136
7617
  };
7137
- pp$5.initFunction = function(node2) {
7138
- node2.id = null;
7618
+ pp$5.initFunction = function(node) {
7619
+ node.id = null;
7139
7620
  if (this.options.ecmaVersion >= 6) {
7140
- node2.generator = node2.expression = false;
7621
+ node.generator = node.expression = false;
7141
7622
  }
7142
7623
  if (this.options.ecmaVersion >= 8) {
7143
- node2.async = false;
7624
+ node.async = false;
7144
7625
  }
7145
7626
  };
7146
7627
  pp$5.parseMethod = function(isGenerator, isAsync, allowDirectSuper) {
7147
- var node2 = this.startNode(), oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos;
7148
- this.initFunction(node2);
7628
+ var node = this.startNode(), oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos;
7629
+ this.initFunction(node);
7149
7630
  if (this.options.ecmaVersion >= 6) {
7150
- node2.generator = isGenerator;
7631
+ node.generator = isGenerator;
7151
7632
  }
7152
7633
  if (this.options.ecmaVersion >= 8) {
7153
- node2.async = !!isAsync;
7634
+ node.async = !!isAsync;
7154
7635
  }
7155
7636
  this.yieldPos = 0;
7156
7637
  this.awaitPos = 0;
7157
7638
  this.awaitIdentPos = 0;
7158
- this.enterScope(functionFlags(isAsync, node2.generator) | SCOPE_SUPER | (allowDirectSuper ? SCOPE_DIRECT_SUPER : 0));
7639
+ this.enterScope(functionFlags(isAsync, node.generator) | SCOPE_SUPER | (allowDirectSuper ? SCOPE_DIRECT_SUPER : 0));
7159
7640
  this.expect(types$1.parenL);
7160
- node2.params = this.parseBindingList(types$1.parenR, false, this.options.ecmaVersion >= 8);
7641
+ node.params = this.parseBindingList(types$1.parenR, false, this.options.ecmaVersion >= 8);
7161
7642
  this.checkYieldAwaitInDefaultParams();
7162
- this.parseFunctionBody(node2, false, true, false);
7643
+ this.parseFunctionBody(node, false, true, false);
7163
7644
  this.yieldPos = oldYieldPos;
7164
7645
  this.awaitPos = oldAwaitPos;
7165
7646
  this.awaitIdentPos = oldAwaitIdentPos;
7166
- return this.finishNode(node2, "FunctionExpression");
7647
+ return this.finishNode(node, "FunctionExpression");
7167
7648
  };
7168
- pp$5.parseArrowExpression = function(node2, params, isAsync, forInit) {
7649
+ pp$5.parseArrowExpression = function(node, params, isAsync, forInit) {
7169
7650
  var oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos;
7170
7651
  this.enterScope(functionFlags(isAsync, false) | SCOPE_ARROW);
7171
- this.initFunction(node2);
7652
+ this.initFunction(node);
7172
7653
  if (this.options.ecmaVersion >= 8) {
7173
- node2.async = !!isAsync;
7654
+ node.async = !!isAsync;
7174
7655
  }
7175
7656
  this.yieldPos = 0;
7176
7657
  this.awaitPos = 0;
7177
7658
  this.awaitIdentPos = 0;
7178
- node2.params = this.toAssignableList(params, true);
7179
- this.parseFunctionBody(node2, true, false, forInit);
7659
+ node.params = this.toAssignableList(params, true);
7660
+ this.parseFunctionBody(node, true, false, forInit);
7180
7661
  this.yieldPos = oldYieldPos;
7181
7662
  this.awaitPos = oldAwaitPos;
7182
7663
  this.awaitIdentPos = oldAwaitIdentPos;
7183
- return this.finishNode(node2, "ArrowFunctionExpression");
7664
+ return this.finishNode(node, "ArrowFunctionExpression");
7184
7665
  };
7185
- pp$5.parseFunctionBody = function(node2, isArrowFunction, isMethod, forInit) {
7666
+ pp$5.parseFunctionBody = function(node, isArrowFunction, isMethod, forInit) {
7186
7667
  var isExpression = isArrowFunction && this.type !== types$1.braceL;
7187
7668
  var oldStrict = this.strict, useStrict = false;
7188
7669
  if (isExpression) {
7189
- node2.body = this.parseMaybeAssign(forInit);
7190
- node2.expression = true;
7191
- this.checkParams(node2, false);
7670
+ node.body = this.parseMaybeAssign(forInit);
7671
+ node.expression = true;
7672
+ this.checkParams(node, false);
7192
7673
  } else {
7193
- var nonSimple = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(node2.params);
7674
+ var nonSimple = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(node.params);
7194
7675
  if (!oldStrict || nonSimple) {
7195
7676
  useStrict = this.strictDirective(this.end);
7196
7677
  if (useStrict && nonSimple) {
7197
- this.raiseRecoverable(node2.start, "Illegal 'use strict' directive in function with non-simple parameter list");
7678
+ this.raiseRecoverable(node.start, "Illegal 'use strict' directive in function with non-simple parameter list");
7198
7679
  }
7199
7680
  }
7200
7681
  var oldLabels = this.labels;
@@ -7202,13 +7683,13 @@ pp$5.parseFunctionBody = function(node2, isArrowFunction, isMethod, forInit) {
7202
7683
  if (useStrict) {
7203
7684
  this.strict = true;
7204
7685
  }
7205
- this.checkParams(node2, !oldStrict && !useStrict && !isArrowFunction && !isMethod && this.isSimpleParamList(node2.params));
7206
- if (this.strict && node2.id) {
7207
- this.checkLValSimple(node2.id, BIND_OUTSIDE);
7686
+ this.checkParams(node, !oldStrict && !useStrict && !isArrowFunction && !isMethod && this.isSimpleParamList(node.params));
7687
+ if (this.strict && node.id) {
7688
+ this.checkLValSimple(node.id, BIND_OUTSIDE);
7208
7689
  }
7209
- node2.body = this.parseBlock(false, void 0, useStrict && !oldStrict);
7210
- node2.expression = false;
7211
- this.adaptDirectivePrologue(node2.body.body);
7690
+ node.body = this.parseBlock(false, void 0, useStrict && !oldStrict);
7691
+ node.expression = false;
7692
+ this.adaptDirectivePrologue(node.body.body);
7212
7693
  this.labels = oldLabels;
7213
7694
  }
7214
7695
  this.exitScope();
@@ -7222,9 +7703,9 @@ pp$5.isSimpleParamList = function(params) {
7222
7703
  }
7223
7704
  return true;
7224
7705
  };
7225
- pp$5.checkParams = function(node2, allowDuplicates) {
7706
+ pp$5.checkParams = function(node, allowDuplicates) {
7226
7707
  var nameHash = /* @__PURE__ */ Object.create(null);
7227
- for (var i = 0, list = node2.params; i < list.length; i += 1) {
7708
+ for (var i = 0, list = node.params; i < list.length; i += 1) {
7228
7709
  var param = list[i];
7229
7710
  this.checkLValInnerPattern(param, BIND_VAR, allowDuplicates ? null : nameHash);
7230
7711
  }
@@ -7286,73 +7767,73 @@ pp$5.checkUnreserved = function(ref2) {
7286
7767
  }
7287
7768
  };
7288
7769
  pp$5.parseIdent = function(liberal) {
7289
- var node2 = this.parseIdentNode();
7770
+ var node = this.parseIdentNode();
7290
7771
  this.next(!!liberal);
7291
- this.finishNode(node2, "Identifier");
7772
+ this.finishNode(node, "Identifier");
7292
7773
  if (!liberal) {
7293
- this.checkUnreserved(node2);
7294
- if (node2.name === "await" && !this.awaitIdentPos) {
7295
- this.awaitIdentPos = node2.start;
7774
+ this.checkUnreserved(node);
7775
+ if (node.name === "await" && !this.awaitIdentPos) {
7776
+ this.awaitIdentPos = node.start;
7296
7777
  }
7297
7778
  }
7298
- return node2;
7779
+ return node;
7299
7780
  };
7300
7781
  pp$5.parseIdentNode = function() {
7301
- var node2 = this.startNode();
7782
+ var node = this.startNode();
7302
7783
  if (this.type === types$1.name) {
7303
- node2.name = this.value;
7784
+ node.name = this.value;
7304
7785
  } else if (this.type.keyword) {
7305
- node2.name = this.type.keyword;
7306
- if ((node2.name === "class" || node2.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46)) {
7786
+ node.name = this.type.keyword;
7787
+ if ((node.name === "class" || node.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46)) {
7307
7788
  this.context.pop();
7308
7789
  }
7309
7790
  this.type = types$1.name;
7310
7791
  } else {
7311
7792
  this.unexpected();
7312
7793
  }
7313
- return node2;
7794
+ return node;
7314
7795
  };
7315
7796
  pp$5.parsePrivateIdent = function() {
7316
- var node2 = this.startNode();
7797
+ var node = this.startNode();
7317
7798
  if (this.type === types$1.privateId) {
7318
- node2.name = this.value;
7799
+ node.name = this.value;
7319
7800
  } else {
7320
7801
  this.unexpected();
7321
7802
  }
7322
7803
  this.next();
7323
- this.finishNode(node2, "PrivateIdentifier");
7804
+ this.finishNode(node, "PrivateIdentifier");
7324
7805
  if (this.options.checkPrivateFields) {
7325
7806
  if (this.privateNameStack.length === 0) {
7326
- this.raise(node2.start, "Private field '#" + node2.name + "' must be declared in an enclosing class");
7807
+ this.raise(node.start, "Private field '#" + node.name + "' must be declared in an enclosing class");
7327
7808
  } else {
7328
- this.privateNameStack[this.privateNameStack.length - 1].used.push(node2);
7809
+ this.privateNameStack[this.privateNameStack.length - 1].used.push(node);
7329
7810
  }
7330
7811
  }
7331
- return node2;
7812
+ return node;
7332
7813
  };
7333
7814
  pp$5.parseYield = function(forInit) {
7334
7815
  if (!this.yieldPos) {
7335
7816
  this.yieldPos = this.start;
7336
7817
  }
7337
- var node2 = this.startNode();
7818
+ var node = this.startNode();
7338
7819
  this.next();
7339
7820
  if (this.type === types$1.semi || this.canInsertSemicolon() || this.type !== types$1.star && !this.type.startsExpr) {
7340
- node2.delegate = false;
7341
- node2.argument = null;
7821
+ node.delegate = false;
7822
+ node.argument = null;
7342
7823
  } else {
7343
- node2.delegate = this.eat(types$1.star);
7344
- node2.argument = this.parseMaybeAssign(forInit);
7824
+ node.delegate = this.eat(types$1.star);
7825
+ node.argument = this.parseMaybeAssign(forInit);
7345
7826
  }
7346
- return this.finishNode(node2, "YieldExpression");
7827
+ return this.finishNode(node, "YieldExpression");
7347
7828
  };
7348
7829
  pp$5.parseAwait = function(forInit) {
7349
7830
  if (!this.awaitPos) {
7350
7831
  this.awaitPos = this.start;
7351
7832
  }
7352
- var node2 = this.startNode();
7833
+ var node = this.startNode();
7353
7834
  this.next();
7354
- node2.argument = this.parseMaybeUnary(null, true, false, forInit);
7355
- return this.finishNode(node2, "AwaitExpression");
7835
+ node.argument = this.parseMaybeUnary(null, true, false, forInit);
7836
+ return this.finishNode(node, "AwaitExpression");
7356
7837
  };
7357
7838
  var pp$4 = Parser.prototype;
7358
7839
  pp$4.raise = function(pos, message) {
@@ -7472,27 +7953,27 @@ pp$2.startNode = function() {
7472
7953
  pp$2.startNodeAt = function(pos, loc) {
7473
7954
  return new Node(this, pos, loc);
7474
7955
  };
7475
- function finishNodeAt(node2, type, pos, loc) {
7476
- node2.type = type;
7477
- node2.end = pos;
7956
+ function finishNodeAt(node, type, pos, loc) {
7957
+ node.type = type;
7958
+ node.end = pos;
7478
7959
  if (this.options.locations) {
7479
- node2.loc.end = loc;
7960
+ node.loc.end = loc;
7480
7961
  }
7481
7962
  if (this.options.ranges) {
7482
- node2.range[1] = pos;
7963
+ node.range[1] = pos;
7483
7964
  }
7484
- return node2;
7965
+ return node;
7485
7966
  }
7486
- pp$2.finishNode = function(node2, type) {
7487
- return finishNodeAt.call(this, node2, type, this.lastTokEnd, this.lastTokEndLoc);
7967
+ pp$2.finishNode = function(node, type) {
7968
+ return finishNodeAt.call(this, node, type, this.lastTokEnd, this.lastTokEndLoc);
7488
7969
  };
7489
- pp$2.finishNodeAt = function(node2, type, pos, loc) {
7490
- return finishNodeAt.call(this, node2, type, pos, loc);
7970
+ pp$2.finishNodeAt = function(node, type, pos, loc) {
7971
+ return finishNodeAt.call(this, node, type, pos, loc);
7491
7972
  };
7492
- pp$2.copyNode = function(node2) {
7493
- var newNode = new Node(this, node2.start, this.startLoc);
7494
- for (var prop in node2) {
7495
- newNode[prop] = node2[prop];
7973
+ pp$2.copyNode = function(node) {
7974
+ var newNode = new Node(this, node.start, this.startLoc);
7975
+ for (var prop in node) {
7976
+ newNode[prop] = node[prop];
7496
7977
  }
7497
7978
  return newNode;
7498
7979
  };
@@ -8086,14 +8567,14 @@ pp$1.regexp_eatAtomEscape = function(state) {
8086
8567
  pp$1.regexp_eatBackReference = function(state) {
8087
8568
  var start = state.pos;
8088
8569
  if (this.regexp_eatDecimalEscape(state)) {
8089
- var n = state.lastIntValue;
8570
+ var n2 = state.lastIntValue;
8090
8571
  if (state.switchU) {
8091
- if (n > state.maxBackReference) {
8092
- state.maxBackReference = n;
8572
+ if (n2 > state.maxBackReference) {
8573
+ state.maxBackReference = n2;
8093
8574
  }
8094
8575
  return true;
8095
8576
  }
8096
- if (n <= state.numCapturingParens) {
8577
+ if (n2 <= state.numCapturingParens) {
8097
8578
  return true;
8098
8579
  }
8099
8580
  state.pos = start;
@@ -9536,11 +10017,11 @@ pp.readEscapedChar = function(inTemplate) {
9536
10017
  };
9537
10018
  pp.readHexChar = function(len) {
9538
10019
  var codePos = this.pos;
9539
- var n = this.readInt(16, len);
9540
- if (n === null) {
10020
+ var n2 = this.readInt(16, len);
10021
+ if (n2 === null) {
9541
10022
  this.invalidStringToken(codePos, "Bad character escape sequence");
9542
10023
  }
9543
- return n;
10024
+ return n2;
9544
10025
  };
9545
10026
  pp.readWord1 = function() {
9546
10027
  this.containsEsc = false;
@@ -11045,75 +11526,118 @@ function resolvePackage(name, options = {}) {
11045
11526
  }
11046
11527
  }
11047
11528
 
11048
- // src/configs/tailwind.ts
11049
- function tailwind() {
11529
+ // src/configs/antfu.ts
11530
+ var antfu = async () => {
11050
11531
  return [
11051
11532
  {
11052
- name: "jsse:tailwind",
11533
+ name: "jsse:antfu",
11053
11534
  plugins: {
11054
11535
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
11055
- tailwindcss: import_eslint_plugin_tailwindcss.default
11536
+ antfu: import_eslint_plugin_antfu.default
11056
11537
  },
11057
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
11058
11538
  rules: {
11059
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
11060
- ...import_eslint_plugin_tailwindcss.default.configs.recommended.rules
11539
+ "antfu/no-import-node-modules-by-path": "error",
11540
+ "antfu/top-level-function": "error"
11061
11541
  }
11062
- }
11063
- ];
11064
- }
11065
-
11066
- // src/configs/stylistic.ts
11067
- function jsxStylistic({
11068
- indent
11069
- }) {
11070
- return {
11071
- "@stylistic/jsx-curly-brace-presence": [
11072
- "error",
11073
- { propElementValues: "always" }
11074
- ],
11075
- "@stylistic/jsx-indent": [
11076
- "error",
11077
- indent,
11078
- { checkAttributes: true, indentLogicalExpressions: true }
11079
- ],
11080
- "@stylistic/jsx-quotes": "error"
11081
- };
11082
- }
11083
- function stylistic(options = {}) {
11084
- const { indent = 2, jsx = true, quotes = "double" } = options;
11085
- return [
11542
+ },
11086
11543
  {
11087
- name: "jsse:stylistic",
11088
- plugins: {
11089
- // eslint-disable-next-line @typescript-eslint/naming-convention
11090
- "@stylistic": import_eslint_plugin.default
11091
- },
11544
+ files: ["**/src/**/*"],
11545
+ name: "jsse:antfu:bin",
11092
11546
  rules: {
11093
- "@stylistic/quote-props": ["error", "as-needed"],
11094
- "@stylistic/quotes": [
11095
- "error",
11096
- quotes,
11097
- { allowTemplateLiterals: false, avoidEscape: true }
11098
- ],
11099
- ...jsx ? jsxStylistic({ indent }) : {}
11547
+ "antfu/no-import-dist": "error"
11548
+ }
11549
+ },
11550
+ {
11551
+ files: ["**/bin/**/*", `**/bin.${GLOB_SRC_EXT}`],
11552
+ name: "jsse:antfu:bin",
11553
+ rules: {
11554
+ "antfu/no-import-dist": "off",
11555
+ "antfu/no-import-node-modules-by-path": "off"
11100
11556
  }
11101
11557
  }
11102
11558
  ];
11103
- }
11559
+ };
11104
11560
 
11105
- // src/slow.ts
11106
- var slowRules = [
11107
- "@typescript-eslint/no-misused-promises",
11108
- "@typescript-eslint/no-unsafe-assignment",
11109
- "@typescript-eslint/no-unsafe-call",
11110
- "@typescript-eslint/no-unsafe-member-access",
11111
- "@typescript-eslint/no-unsafe-return"
11112
- ];
11561
+ // src/lager.ts
11562
+ var levels = {
11563
+ trace: 10,
11564
+ debug: 20,
11565
+ info: 30,
11566
+ warn: 40,
11567
+ error: 50,
11568
+ fatal: 60
11569
+ };
11570
+ function isLagerLevel(level) {
11571
+ return level === "trace" || level === "debug" || level === "info" || level === "warn" || level === "error" || level === "fatal";
11572
+ }
11573
+ var Lager = class {
11574
+ constructor(options) {
11575
+ this._level = "info";
11576
+ this.id = "lager";
11577
+ this.levelNo = levels[this._level];
11578
+ const { level, id } = {
11579
+ level: "info",
11580
+ id: "lager",
11581
+ ...options
11582
+ };
11583
+ this.id = id;
11584
+ this._level = isLagerLevel(level) ? level : "info";
11585
+ this.levelNo = levels[this._level];
11586
+ this.log = this.log.bind(this);
11587
+ this.debug = this.debug.bind(this);
11588
+ }
11589
+ get level() {
11590
+ return this._level;
11591
+ }
11592
+ set level(level) {
11593
+ this._level = level;
11594
+ this.levelNo = levels[level];
11595
+ }
11596
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11597
+ log(...args) {
11598
+ console.log(...args);
11599
+ }
11600
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11601
+ trace(...args) {
11602
+ if (this.levelNo > levels.trace) {
11603
+ return;
11604
+ }
11605
+ console.trace(...args);
11606
+ }
11607
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11608
+ debug(...args) {
11609
+ if (this.levelNo > levels.debug) {
11610
+ return;
11611
+ }
11612
+ console.debug(...args);
11613
+ }
11614
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11615
+ info(...args) {
11616
+ if (this.levelNo > levels.info) {
11617
+ return;
11618
+ }
11619
+ console.info(...args);
11620
+ }
11621
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11622
+ warn(...args) {
11623
+ if (this.levelNo > levels.warn) {
11624
+ return;
11625
+ }
11626
+ console.warn(...args);
11627
+ }
11628
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11629
+ error(...args) {
11630
+ if (this.levelNo > levels.error) {
11631
+ return;
11632
+ }
11633
+ console.error(...args);
11634
+ }
11635
+ };
11636
+ var log = new Lager();
11113
11637
 
11114
11638
  // src/configs/md.ts
11115
- function markdown(options = {}) {
11116
- const { componentExts = [], overrides = {} } = options;
11639
+ var markdown = async (options) => {
11640
+ const { componentExts = [], overrides = {} } = options ?? {};
11117
11641
  const tsRulesOff = Object.fromEntries(
11118
11642
  // @ts-expect-error - undefined
11119
11643
  Object.keys(typescriptRulesTypeAware()).map((key) => [
@@ -11173,11 +11697,72 @@ function markdown(options = {}) {
11173
11697
  }
11174
11698
  }
11175
11699
  ];
11700
+ };
11701
+
11702
+ // src/configs/stylistic.ts
11703
+ function jsxStylistic({
11704
+ indent
11705
+ }) {
11706
+ return {
11707
+ "@stylistic/jsx-curly-brace-presence": [
11708
+ "error",
11709
+ { propElementValues: "always" }
11710
+ ],
11711
+ "@stylistic/jsx-indent": [
11712
+ "error",
11713
+ indent,
11714
+ { checkAttributes: true, indentLogicalExpressions: true }
11715
+ ],
11716
+ "@stylistic/jsx-quotes": "error"
11717
+ };
11176
11718
  }
11719
+ var stylistic = async (options) => {
11720
+ const { indent = 2, jsx = true, quotes = "double" } = options ?? {};
11721
+ return [
11722
+ {
11723
+ name: "jsse:stylistic",
11724
+ plugins: {
11725
+ // eslint-disable-next-line @typescript-eslint/naming-convention
11726
+ "@stylistic": import_eslint_plugin.default
11727
+ },
11728
+ rules: {
11729
+ "@stylistic/quote-props": ["error", "as-needed"],
11730
+ "@stylistic/quotes": [
11731
+ "error",
11732
+ quotes,
11733
+ { allowTemplateLiterals: false, avoidEscape: true }
11734
+ ],
11735
+ ...jsx ? jsxStylistic({ indent }) : {}
11736
+ }
11737
+ }
11738
+ ];
11739
+ };
11740
+
11741
+ // src/configs/tailwind.ts
11742
+ var tailwind = async () => {
11743
+ return [
11744
+ {
11745
+ name: "jsse:tailwind",
11746
+ plugins: {
11747
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
11748
+ tailwindcss: import_eslint_plugin_tailwindcss.default
11749
+ },
11750
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
11751
+ rules: {
11752
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
11753
+ ...import_eslint_plugin_tailwindcss.default.configs.recommended.rules
11754
+ }
11755
+ }
11756
+ ];
11757
+ };
11177
11758
 
11178
11759
  // src/configs/yml.ts
11179
- async function yml(options = {}) {
11180
- const { files = [GLOB_YAML], overrides = {}, stylistic: stylistic2 = true } = options;
11760
+ var yml = async (options) => {
11761
+ const {
11762
+ files = [GLOB_YAML],
11763
+ overrides = {},
11764
+ stylistic: stylistic2 = true
11765
+ } = options ?? {};
11181
11766
  const { indent = 2, quotes = "single" } = typeof stylistic2 === "boolean" ? {} : stylistic2;
11182
11767
  const [pluginYaml, parserYaml] = await Promise.all([
11183
11768
  interopDefault(import("eslint-plugin-yml")),
@@ -11222,7 +11807,16 @@ async function yml(options = {}) {
11222
11807
  }
11223
11808
  }
11224
11809
  ];
11225
- }
11810
+ };
11811
+
11812
+ // src/slow.ts
11813
+ var slowRules = [
11814
+ "@typescript-eslint/no-misused-promises",
11815
+ "@typescript-eslint/no-unsafe-assignment",
11816
+ "@typescript-eslint/no-unsafe-call",
11817
+ "@typescript-eslint/no-unsafe-member-access",
11818
+ "@typescript-eslint/no-unsafe-return"
11819
+ ];
11226
11820
 
11227
11821
  // src/factory.ts
11228
11822
  var flatConfigProps = [
@@ -11235,10 +11829,11 @@ var flatConfigProps = [
11235
11829
  "rules",
11236
11830
  "settings"
11237
11831
  ];
11832
+ var DEBUG = !!(import_node_process5.default.env.DEBUG?.toLowerCase() === "true" || import_node_process5.default.env.DEBUG === "1");
11238
11833
  function defaultOptions2() {
11239
11834
  return {
11240
11835
  componentExts: [],
11241
- debug: false,
11836
+ debug: DEBUG && import_node_process5.default.env.TEST !== "true",
11242
11837
  fast: false,
11243
11838
  gitignore: true,
11244
11839
  isInEditor: isInEditor(),
@@ -11249,6 +11844,7 @@ function defaultOptions2() {
11249
11844
  prettier: true,
11250
11845
  react: false,
11251
11846
  reportUnusedDisableDirectives: true,
11847
+ rootId: "jsse",
11252
11848
  stylistic: true,
11253
11849
  test: true,
11254
11850
  tsPrefix: "@typescript-eslint",
@@ -11294,13 +11890,33 @@ async function jsse(options = {}, ...userConfigs) {
11294
11890
  typescript: enableTypeScript
11295
11891
  } = normalizedOptions;
11296
11892
  if (debug) {
11297
- console.log("@jsse/eslint-config debug=true");
11298
- console.log("@jsse/eslint-config isInEditor", isInEditor2);
11299
- console.log("@jsse/eslint-config enableTypeScript", enableTypeScript);
11893
+ log.level = "debug";
11300
11894
  }
11895
+ log.debug("@jsse/eslint-config debug=true");
11896
+ log.debug("@jsse/eslint-config isInEditor", isInEditor2);
11897
+ log.debug("@jsse/eslint-config enableTypeScript", enableTypeScript);
11898
+ log.debug("@jsse/eslint-config normalizedOptions", normalizedOptions);
11301
11899
  const configs = [];
11302
- if (enableGitignore && import_node_fs3.default.existsSync(".gitignore")) {
11303
- configs.push([(0, import_eslint_config_flat_gitignore.default)()]);
11900
+ if (enableGitignore) {
11901
+ if (typeof enableGitignore === "boolean") {
11902
+ if (import_node_fs3.default.existsSync(".gitignore"))
11903
+ configs.push(
11904
+ interopDefault(import("eslint-config-flat-gitignore")).then((r2) => {
11905
+ const res = r2();
11906
+ log.debug("Using eslint-config-flat-gitignore", res);
11907
+ return [res];
11908
+ })
11909
+ );
11910
+ } else {
11911
+ configs.push(
11912
+ interopDefault(import("eslint-config-flat-gitignore")).then((r2) => {
11913
+ log.debug("Using eslint-config-flat-gitignore", r2);
11914
+ const res = r2(enableGitignore);
11915
+ log.debug("Using eslint-config-flat-gitignore", res);
11916
+ return [res];
11917
+ })
11918
+ );
11919
+ }
11304
11920
  }
11305
11921
  configs.push(
11306
11922
  ignores(),
@@ -11310,16 +11926,17 @@ async function jsse(options = {}, ...userConfigs) {
11310
11926
  reportUnusedDisableDirectives
11311
11927
  }),
11312
11928
  comments(),
11313
- node(),
11929
+ n(),
11314
11930
  jsdoc(),
11315
11931
  imports({
11316
11932
  stylistic: stylisticOptions
11317
11933
  }),
11318
11934
  unicorn(),
11935
+ antfu(),
11319
11936
  perfectionist()
11320
11937
  );
11321
11938
  if (enableTypeScript) {
11322
- const tscfg = await typescript({
11939
+ const tscfg = typescript({
11323
11940
  ...typeof enableTypeScript === "boolean" ? {} : enableTypeScript,
11324
11941
  componentExts,
11325
11942
  overrides: overrides.typescript,
@@ -11336,7 +11953,7 @@ async function jsse(options = {}, ...userConfigs) {
11336
11953
  configs.push(markdown());
11337
11954
  }
11338
11955
  if (normalizedOptions.yaml) {
11339
- const ymlConfig = await yml();
11956
+ const ymlConfig = yml();
11340
11957
  configs.push(ymlConfig);
11341
11958
  }
11342
11959
  if (normalizedOptions.react) {
@@ -11383,7 +12000,22 @@ async function jsse(options = {}, ...userConfigs) {
11383
12000
  if (Object.keys(fusedConfig).length > 0) {
11384
12001
  configs.push([fusedConfig]);
11385
12002
  }
12003
+ const combinedConfigs = await combineAsync(...configs, ...userConfigs);
11386
12004
  if (off && off.length > 0) {
12005
+ log.debug("Turning off rules", off);
12006
+ const currentlyActiveRules = /* @__PURE__ */ new Set();
12007
+ combinedConfigs.forEach((config) => {
12008
+ Object.keys(config.rules ?? {}).forEach(
12009
+ (rule) => currentlyActiveRules.add(rule)
12010
+ );
12011
+ });
12012
+ off.forEach((rule) => {
12013
+ if (!currentlyActiveRules.has(rule)) {
12014
+ log.info(
12015
+ `Rule \`${rule}\` is not active in the current config, you can remove it from the off list`
12016
+ );
12017
+ }
12018
+ });
11387
12019
  configs.push(
11388
12020
  off.map((rule) => ({
11389
12021
  files: ["**/*.{js,jsx,ts,tsx}"],
@@ -11393,7 +12025,32 @@ async function jsse(options = {}, ...userConfigs) {
11393
12025
  }))
11394
12026
  );
11395
12027
  }
11396
- return combine(...configs, ...userConfigs);
12028
+ if (normalizedOptions.rootId !== "jsse") {
12029
+ combinedConfigs.forEach((config) => {
12030
+ if (config.name && config.name.startsWith("jsse:")) {
12031
+ config.name = config.name.replace(
12032
+ "jsse:",
12033
+ `${normalizedOptions.rootId}:`
12034
+ );
12035
+ }
12036
+ });
12037
+ }
12038
+ if (normalizedOptions.preReturn) {
12039
+ log.debug("Running preReturn");
12040
+ const preReturned = normalizedOptions.preReturn(combinedConfigs);
12041
+ if (preReturned instanceof Promise) {
12042
+ const res = await preReturned;
12043
+ log.debug("preReturn finished");
12044
+ log.debug("final config", res);
12045
+ return res;
12046
+ } else {
12047
+ const res = preReturned;
12048
+ log.debug("preReturn finished");
12049
+ log.debug("final config", res);
12050
+ return res;
12051
+ }
12052
+ }
12053
+ return combinedConfigs;
11397
12054
  }
11398
12055
 
11399
12056
  // src/presets.ts
@@ -11435,6 +12092,7 @@ function jsseReact() {
11435
12092
  GLOB_TSX,
11436
12093
  GLOB_YAML,
11437
12094
  combine,
12095
+ combineAsync,
11438
12096
  comments,
11439
12097
  eslintConfigPrettierRules,
11440
12098
  ignores,
@@ -11448,10 +12106,11 @@ function jsseReact() {
11448
12106
  jsse,
11449
12107
  jsseReact,
11450
12108
  jssestd,
11451
- node,
12109
+ n,
11452
12110
  parserJsonc,
11453
12111
  parserTs,
11454
12112
  perfectionist,
12113
+ pluginAntfu,
11455
12114
  pluginEslintComments,
11456
12115
  pluginImport,
11457
12116
  pluginJsdoc,