lakutata 2.0.16 → 2.0.18

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.
@@ -30,9 +30,9 @@ const h = require("./options/image/ImagePullOptions.cjs");
30
30
 
31
31
  const d = require("../../decorators/dto/Accept.cjs");
32
32
 
33
- const p = require("node:readline");
33
+ const f = require("node:readline");
34
34
 
35
- const f = require("./exceptions/DockerImagePullException.cjs");
35
+ const p = require("./exceptions/DockerImagePullException.cjs");
36
36
 
37
37
  const _ = require("../../lib/helpers/IsAbortError.cjs");
38
38
 
@@ -50,23 +50,23 @@ require("../../../vendor/Package.10.cjs");
50
50
 
51
51
  const S = require("events");
52
52
 
53
- const k = require("node:fs");
53
+ const w = require("node:fs");
54
54
 
55
- const w = require("node:stream");
55
+ const k = require("node:stream");
56
56
 
57
57
  const q = require("./options/network/NetworkCreateOptions.cjs");
58
58
 
59
59
  const j = require("../../lib/helpers/As.cjs");
60
60
 
61
- const D = require("../../lib/core/Time.cjs");
61
+ const v = require("../../lib/core/Time.cjs");
62
62
 
63
- const P = require("./exceptions/DockerNetworkNotFoundException.cjs");
63
+ const D = require("./exceptions/DockerNetworkNotFoundException.cjs");
64
64
 
65
- const v = require("./options/container/ContainerSettingOptions.cjs");
65
+ const P = require("./options/container/ContainerSettingOptions.cjs");
66
66
 
67
- const I = require("./options/DockerPruneOptions.cjs");
67
+ const O = require("./options/DockerPruneOptions.cjs");
68
68
 
69
- const O = require("./options/auth/DockerAuthOptions.cjs");
69
+ const I = require("./options/auth/DockerAuthOptions.cjs");
70
70
 
71
71
  require("../../../vendor/Package.3.cjs");
72
72
 
@@ -292,20 +292,20 @@ var E = {};
292
292
 
293
293
  var L;
294
294
 
295
- var N;
295
+ var A;
296
296
 
297
- function A() {
298
- if (N) return L;
299
- N = 1;
297
+ function N() {
298
+ if (A) return L;
299
+ A = 1;
300
300
  L = typeof queueMicrotask === "function" ? queueMicrotask : e => Promise.resolve().then(e);
301
301
  return L;
302
302
  }
303
303
 
304
- var F = typeof process !== "undefined" && typeof process.nextTick === "function" ? process.nextTick.bind(process) : A();
304
+ var F = typeof process !== "undefined" && typeof process.nextTick === "function" ? process.nextTick.bind(process) : N();
305
305
 
306
- const M = x.getDefaultExportFromCjs(F);
306
+ const B = x.getDefaultExportFromCjs(F);
307
307
 
308
- var B = class FixedFIFO {
308
+ var z = class FixedFIFO {
309
309
  constructor(e) {
310
310
  if (!(e > 0) || (e - 1 & e) !== 0) throw new Error("Max size for a FixedFIFO should be a power of two");
311
311
  this.buffer = new Array(e);
@@ -340,9 +340,9 @@ var B = class FixedFIFO {
340
340
  }
341
341
  };
342
342
 
343
- const z = x.getDefaultExportFromCjs(B);
343
+ const M = x.getDefaultExportFromCjs(z);
344
344
 
345
- const R = B;
345
+ const R = z;
346
346
 
347
347
  var W = class FastFIFO {
348
348
  constructor(e) {
@@ -391,25 +391,25 @@ const {EventEmitter: H} = C.default;
391
391
 
392
392
  const $ = new Error("Stream was destroyed");
393
393
 
394
- const K = new Error("Premature close");
394
+ const Z = new Error("Premature close");
395
395
 
396
- const V = F;
396
+ const G = F;
397
397
 
398
- const G = W;
398
+ const K = W;
399
399
 
400
- const J = (1 << 28) - 1;
400
+ const V = (1 << 28) - 1;
401
401
 
402
- const Y = 1;
402
+ const J = 1;
403
403
 
404
- const X = 2;
404
+ const Y = 2;
405
405
 
406
- const Q = 4;
406
+ const X = 4;
407
407
 
408
- const Z = 8;
408
+ const Q = 8;
409
409
 
410
- const ee = J ^ Y;
410
+ const ee = V ^ J;
411
411
 
412
- const te = J ^ X;
412
+ const te = V ^ Y;
413
413
 
414
414
  const re = 1 << 4;
415
415
 
@@ -433,15 +433,15 @@ const he = 512 << 4;
433
433
 
434
434
  const de = 1024 << 4;
435
435
 
436
- const pe = 2048 << 4;
436
+ const fe = 2048 << 4;
437
437
 
438
- const fe = 4096 << 4;
438
+ const pe = 4096 << 4;
439
439
 
440
440
  const _e = 8192 << 4;
441
441
 
442
442
  const me = ae | oe;
443
443
 
444
- const ge = re | fe;
444
+ const ge = re | pe;
445
445
 
446
446
  const be = ne | re;
447
447
 
@@ -449,81 +449,81 @@ const ye = ce | se;
449
449
 
450
450
  const xe = ae | _e;
451
451
 
452
- const Se = J ^ re;
452
+ const Se = V ^ re;
453
453
 
454
- const ke = J ^ ne;
454
+ const we = V ^ ne;
455
455
 
456
- const we = J ^ (ne | fe);
456
+ const ke = V ^ (ne | pe);
457
457
 
458
- const qe = J ^ fe;
458
+ const qe = V ^ pe;
459
459
 
460
- const je = J ^ ae;
460
+ const je = V ^ ae;
461
461
 
462
- const De = J ^ (se | he);
462
+ const ve = V ^ (se | he);
463
463
 
464
- const Pe = J ^ ue;
464
+ const De = V ^ ue;
465
465
 
466
- const ve = J ^ me;
466
+ const Pe = V ^ me;
467
467
 
468
- const Ie = J ^ pe;
468
+ const Oe = V ^ fe;
469
469
 
470
- const Oe = J ^ ie;
470
+ const Ie = V ^ ie;
471
471
 
472
- const Te = J ^ _e;
472
+ const Te = V ^ _e;
473
473
 
474
- const Ce = J ^ xe;
474
+ const Ce = V ^ xe;
475
475
 
476
476
  const Ee = 1 << 18;
477
477
 
478
478
  const Le = 2 << 18;
479
479
 
480
- const Ne = 4 << 18;
480
+ const Ae = 4 << 18;
481
481
 
482
- const Ae = 8 << 18;
482
+ const Ne = 8 << 18;
483
483
 
484
484
  const Fe = 16 << 18;
485
485
 
486
- const Me = 32 << 18;
486
+ const Be = 32 << 18;
487
487
 
488
- const Be = 64 << 18;
488
+ const ze = 64 << 18;
489
489
 
490
- const ze = 128 << 18;
490
+ const Me = 128 << 18;
491
491
 
492
492
  const Re = 256 << 18;
493
493
 
494
494
  const We = 512 << 18;
495
495
 
496
- const Ue = J ^ (Ee | Re);
496
+ const Ue = V ^ (Ee | Re);
497
497
 
498
- const He = J ^ Ne;
498
+ const He = V ^ Ae;
499
499
 
500
- const $e = J ^ We;
500
+ const $e = V ^ We;
501
501
 
502
- const Ke = J ^ Fe;
502
+ const Ze = V ^ Fe;
503
503
 
504
- const Ve = J ^ Ae;
504
+ const Ge = V ^ Ne;
505
505
 
506
- const Ge = J ^ ze;
506
+ const Ke = V ^ Me;
507
507
 
508
- const Je = J ^ Le;
508
+ const Ve = V ^ Le;
509
509
 
510
- const Ye = re | Ee;
510
+ const Je = re | Ee;
511
511
 
512
- const Xe = J ^ Ye;
512
+ const Ye = V ^ Je;
513
513
 
514
- const Qe = de | Me;
514
+ const Xe = de | Be;
515
515
 
516
- const Ze = Q | Z | X;
516
+ const Qe = X | Q | Y;
517
517
 
518
- const et = Ze | Y;
518
+ const et = Qe | J;
519
519
 
520
- const tt = Ze | Qe;
520
+ const tt = Qe | Xe;
521
521
 
522
- const rt = He & ke;
522
+ const rt = He & we;
523
523
 
524
- const it = ze | pe;
524
+ const it = Me | fe;
525
525
 
526
- const nt = it & Xe;
526
+ const nt = it & Ye;
527
527
 
528
528
  const st = et | nt;
529
529
 
@@ -535,38 +535,38 @@ const ut = et | ue | se;
535
535
 
536
536
  const lt = et | ce | se | he;
537
537
 
538
- const ct = et | re | ue | de | fe | _e;
538
+ const ct = et | re | ue | de | pe | _e;
539
539
 
540
- const ht = Ze | ue | de;
540
+ const ht = Qe | ue | de;
541
541
 
542
- const dt = ie | et | pe | ne;
542
+ const dt = ie | et | fe | ne;
543
543
 
544
- const pt = et | We | Me;
544
+ const ft = et | We | Be;
545
545
 
546
- const ft = Ae | Fe;
546
+ const pt = Ne | Fe;
547
547
 
548
- const _t = Ae | Ee;
548
+ const _t = Ne | Ee;
549
549
 
550
- const mt = Ae | Fe | et | Ee;
550
+ const mt = Ne | Fe | et | Ee;
551
551
 
552
- const gt = et | Ee | Ae;
552
+ const gt = et | Ee | Ne;
553
553
 
554
- const bt = Ne | Ee;
554
+ const bt = Ae | Ee;
555
555
 
556
556
  const yt = Ee | Re;
557
557
 
558
- const xt = et | We | _t | Me;
558
+ const xt = et | We | _t | Be;
559
559
 
560
- const St = Fe | Ze | We | Me;
560
+ const St = Fe | Qe | We | Be;
561
561
 
562
- const kt = Le | et | ze | Ne;
562
+ const wt = Le | et | Me | Ae;
563
563
 
564
- const wt = Symbol.asyncIterator || Symbol("asyncIterator");
564
+ const kt = Symbol.asyncIterator || Symbol("asyncIterator");
565
565
 
566
566
  class WritableState {
567
567
  constructor(e, {highWaterMark: t = 16384, map: r = null, mapWritable: i, byteLength: n, byteLengthWritable: s} = {}) {
568
568
  this.stream = e;
569
- this.queue = new G;
569
+ this.queue = new K;
570
570
  this.highWaterMark = t;
571
571
  this.buffered = 0;
572
572
  this.error = null;
@@ -574,27 +574,27 @@ class WritableState {
574
574
  this.drains = null;
575
575
  this.byteLength = s || n || $t;
576
576
  this.map = i || r;
577
- this.afterWrite = Pt.bind(this);
578
- this.afterUpdateNextTick = Ot.bind(this);
577
+ this.afterWrite = Dt.bind(this);
578
+ this.afterUpdateNextTick = It.bind(this);
579
579
  }
580
580
  get ended() {
581
- return (this.stream._duplexState & Me) !== 0;
581
+ return (this.stream._duplexState & Be) !== 0;
582
582
  }
583
583
  push(e) {
584
584
  if (this.map !== null) e = this.map(e);
585
585
  this.buffered += this.byteLength(e);
586
586
  this.queue.push(e);
587
587
  if (this.buffered < this.highWaterMark) {
588
- this.stream._duplexState |= Ae;
588
+ this.stream._duplexState |= Ne;
589
589
  return true;
590
590
  }
591
- this.stream._duplexState |= ft;
591
+ this.stream._duplexState |= pt;
592
592
  return false;
593
593
  }
594
594
  shift() {
595
595
  const e = this.queue.shift();
596
596
  this.buffered -= this.byteLength(e);
597
- if (this.buffered === 0) this.stream._duplexState &= Ve;
597
+ if (this.buffered === 0) this.stream._duplexState &= Ge;
598
598
  return e;
599
599
  }
600
600
  end(e) {
@@ -615,14 +615,14 @@ class WritableState {
615
615
  const e = this.stream;
616
616
  e._duplexState |= Le;
617
617
  do {
618
- while ((e._duplexState & gt) === Ae) {
618
+ while ((e._duplexState & gt) === Ne) {
619
619
  const t = this.shift();
620
620
  e._duplexState |= yt;
621
621
  e._write(t, this.afterWrite);
622
622
  }
623
623
  if ((e._duplexState & bt) === 0) this.updateNonPrimary();
624
624
  } while (this.continueUpdate() === true);
625
- e._duplexState &= Je;
625
+ e._duplexState &= Ve;
626
626
  }
627
627
  updateNonPrimary() {
628
628
  const e = this.stream;
@@ -631,37 +631,37 @@ class WritableState {
631
631
  e._final(jt.bind(this));
632
632
  return;
633
633
  }
634
- if ((e._duplexState & Ze) === Q) {
634
+ if ((e._duplexState & Qe) === X) {
635
635
  if ((e._duplexState & it) === 0) {
636
- e._duplexState |= Ye;
637
- e._destroy(Dt.bind(this));
636
+ e._duplexState |= Je;
637
+ e._destroy(vt.bind(this));
638
638
  }
639
639
  return;
640
640
  }
641
- if ((e._duplexState & st) === Y) {
642
- e._duplexState = (e._duplexState | Ye) & ee;
641
+ if ((e._duplexState & st) === J) {
642
+ e._duplexState = (e._duplexState | Je) & ee;
643
643
  e._open(Ct.bind(this));
644
644
  }
645
645
  }
646
646
  continueUpdate() {
647
- if ((this.stream._duplexState & ze) === 0) return false;
648
- this.stream._duplexState &= Ge;
647
+ if ((this.stream._duplexState & Me) === 0) return false;
648
+ this.stream._duplexState &= Ke;
649
649
  return true;
650
650
  }
651
651
  updateCallback() {
652
- if ((this.stream._duplexState & kt) === Ne) this.update(); else this.updateNextTick();
652
+ if ((this.stream._duplexState & wt) === Ae) this.update(); else this.updateNextTick();
653
653
  }
654
654
  updateNextTick() {
655
- if ((this.stream._duplexState & ze) !== 0) return;
656
- this.stream._duplexState |= ze;
657
- if ((this.stream._duplexState & Le) === 0) V(this.afterUpdateNextTick);
655
+ if ((this.stream._duplexState & Me) !== 0) return;
656
+ this.stream._duplexState |= Me;
657
+ if ((this.stream._duplexState & Le) === 0) G(this.afterUpdateNextTick);
658
658
  }
659
659
  }
660
660
 
661
661
  class ReadableState {
662
662
  constructor(e, {highWaterMark: t = 16384, map: r = null, mapReadable: i, byteLength: n, byteLengthReadable: s} = {}) {
663
663
  this.stream = e;
664
- this.queue = new G;
664
+ this.queue = new K;
665
665
  this.highWaterMark = t === 0 ? 1 : t;
666
666
  this.buffered = 0;
667
667
  this.readAhead = t > 0;
@@ -670,8 +670,8 @@ class ReadableState {
670
670
  this.byteLength = s || n || $t;
671
671
  this.map = i || r;
672
672
  this.pipeTo = null;
673
- this.afterRead = vt.bind(this);
674
- this.afterUpdateNextTick = It.bind(this);
673
+ this.afterRead = Pt.bind(this);
674
+ this.afterUpdateNextTick = Ot.bind(this);
675
675
  }
676
676
  get ended() {
677
677
  return (this.stream._duplexState & de) !== 0;
@@ -682,10 +682,10 @@ class ReadableState {
682
682
  this.stream._duplexState |= oe;
683
683
  this.pipeTo = e;
684
684
  this.pipeline = new Pipeline(this.stream, e, t);
685
- if (t) this.stream.on("error", Kt);
685
+ if (t) this.stream.on("error", Zt);
686
686
  if (Rt(e)) {
687
687
  e._writableState.pipeline = this.pipeline;
688
- if (t) e.on("error", Kt);
688
+ if (t) e.on("error", Zt);
689
689
  e.on("finish", this.pipeline.finished.bind(this.pipeline));
690
690
  } else {
691
691
  const t = this.pipeline.done.bind(this.pipeline, e);
@@ -702,7 +702,7 @@ class ReadableState {
702
702
  const t = this.stream;
703
703
  if (e === null) {
704
704
  this.highWaterMark = 0;
705
- t._duplexState = (t._duplexState | ue) & we;
705
+ t._duplexState = (t._duplexState | ue) & ke;
706
706
  return false;
707
707
  }
708
708
  if (this.map !== null) e = this.map(e);
@@ -714,7 +714,7 @@ class ReadableState {
714
714
  shift() {
715
715
  const e = this.queue.shift();
716
716
  this.buffered -= this.byteLength(e);
717
- if (this.buffered === 0) this.stream._duplexState &= De;
717
+ if (this.buffered === 0) this.stream._duplexState &= ve;
718
718
  return e;
719
719
  }
720
720
  unshift(e) {
@@ -731,7 +731,7 @@ class ReadableState {
731
731
  const e = this.stream;
732
732
  if ((e._duplexState & ot) === se) {
733
733
  const t = this.shift();
734
- if (this.pipeTo !== null && this.pipeTo.write(t) === false) e._duplexState &= ve;
734
+ if (this.pipeTo !== null && this.pipeTo.write(t) === false) e._duplexState &= Pe;
735
735
  if ((e._duplexState & le) !== 0) e.emit("data", t);
736
736
  return t;
737
737
  }
@@ -745,7 +745,7 @@ class ReadableState {
745
745
  const e = this.stream;
746
746
  while ((e._duplexState & ot) === se && (e._duplexState & me) !== 0) {
747
747
  const t = this.shift();
748
- if (this.pipeTo !== null && this.pipeTo.write(t) === false) e._duplexState &= ve;
748
+ if (this.pipeTo !== null && this.pipeTo.write(t) === false) e._duplexState &= Pe;
749
749
  if ((e._duplexState & le) !== 0) e.emit("data", t);
750
750
  }
751
751
  }
@@ -765,40 +765,40 @@ class ReadableState {
765
765
  }
766
766
  if ((e._duplexState & be) === 0) this.updateNonPrimary();
767
767
  } while (this.continueUpdate() === true);
768
- e._duplexState &= Oe;
768
+ e._duplexState &= Ie;
769
769
  }
770
770
  updateNonPrimary() {
771
771
  const e = this.stream;
772
772
  if ((e._duplexState & ut) === ue) {
773
- e._duplexState = (e._duplexState | de) & Pe;
773
+ e._duplexState = (e._duplexState | de) & De;
774
774
  e.emit("end");
775
- if ((e._duplexState & tt) === Qe) e._duplexState |= Q;
775
+ if ((e._duplexState & tt) === Xe) e._duplexState |= X;
776
776
  if (this.pipeTo !== null) this.pipeTo.end();
777
777
  }
778
- if ((e._duplexState & Ze) === Q) {
778
+ if ((e._duplexState & Qe) === X) {
779
779
  if ((e._duplexState & it) === 0) {
780
- e._duplexState |= Ye;
781
- e._destroy(Dt.bind(this));
780
+ e._duplexState |= Je;
781
+ e._destroy(vt.bind(this));
782
782
  }
783
783
  return;
784
784
  }
785
- if ((e._duplexState & st) === Y) {
786
- e._duplexState = (e._duplexState | Ye) & ee;
785
+ if ((e._duplexState & st) === J) {
786
+ e._duplexState = (e._duplexState | Je) & ee;
787
787
  e._open(Ct.bind(this));
788
788
  }
789
789
  }
790
790
  continueUpdate() {
791
- if ((this.stream._duplexState & pe) === 0) return false;
792
- this.stream._duplexState &= Ie;
791
+ if ((this.stream._duplexState & fe) === 0) return false;
792
+ this.stream._duplexState &= Oe;
793
793
  return true;
794
794
  }
795
795
  updateCallback() {
796
796
  if ((this.stream._duplexState & dt) === ne) this.update(); else this.updateNextTick();
797
797
  }
798
798
  updateNextTick() {
799
- if ((this.stream._duplexState & pe) !== 0) return;
800
- this.stream._duplexState |= pe;
801
- if ((this.stream._duplexState & ie) === 0) V(this.afterUpdateNextTick);
799
+ if ((this.stream._duplexState & fe) !== 0) return;
800
+ this.stream._duplexState |= fe;
801
+ if ((this.stream._duplexState & ie) === 0) G(this.afterUpdateNextTick);
802
802
  }
803
803
  }
804
804
 
@@ -854,22 +854,22 @@ function qt() {
854
854
  function jt(e) {
855
855
  const t = this.stream;
856
856
  if (e) t.destroy(e);
857
- if ((t._duplexState & Ze) === 0) {
858
- t._duplexState |= Me;
857
+ if ((t._duplexState & Qe) === 0) {
858
+ t._duplexState |= Be;
859
859
  t.emit("finish");
860
860
  }
861
- if ((t._duplexState & tt) === Qe) {
862
- t._duplexState |= Q;
861
+ if ((t._duplexState & tt) === Xe) {
862
+ t._duplexState |= X;
863
863
  }
864
864
  t._duplexState &= Ue;
865
865
  if ((t._duplexState & Le) === 0) this.update(); else this.updateNextTick();
866
866
  }
867
867
 
868
- function Dt(e) {
868
+ function vt(e) {
869
869
  const t = this.stream;
870
870
  if (!e && this.error !== $) e = this.error;
871
871
  if (e) t.emit("error", e);
872
- t._duplexState |= Z;
872
+ t._duplexState |= Q;
873
873
  t.emit("close");
874
874
  const r = t._readableState;
875
875
  const i = t._writableState;
@@ -880,37 +880,37 @@ function Dt(e) {
880
880
  }
881
881
  }
882
882
 
883
- function Pt(e) {
883
+ function Dt(e) {
884
884
  const t = this.stream;
885
885
  if (e) t.destroy(e);
886
886
  t._duplexState &= Ue;
887
887
  if (this.drains !== null) Tt(this.drains);
888
888
  if ((t._duplexState & mt) === Fe) {
889
- t._duplexState &= Ke;
890
- if ((t._duplexState & Be) === Be) {
889
+ t._duplexState &= Ze;
890
+ if ((t._duplexState & ze) === ze) {
891
891
  t.emit("drain");
892
892
  }
893
893
  }
894
894
  this.updateCallback();
895
895
  }
896
896
 
897
- function vt(e) {
897
+ function Pt(e) {
898
898
  if (e) this.stream.destroy(e);
899
899
  this.stream._duplexState &= Se;
900
900
  if (this.readAhead === false && (this.stream._duplexState & ae) === 0) this.stream._duplexState &= Te;
901
901
  this.updateCallback();
902
902
  }
903
903
 
904
- function It() {
904
+ function Ot() {
905
905
  if ((this.stream._duplexState & ie) === 0) {
906
- this.stream._duplexState &= Ie;
906
+ this.stream._duplexState &= Oe;
907
907
  this.update();
908
908
  }
909
909
  }
910
910
 
911
- function Ot() {
911
+ function It() {
912
912
  if ((this.stream._duplexState & Le) === 0) {
913
- this.stream._duplexState &= Ge;
913
+ this.stream._duplexState &= Ke;
914
914
  this.update();
915
915
  }
916
916
  }
@@ -927,12 +927,12 @@ function Tt(e) {
927
927
  function Ct(e) {
928
928
  const t = this.stream;
929
929
  if (e) t.destroy(e);
930
- if ((t._duplexState & Q) === 0) {
930
+ if ((t._duplexState & X) === 0) {
931
931
  if ((t._duplexState & at) === 0) t._duplexState |= ne;
932
- if ((t._duplexState & pt) === 0) t._duplexState |= Ne;
932
+ if ((t._duplexState & ft) === 0) t._duplexState |= Ae;
933
933
  t.emit("open");
934
934
  }
935
- t._duplexState &= Xe;
935
+ t._duplexState &= Ye;
936
936
  if (t._writableState !== null) {
937
937
  t._writableState.updateCallback();
938
938
  }
@@ -959,7 +959,7 @@ function Lt(e) {
959
959
  }
960
960
  if (this._writableState !== null) {
961
961
  if (e === "drain") {
962
- this._duplexState |= Be;
962
+ this._duplexState |= ze;
963
963
  this._writableState.updateNextTick();
964
964
  }
965
965
  }
@@ -976,7 +976,7 @@ class Stream extends H {
976
976
  if (e.destroy) this._destroy = e.destroy;
977
977
  if (e.predestroy) this._predestroy = e.predestroy;
978
978
  if (e.signal) {
979
- e.signal.addEventListener("abort", Vt.bind(this));
979
+ e.signal.addEventListener("abort", Gt.bind(this));
980
980
  }
981
981
  }
982
982
  this.on("newListener", Lt);
@@ -995,15 +995,15 @@ class Stream extends H {
995
995
  return this._writableState !== null ? true : undefined;
996
996
  }
997
997
  get destroyed() {
998
- return (this._duplexState & Z) !== 0;
998
+ return (this._duplexState & Q) !== 0;
999
999
  }
1000
1000
  get destroying() {
1001
- return (this._duplexState & Ze) !== 0;
1001
+ return (this._duplexState & Qe) !== 0;
1002
1002
  }
1003
1003
  destroy(e) {
1004
- if ((this._duplexState & Ze) === 0) {
1004
+ if ((this._duplexState & Qe) === 0) {
1005
1005
  if (!e) e = $;
1006
- this._duplexState = (this._duplexState | Q) & rt;
1006
+ this._duplexState = (this._duplexState | X) & rt;
1007
1007
  if (this._readableState !== null) {
1008
1008
  this._readableState.highWaterMark = 0;
1009
1009
  this._readableState.error = e;
@@ -1012,7 +1012,7 @@ class Stream extends H {
1012
1012
  this._writableState.highWaterMark = 0;
1013
1013
  this._writableState.error = e;
1014
1014
  }
1015
- this._duplexState |= X;
1015
+ this._duplexState |= Y;
1016
1016
  this._predestroy();
1017
1017
  this._duplexState &= te;
1018
1018
  if (this._readableState !== null) this._readableState.updateNextTick();
@@ -1021,10 +1021,10 @@ class Stream extends H {
1021
1021
  }
1022
1022
  }
1023
1023
 
1024
- let Nt = class Readable extends Stream {
1024
+ let At = class Readable extends Stream {
1025
1025
  constructor(e) {
1026
1026
  super(e);
1027
- this._duplexState |= Y | Me | _e;
1027
+ this._duplexState |= J | Be | _e;
1028
1028
  this._readableState = new ReadableState(this, e);
1029
1029
  if (e) {
1030
1030
  if (this._readableState.readAhead === false) this._duplexState &= Te;
@@ -1083,7 +1083,7 @@ let Nt = class Readable extends Stream {
1083
1083
  }
1084
1084
  static from(e, t) {
1085
1085
  if (Ut(e)) return e;
1086
- if (e[wt]) return this._fromAsyncIterator(e[wt](), t);
1086
+ if (e[kt]) return this._fromAsyncIterator(e[kt](), t);
1087
1087
  if (!Array.isArray(e)) e = e === undefined ? [] : [ e ];
1088
1088
  let r = 0;
1089
1089
  return new Readable({
@@ -1100,7 +1100,7 @@ let Nt = class Readable extends Stream {
1100
1100
  static isPaused(e) {
1101
1101
  return (e._duplexState & ae) === 0;
1102
1102
  }
1103
- [wt]() {
1103
+ [kt]() {
1104
1104
  const e = this;
1105
1105
  let t = null;
1106
1106
  let r = null;
@@ -1111,7 +1111,7 @@ let Nt = class Readable extends Stream {
1111
1111
  this.on("readable", n);
1112
1112
  this.on("close", s);
1113
1113
  return {
1114
- [wt]() {
1114
+ [kt]() {
1115
1115
  return this;
1116
1116
  },
1117
1117
  next() {
@@ -1119,7 +1119,7 @@ let Nt = class Readable extends Stream {
1119
1119
  r = t;
1120
1120
  i = n;
1121
1121
  const s = e.read();
1122
- if (s !== null) a(s); else if ((e._duplexState & Z) !== 0) a(null);
1122
+ if (s !== null) a(s); else if ((e._duplexState & Q) !== 0) a(null);
1123
1123
  }));
1124
1124
  },
1125
1125
  return() {
@@ -1146,7 +1146,7 @@ let Nt = class Readable extends Stream {
1146
1146
  function o(t) {
1147
1147
  e.destroy(t);
1148
1148
  return new Promise(((r, i) => {
1149
- if (e._duplexState & Z) return r({
1149
+ if (e._duplexState & Q) return r({
1150
1150
  value: undefined,
1151
1151
  done: true
1152
1152
  });
@@ -1161,10 +1161,10 @@ let Nt = class Readable extends Stream {
1161
1161
  }
1162
1162
  };
1163
1163
 
1164
- let At = class Writable extends Stream {
1164
+ let Nt = class Writable extends Stream {
1165
1165
  constructor(e) {
1166
1166
  super(e);
1167
- this._duplexState |= Y | de;
1167
+ this._duplexState |= J | de;
1168
1168
  this._writableState = new WritableState(this, e);
1169
1169
  if (e) {
1170
1170
  if (e.writev) this._writev = e.writev;
@@ -1188,7 +1188,7 @@ let At = class Writable extends Stream {
1188
1188
  static drained(e) {
1189
1189
  if (e.destroyed) return Promise.resolve(false);
1190
1190
  const t = e._writableState;
1191
- const r = Gt(e) ? Math.min(1, t.queue.length) : t.queue.length;
1191
+ const r = Kt(e) ? Math.min(1, t.queue.length) : t.queue.length;
1192
1192
  const i = r + (e._duplexState & Re ? 1 : 0);
1193
1193
  if (i === 0) return Promise.resolve(true);
1194
1194
  if (t.drains === null) t.drains = [];
@@ -1210,10 +1210,10 @@ let At = class Writable extends Stream {
1210
1210
  }
1211
1211
  };
1212
1212
 
1213
- class Duplex extends Nt {
1213
+ class Duplex extends At {
1214
1214
  constructor(e) {
1215
1215
  super(e);
1216
- this._duplexState = Y | this._duplexState & _e;
1216
+ this._duplexState = J | this._duplexState & _e;
1217
1217
  this._writableState = new WritableState(this, e);
1218
1218
  if (e) {
1219
1219
  if (e.writev) this._writev = e.writev;
@@ -1296,14 +1296,14 @@ function Ft(e, t) {
1296
1296
  r(null);
1297
1297
  }
1298
1298
 
1299
- function Mt(...e) {
1300
- return new Promise(((t, r) => Bt(...e, (e => {
1299
+ function Bt(...e) {
1300
+ return new Promise(((t, r) => zt(...e, (e => {
1301
1301
  if (e) return r(e);
1302
1302
  t();
1303
1303
  }))));
1304
1304
  }
1305
1305
 
1306
- function Bt(e, ...t) {
1306
+ function zt(e, ...t) {
1307
1307
  const r = Array.isArray(e) ? [ ...e, ...t ] : [ e, ...t ];
1308
1308
  const i = r.length && typeof r[r.length - 1] === "function" ? r.pop() : null;
1309
1309
  if (r.length < 2) throw new Error("Pipeline requires at least 2 streams");
@@ -1331,7 +1331,7 @@ function Bt(e, ...t) {
1331
1331
  if (!t) i(a);
1332
1332
  }));
1333
1333
  if (t) {
1334
- s.on("close", (() => i(a || (e ? null : K))));
1334
+ s.on("close", (() => i(a || (e ? null : Z))));
1335
1335
  }
1336
1336
  }
1337
1337
  return s;
@@ -1339,8 +1339,8 @@ function Bt(e, ...t) {
1339
1339
  e.on("error", i);
1340
1340
  e.on("close", n);
1341
1341
  function n() {
1342
- if (t && e._readableState && !e._readableState.ended) return i(K);
1343
- if (r && e._writableState && !e._writableState.ended) return i(K);
1342
+ if (t && e._readableState && !e._readableState.ended) return i(Z);
1343
+ if (r && e._writableState && !e._writableState.ended) return i(Z);
1344
1344
  }
1345
1345
  }
1346
1346
  function u(e) {
@@ -1352,12 +1352,12 @@ function Bt(e, ...t) {
1352
1352
  }
1353
1353
  }
1354
1354
 
1355
- function zt(e) {
1355
+ function Mt(e) {
1356
1356
  return !!e._readableState || !!e._writableState;
1357
1357
  }
1358
1358
 
1359
1359
  function Rt(e) {
1360
- return typeof e._duplexState === "number" && zt(e);
1360
+ return typeof e._duplexState === "number" && Mt(e);
1361
1361
  }
1362
1362
 
1363
1363
  function Wt(e) {
@@ -1377,41 +1377,41 @@ function $t(e) {
1377
1377
  return Ht(e) ? e.byteLength : 1024;
1378
1378
  }
1379
1379
 
1380
- function Kt() {}
1380
+ function Zt() {}
1381
1381
 
1382
- function Vt() {
1382
+ function Gt() {
1383
1383
  this.destroy(new Error("Stream aborted."));
1384
1384
  }
1385
1385
 
1386
- function Gt(e) {
1387
- return e._writev !== At.prototype._writev && e._writev !== Duplex.prototype._writev;
1386
+ function Kt(e) {
1387
+ return e._writev !== Nt.prototype._writev && e._writev !== Duplex.prototype._writev;
1388
1388
  }
1389
1389
 
1390
- var Jt = {
1391
- pipeline: Bt,
1392
- pipelinePromise: Mt,
1393
- isStream: zt,
1390
+ var Vt = {
1391
+ pipeline: zt,
1392
+ pipelinePromise: Bt,
1393
+ isStream: Mt,
1394
1394
  isStreamx: Rt,
1395
1395
  getStreamError: Wt,
1396
1396
  Stream: Stream,
1397
- Writable: At,
1398
- Readable: Nt,
1397
+ Writable: Nt,
1398
+ Readable: At,
1399
1399
  Duplex: Duplex,
1400
1400
  Transform: Transform,
1401
1401
  PassThrough: PassThrough
1402
1402
  };
1403
1403
 
1404
- const Yt = x.getDefaultExportFromCjs(Jt);
1404
+ const Jt = x.getDefaultExportFromCjs(Vt);
1405
1405
 
1406
- function Xt(e) {
1406
+ function Yt(e) {
1407
1407
  return Buffer.isBuffer(e) || e instanceof Uint8Array;
1408
1408
  }
1409
1409
 
1410
- function Qt(e) {
1410
+ function Xt(e) {
1411
1411
  return Buffer.isEncoding(e);
1412
1412
  }
1413
1413
 
1414
- function Zt(e, t, r) {
1414
+ function Qt(e, t, r) {
1415
1415
  return Buffer.alloc(e, t, r);
1416
1416
  }
1417
1417
 
@@ -1467,11 +1467,11 @@ function dr(e) {
1467
1467
  return _r(e).swap16();
1468
1468
  }
1469
1469
 
1470
- function pr(e) {
1470
+ function fr(e) {
1471
1471
  return _r(e).swap32();
1472
1472
  }
1473
1473
 
1474
- function fr(e) {
1474
+ function pr(e) {
1475
1475
  return _r(e).swap64();
1476
1476
  }
1477
1477
 
@@ -1504,11 +1504,11 @@ function Sr(e, t, r) {
1504
1504
  return _r(e).writeInt32LE(t, r);
1505
1505
  }
1506
1506
 
1507
- function kr(e, t) {
1507
+ function wr(e, t) {
1508
1508
  return _r(e).readDoubleLE(t);
1509
1509
  }
1510
1510
 
1511
- function wr(e, t) {
1511
+ function kr(e, t) {
1512
1512
  return _r(e).readFloatLE(t);
1513
1513
  }
1514
1514
 
@@ -1520,10 +1520,10 @@ function jr(e, t) {
1520
1520
  return _r(e).readInt32LE(t);
1521
1521
  }
1522
1522
 
1523
- var Dr = {
1524
- isBuffer: Xt,
1525
- isEncoding: Qt,
1526
- alloc: Zt,
1523
+ var vr = {
1524
+ isBuffer: Yt,
1525
+ isEncoding: Xt,
1526
+ alloc: Qt,
1527
1527
  allocUnsafe: er,
1528
1528
  allocUnsafeSlow: tr,
1529
1529
  byteLength: rr,
@@ -1537,8 +1537,8 @@ var Dr = {
1537
1537
  indexOf: cr,
1538
1538
  lastIndexOf: hr,
1539
1539
  swap16: dr,
1540
- swap32: pr,
1541
- swap64: fr,
1540
+ swap32: fr,
1541
+ swap64: pr,
1542
1542
  toBuffer: _r,
1543
1543
  toString: mr,
1544
1544
  write: gr,
@@ -1546,43 +1546,43 @@ var Dr = {
1546
1546
  writeFloatLE: yr,
1547
1547
  writeUInt32LE: xr,
1548
1548
  writeInt32LE: Sr,
1549
- readDoubleLE: kr,
1550
- readFloatLE: wr,
1549
+ readDoubleLE: wr,
1550
+ readFloatLE: kr,
1551
1551
  readUInt32LE: qr,
1552
1552
  readInt32LE: jr
1553
1553
  };
1554
1554
 
1555
- const Pr = x.getDefaultExportFromCjs(Dr);
1555
+ const Dr = x.getDefaultExportFromCjs(vr);
1556
1556
 
1557
- var vr = {};
1557
+ var Pr = {};
1558
1558
 
1559
- const Ir = Dr;
1559
+ const Or = vr;
1560
1560
 
1561
- const Or = "0000000000000000000";
1561
+ const Ir = "0000000000000000000";
1562
1562
 
1563
1563
  const Tr = "7777777777777777777";
1564
1564
 
1565
1565
  const Cr = "0".charCodeAt(0);
1566
1566
 
1567
- const Er = Ir.from([ 117, 115, 116, 97, 114, 0 ]);
1567
+ const Er = Or.from([ 117, 115, 116, 97, 114, 0 ]);
1568
1568
 
1569
- const Lr = Ir.from([ Cr, Cr ]);
1569
+ const Lr = Or.from([ Cr, Cr ]);
1570
1570
 
1571
- const Nr = Ir.from([ 117, 115, 116, 97, 114, 32 ]);
1571
+ const Ar = Or.from([ 117, 115, 116, 97, 114, 32 ]);
1572
1572
 
1573
- const Ar = Ir.from([ 32, 0 ]);
1573
+ const Nr = Or.from([ 32, 0 ]);
1574
1574
 
1575
1575
  const Fr = 4095;
1576
1576
 
1577
- const Mr = 257;
1577
+ const Br = 257;
1578
1578
 
1579
- const Br = 263;
1579
+ const zr = 263;
1580
1580
 
1581
- var zr = vr.decodeLongPath = function e(t, r) {
1581
+ var Mr = Pr.decodeLongPath = function e(t, r) {
1582
1582
  return ii(t, 0, t.length, r);
1583
1583
  };
1584
1584
 
1585
- var Rr = vr.encodePax = function e(t) {
1585
+ var Rr = Pr.encodePax = function e(t) {
1586
1586
  let r = "";
1587
1587
  if (t.name) r += ni(" path=" + t.name + "\n");
1588
1588
  if (t.linkname) r += ni(" linkpath=" + t.linkname + "\n");
@@ -1592,17 +1592,17 @@ var Rr = vr.encodePax = function e(t) {
1592
1592
  r += ni(" " + e + "=" + i[e] + "\n");
1593
1593
  }
1594
1594
  }
1595
- return Ir.from(r);
1595
+ return Or.from(r);
1596
1596
  };
1597
1597
 
1598
- var Wr = vr.decodePax = function e(t) {
1598
+ var Wr = Pr.decodePax = function e(t) {
1599
1599
  const r = {};
1600
1600
  while (t.length) {
1601
1601
  let e = 0;
1602
1602
  while (e < t.length && t[e] !== 32) e++;
1603
- const i = parseInt(Ir.toString(t.subarray(0, e)), 10);
1603
+ const i = parseInt(Or.toString(t.subarray(0, e)), 10);
1604
1604
  if (!i) return r;
1605
- const n = Ir.toString(t.subarray(e + 1, i - 1));
1605
+ const n = Or.toString(t.subarray(e + 1, i - 1));
1606
1606
  const s = n.indexOf("=");
1607
1607
  if (s === -1) return r;
1608
1608
  r[n.slice(0, s)] = n.slice(s + 1);
@@ -1611,40 +1611,40 @@ var Wr = vr.decodePax = function e(t) {
1611
1611
  return r;
1612
1612
  };
1613
1613
 
1614
- var Ur = vr.encode = function e(t) {
1615
- const r = Ir.alloc(512);
1614
+ var Ur = Pr.encode = function e(t) {
1615
+ const r = Or.alloc(512);
1616
1616
  let i = t.name;
1617
1617
  let n = "";
1618
1618
  if (t.typeflag === 5 && i[i.length - 1] !== "/") i += "/";
1619
- if (Ir.byteLength(i) !== i.length) return null;
1620
- while (Ir.byteLength(i) > 100) {
1619
+ if (Or.byteLength(i) !== i.length) return null;
1620
+ while (Or.byteLength(i) > 100) {
1621
1621
  const e = i.indexOf("/");
1622
1622
  if (e === -1) return null;
1623
1623
  n += n ? "/" + i.slice(0, e) : i.slice(0, e);
1624
1624
  i = i.slice(e + 1);
1625
1625
  }
1626
- if (Ir.byteLength(i) > 100 || Ir.byteLength(n) > 155) return null;
1627
- if (t.linkname && Ir.byteLength(t.linkname) > 100) return null;
1628
- Ir.write(r, i);
1629
- Ir.write(r, Qr(t.mode & Fr, 6), 100);
1630
- Ir.write(r, Qr(t.uid, 6), 108);
1631
- Ir.write(r, Qr(t.gid, 6), 116);
1626
+ if (Or.byteLength(i) > 100 || Or.byteLength(n) > 155) return null;
1627
+ if (t.linkname && Or.byteLength(t.linkname) > 100) return null;
1628
+ Or.write(r, i);
1629
+ Or.write(r, Xr(t.mode & Fr, 6), 100);
1630
+ Or.write(r, Xr(t.uid, 6), 108);
1631
+ Or.write(r, Xr(t.gid, 6), 116);
1632
1632
  ei(t.size, r, 124);
1633
- Ir.write(r, Qr(t.mtime.getTime() / 1e3 | 0, 11), 136);
1634
- r[156] = Cr + Jr(t.type);
1635
- if (t.linkname) Ir.write(r, t.linkname, 157);
1636
- Ir.copy(Er, r, Mr);
1637
- Ir.copy(Lr, r, Br);
1638
- if (t.uname) Ir.write(r, t.uname, 265);
1639
- if (t.gname) Ir.write(r, t.gname, 297);
1640
- Ir.write(r, Qr(t.devmajor || 0, 6), 329);
1641
- Ir.write(r, Qr(t.devminor || 0, 6), 337);
1642
- if (n) Ir.write(r, n, 345);
1643
- Ir.write(r, Qr(Xr(r), 6), 148);
1633
+ Or.write(r, Xr(t.mtime.getTime() / 1e3 | 0, 11), 136);
1634
+ r[156] = Cr + Vr(t.type);
1635
+ if (t.linkname) Or.write(r, t.linkname, 157);
1636
+ Or.copy(Er, r, Br);
1637
+ Or.copy(Lr, r, zr);
1638
+ if (t.uname) Or.write(r, t.uname, 265);
1639
+ if (t.gname) Or.write(r, t.gname, 297);
1640
+ Or.write(r, Xr(t.devmajor || 0, 6), 329);
1641
+ Or.write(r, Xr(t.devminor || 0, 6), 337);
1642
+ if (n) Or.write(r, n, 345);
1643
+ Or.write(r, Xr(Yr(r), 6), 148);
1644
1644
  return r;
1645
1645
  };
1646
1646
 
1647
- var Hr = vr.decode = function e(t, r, i) {
1647
+ var Hr = Pr.decode = function e(t, r, i) {
1648
1648
  let n = t[156] === 0 ? 0 : t[156] - Cr;
1649
1649
  let s = ii(t, 0, 100, r);
1650
1650
  const a = ri(t, 100, 8);
@@ -1652,18 +1652,18 @@ var Hr = vr.decode = function e(t, r, i) {
1652
1652
  const u = ri(t, 116, 8);
1653
1653
  const l = ri(t, 124, 12);
1654
1654
  const c = ri(t, 136, 12);
1655
- const h = Gr(n);
1655
+ const h = Kr(n);
1656
1656
  const d = t[157] === 0 ? null : ii(t, 157, 100, r);
1657
- const p = ii(t, 265, 32);
1658
- const f = ii(t, 297, 32);
1657
+ const f = ii(t, 265, 32);
1658
+ const p = ii(t, 297, 32);
1659
1659
  const _ = ri(t, 329, 8);
1660
1660
  const m = ri(t, 337, 8);
1661
- const g = Xr(t);
1661
+ const g = Yr(t);
1662
1662
  if (g === 8 * 32) return null;
1663
1663
  if (g !== ri(t, 148, 8)) throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");
1664
1664
  if ($r(t)) {
1665
1665
  if (t[345]) s = ii(t, 345, 155, r) + "/" + s;
1666
- } else if (Kr(t)) {} else {
1666
+ } else if (Zr(t)) {} else {
1667
1667
  if (!i) {
1668
1668
  throw new Error("Invalid tar header: unknown format.");
1669
1669
  }
@@ -1678,8 +1678,8 @@ var Hr = vr.decode = function e(t, r, i) {
1678
1678
  mtime: new Date(1e3 * c),
1679
1679
  type: h,
1680
1680
  linkname: d,
1681
- uname: p,
1682
- gname: f,
1681
+ uname: f,
1682
+ gname: p,
1683
1683
  devmajor: _,
1684
1684
  devminor: m,
1685
1685
  pax: null
@@ -1687,14 +1687,14 @@ var Hr = vr.decode = function e(t, r, i) {
1687
1687
  };
1688
1688
 
1689
1689
  function $r(e) {
1690
- return Ir.equals(Er, e.subarray(Mr, Mr + 6));
1690
+ return Or.equals(Er, e.subarray(Br, Br + 6));
1691
1691
  }
1692
1692
 
1693
- function Kr(e) {
1694
- return Ir.equals(Nr, e.subarray(Mr, Mr + 6)) && Ir.equals(Ar, e.subarray(Br, Br + 2));
1693
+ function Zr(e) {
1694
+ return Or.equals(Ar, e.subarray(Br, Br + 6)) && Or.equals(Nr, e.subarray(zr, zr + 2));
1695
1695
  }
1696
1696
 
1697
- function Vr(e, t, r) {
1697
+ function Gr(e, t, r) {
1698
1698
  if (typeof e !== "number") return r;
1699
1699
  e = ~~e;
1700
1700
  if (e >= t) return t;
@@ -1704,7 +1704,7 @@ function Vr(e, t, r) {
1704
1704
  return 0;
1705
1705
  }
1706
1706
 
1707
- function Gr(e) {
1707
+ function Kr(e) {
1708
1708
  switch (e) {
1709
1709
  case 0:
1710
1710
  return "file";
@@ -1746,7 +1746,7 @@ function Gr(e) {
1746
1746
  return null;
1747
1747
  }
1748
1748
 
1749
- function Jr(e) {
1749
+ function Vr(e) {
1750
1750
  switch (e) {
1751
1751
  case "file":
1752
1752
  return 0;
@@ -1778,27 +1778,27 @@ function Jr(e) {
1778
1778
  return 0;
1779
1779
  }
1780
1780
 
1781
- function Yr(e, t, r, i) {
1781
+ function Jr(e, t, r, i) {
1782
1782
  for (;r < i; r++) {
1783
1783
  if (e[r] === t) return r;
1784
1784
  }
1785
1785
  return i;
1786
1786
  }
1787
1787
 
1788
- function Xr(e) {
1788
+ function Yr(e) {
1789
1789
  let t = 8 * 32;
1790
1790
  for (let r = 0; r < 148; r++) t += e[r];
1791
1791
  for (let r = 156; r < 512; r++) t += e[r];
1792
1792
  return t;
1793
1793
  }
1794
1794
 
1795
- function Qr(e, t) {
1795
+ function Xr(e, t) {
1796
1796
  e = e.toString(8);
1797
1797
  if (e.length > t) return Tr.slice(0, t) + " ";
1798
- return Or.slice(0, t - e.length) + e + " ";
1798
+ return Ir.slice(0, t - e.length) + e + " ";
1799
1799
  }
1800
1800
 
1801
- function Zr(e, t, r) {
1801
+ function Qr(e, t, r) {
1802
1802
  t[r] = 128;
1803
1803
  for (let i = 11; i > 0; i--) {
1804
1804
  t[r + i] = e & 255;
@@ -1808,9 +1808,9 @@ function Zr(e, t, r) {
1808
1808
 
1809
1809
  function ei(e, t, r) {
1810
1810
  if (e.toString(8).length > 11) {
1811
- Zr(e, t, r);
1811
+ Qr(e, t, r);
1812
1812
  } else {
1813
- Ir.write(t, Qr(e, 11), r);
1813
+ Or.write(t, Xr(e, 11), r);
1814
1814
  }
1815
1815
  }
1816
1816
 
@@ -1838,31 +1838,31 @@ function ri(e, t, r) {
1838
1838
  return ti(e);
1839
1839
  } else {
1840
1840
  while (t < e.length && e[t] === 32) t++;
1841
- const r = Vr(Yr(e, 32, t, e.length), e.length, e.length);
1841
+ const r = Gr(Jr(e, 32, t, e.length), e.length, e.length);
1842
1842
  while (t < r && e[t] === 0) t++;
1843
1843
  if (r === t) return 0;
1844
- return parseInt(Ir.toString(e.subarray(t, r)), 8);
1844
+ return parseInt(Or.toString(e.subarray(t, r)), 8);
1845
1845
  }
1846
1846
  }
1847
1847
 
1848
1848
  function ii(e, t, r, i) {
1849
- return Ir.toString(e.subarray(t, Yr(e, 0, t, t + r)), i);
1849
+ return Or.toString(e.subarray(t, Jr(e, 0, t, t + r)), i);
1850
1850
  }
1851
1851
 
1852
1852
  function ni(e) {
1853
- const t = Ir.byteLength(e);
1853
+ const t = Or.byteLength(e);
1854
1854
  let r = Math.floor(Math.log(t) / Math.log(10)) + 1;
1855
1855
  if (t + r >= Math.pow(10, r)) r++;
1856
1856
  return t + r + e;
1857
1857
  }
1858
1858
 
1859
- const {Writable: si, Readable: ai, getStreamError: oi} = Jt;
1859
+ const {Writable: si, Readable: ai, getStreamError: oi} = Vt;
1860
1860
 
1861
1861
  const ui = W;
1862
1862
 
1863
- const li = Dr;
1863
+ const li = vr;
1864
1864
 
1865
- const ci = vr;
1865
+ const ci = Pr;
1866
1866
 
1867
1867
  const hi = li.alloc(0);
1868
1868
 
@@ -1931,7 +1931,7 @@ class Source extends ai {
1931
1931
  _detach() {
1932
1932
  if (this._parent._stream === this) {
1933
1933
  this._parent._stream = null;
1934
- this._parent._missing = fi(this.header.size);
1934
+ this._parent._missing = pi(this.header.size);
1935
1935
  this._parent._update();
1936
1936
  }
1937
1937
  }
@@ -1951,7 +1951,7 @@ class Extract extends si {
1951
1951
  this._stream = null;
1952
1952
  this._missing = 0;
1953
1953
  this._longHeader = false;
1954
- this._callback = pi;
1954
+ this._callback = fi;
1955
1955
  this._locked = false;
1956
1956
  this._finished = false;
1957
1957
  this._pax = null;
@@ -2039,7 +2039,7 @@ class Extract extends si {
2039
2039
  }
2040
2040
  _consumeLongHeader() {
2041
2041
  this._longHeader = false;
2042
- this._missing = fi(this._header.size);
2042
+ this._missing = pi(this._header.size);
2043
2043
  const e = this._buffer.shift(this._header.size);
2044
2044
  try {
2045
2045
  this._decodeLongHeader(e);
@@ -2087,7 +2087,7 @@ class Extract extends si {
2087
2087
  }
2088
2088
  _continueWrite(e) {
2089
2089
  const t = this._callback;
2090
- this._callback = pi;
2090
+ this._callback = fi;
2091
2091
  t(e);
2092
2092
  }
2093
2093
  _write(e, t) {
@@ -2163,7 +2163,7 @@ class Extract extends si {
2163
2163
  }
2164
2164
  function u(e, s, a) {
2165
2165
  n = a;
2166
- s.on("error", pi);
2166
+ s.on("error", fi);
2167
2167
  if (t) {
2168
2168
  t({
2169
2169
  value: s,
@@ -2206,9 +2206,9 @@ var di = function e(t) {
2206
2206
  return new Extract(t);
2207
2207
  };
2208
2208
 
2209
- function pi() {}
2209
+ function fi() {}
2210
2210
 
2211
- function fi(e) {
2211
+ function pi(e) {
2212
2212
  e &= 511;
2213
2213
  return e && 512 - e;
2214
2214
  }
@@ -2240,21 +2240,21 @@ var yi = mi.exports;
2240
2240
 
2241
2241
  const xi = x.getDefaultExportFromCjs(yi);
2242
2242
 
2243
- const {Readable: Si, Writable: ki, getStreamError: wi} = Jt;
2243
+ const {Readable: Si, Writable: wi, getStreamError: ki} = Vt;
2244
2244
 
2245
- const qi = Dr;
2245
+ const qi = vr;
2246
2246
 
2247
2247
  const ji = yi;
2248
2248
 
2249
- const Di = vr;
2249
+ const vi = Pr;
2250
2250
 
2251
- const Pi = 493;
2251
+ const Di = 493;
2252
2252
 
2253
- const vi = 420;
2253
+ const Pi = 420;
2254
2254
 
2255
- const Ii = qi.alloc(1024);
2255
+ const Oi = qi.alloc(1024);
2256
2256
 
2257
- class Sink extends ki {
2257
+ class Sink extends wi {
2258
2258
  constructor(e, t, r) {
2259
2259
  super({
2260
2260
  mapWritable: Li,
@@ -2331,7 +2331,7 @@ class Sink extends ki {
2331
2331
  e(null);
2332
2332
  }
2333
2333
  _getError() {
2334
- return wi(this) || new Error("tar entry destroyed");
2334
+ return ki(this) || new Error("tar entry destroyed");
2335
2335
  }
2336
2336
  _predestroy() {
2337
2337
  this._pack.destroy(this._getError());
@@ -2361,7 +2361,7 @@ class Pack extends Si {
2361
2361
  if (!r) r = Ci;
2362
2362
  if (!e.size || e.type === "symlink") e.size = 0;
2363
2363
  if (!e.type) e.type = Ti(e.mode);
2364
- if (!e.mode) e.mode = e.type === "directory" ? Pi : vi;
2364
+ if (!e.mode) e.mode = e.type === "directory" ? Di : Pi;
2365
2365
  if (!e.uid) e.uid = 0;
2366
2366
  if (!e.gid) e.gid = 0;
2367
2367
  if (!e.mtime) e.mtime = new Date;
@@ -2385,7 +2385,7 @@ class Pack extends Si {
2385
2385
  }
2386
2386
  if (this._finalized) return;
2387
2387
  this._finalized = true;
2388
- this.push(Ii);
2388
+ this.push(Oi);
2389
2389
  this.push(null);
2390
2390
  }
2391
2391
  _done(e) {
@@ -2396,7 +2396,7 @@ class Pack extends Si {
2396
2396
  }
2397
2397
  _encode(e) {
2398
2398
  if (!e.pax) {
2399
- const t = Di.encode(e);
2399
+ const t = vi.encode(e);
2400
2400
  if (t) {
2401
2401
  this.push(t);
2402
2402
  return;
@@ -2405,7 +2405,7 @@ class Pack extends Si {
2405
2405
  this._encodePax(e);
2406
2406
  }
2407
2407
  _encodePax(e) {
2408
- const t = Di.encodePax({
2408
+ const t = vi.encodePax({
2409
2409
  name: e.name,
2410
2410
  linkname: e.linkname,
2411
2411
  pax: e.pax
@@ -2424,12 +2424,12 @@ class Pack extends Si {
2424
2424
  devmajor: e.devmajor,
2425
2425
  devminor: e.devminor
2426
2426
  };
2427
- this.push(Di.encode(r));
2427
+ this.push(vi.encode(r));
2428
2428
  this.push(t);
2429
2429
  Ei(this, t.byteLength);
2430
2430
  r.size = e.size;
2431
2431
  r.type = e.type;
2432
- this.push(Di.encode(r));
2432
+ this.push(vi.encode(r));
2433
2433
  }
2434
2434
  _doDrain() {
2435
2435
  const e = this._drain;
@@ -2437,7 +2437,7 @@ class Pack extends Si {
2437
2437
  e();
2438
2438
  }
2439
2439
  _predestroy() {
2440
- const e = wi(this);
2440
+ const e = ki(this);
2441
2441
  if (this._stream) this._stream.destroy(e);
2442
2442
  while (this._pending.length) {
2443
2443
  const t = this._pending.shift();
@@ -2452,7 +2452,7 @@ class Pack extends Si {
2452
2452
  }
2453
2453
  }
2454
2454
 
2455
- var Oi = function e(t) {
2455
+ var Ii = function e(t) {
2456
2456
  return new Pack(t);
2457
2457
  };
2458
2458
 
@@ -2480,18 +2480,93 @@ function Ci() {}
2480
2480
 
2481
2481
  function Ei(e, t) {
2482
2482
  t &= 511;
2483
- if (t) e.push(Ii.subarray(0, 512 - t));
2483
+ if (t) e.push(Oi.subarray(0, 512 - t));
2484
2484
  }
2485
2485
 
2486
2486
  function Li(e) {
2487
2487
  return qi.isBuffer(e) ? e : qi.from(e);
2488
2488
  }
2489
2489
 
2490
- const Ni = x.getDefaultExportFromCjs(Oi);
2490
+ const Ai = x.getDefaultExportFromCjs(Ii);
2491
+
2492
+ var Ni = E.extract = di;
2491
2493
 
2492
- var Ai = E.extract = di;
2494
+ var Fi = E.pack = Ii;
2493
2495
 
2494
- var Fi = E.pack = Oi;
2496
+ var Bi = {
2497
+ exports: {}
2498
+ };
2499
+
2500
+ var zi = Bi.exports;
2501
+
2502
+ (function(e, t) {
2503
+ (function(r) {
2504
+ "use strict";
2505
+ function i(e, t) {
2506
+ if (e instanceof Boolean || typeof e === "boolean") {
2507
+ return false;
2508
+ }
2509
+ if (!(t instanceof Object)) {
2510
+ t = {};
2511
+ }
2512
+ if (t.allowEmpty === false && e === "") {
2513
+ return false;
2514
+ }
2515
+ var r = "(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+/]{3}=)?";
2516
+ var i = "(data:\\w+\\/[a-zA-Z\\+\\-\\.]+;base64,)";
2517
+ if (t.mimeRequired === true) {
2518
+ r = i + r;
2519
+ } else if (t.allowMime === true) {
2520
+ r = i + "?" + r;
2521
+ }
2522
+ if (t.paddingRequired === false) {
2523
+ r = "(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}(==)?|[A-Za-z0-9+\\/]{3}=?)?";
2524
+ }
2525
+ return new RegExp("^" + r + "$", "gi").test(e);
2526
+ }
2527
+ if ("object" !== "undefined") {
2528
+ if ("object" !== "undefined" && e.exports) {
2529
+ t = e.exports = i;
2530
+ }
2531
+ t.isBase64 = i;
2532
+ } else if (typeof undefined === "function" && undefined.amd) {
2533
+ undefined([], (function() {
2534
+ return i;
2535
+ }));
2536
+ } else {
2537
+ r.isBase64 = i;
2538
+ }
2539
+ })(x.commonjsGlobal);
2540
+ })(Bi, Bi.exports);
2541
+
2542
+ var Mi = Bi.exports;
2543
+
2544
+ const Ri = x.getDefaultExportFromCjs(Mi);
2545
+
2546
+ function Wi({onlyFirst: e = false} = {}) {
2547
+ const t = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
2548
+ const r = [ `[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${t})`, "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))" ].join("|");
2549
+ return new RegExp(r, e ? undefined : "g");
2550
+ }
2551
+
2552
+ const Ui = Wi();
2553
+
2554
+ function Hi(e) {
2555
+ if (typeof e !== "string") {
2556
+ throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);
2557
+ }
2558
+ return e.replace(Ui, "");
2559
+ }
2560
+
2561
+ function $i(e) {
2562
+ if (typeof e !== "string") {
2563
+ throw new TypeError(`Expected a string, got ${typeof e}`);
2564
+ }
2565
+ if (e.charCodeAt(0) === 65279) {
2566
+ return e.slice(1);
2567
+ }
2568
+ return e;
2569
+ }
2495
2570
 
2496
2571
  exports.Docker = class Docker extends t.Component {
2497
2572
  #e;
@@ -2590,7 +2665,7 @@ exports.Docker = class Docker extends t.Component {
2590
2665
  try {
2591
2666
  const n = t ? await this.#e.createImage(t, i) : await this.#e.createImage(i);
2592
2667
  await new Promise(((t, r) => {
2593
- p.createInterface({
2668
+ f.createInterface({
2594
2669
  input: n
2595
2670
  }).on("line", (t => {
2596
2671
  const i = JSON.parse(t);
@@ -2600,7 +2675,7 @@ exports.Docker = class Docker extends t.Component {
2600
2675
  }));
2601
2676
  return await this.getImage(`${e.repo}:${r}`);
2602
2677
  } catch (e) {
2603
- if (!_.IsAbortError(e)) throw new f.DockerImagePullException(e.message);
2678
+ if (!_.IsAbortError(e)) throw new p.DockerImagePullException(e.message);
2604
2679
  return undefined;
2605
2680
  }
2606
2681
  }
@@ -2629,14 +2704,35 @@ exports.Docker = class Docker extends t.Component {
2629
2704
  return new Promise(((t, r) => {
2630
2705
  let n = undefined;
2631
2706
  let s = undefined;
2632
- p.createInterface({
2707
+ let a = "";
2708
+ f.createInterface({
2633
2709
  input: i
2634
2710
  }).on("line", (t => {
2635
2711
  const r = JSON.parse(t);
2636
2712
  if (r.error) s = new g.DockerImageBuildException(r.error);
2637
- if (r.aux) n = r.aux.ID;
2638
- console.log(r);
2639
- if (e.outputCallback) e.outputCallback(r);
2713
+ if (typeof r.aux !== "string") {
2714
+ if (r.aux) n = r.aux.ID;
2715
+ } else if (Ri(r.aux) && !r.stream) {
2716
+ r.stream = Buffer.from(r.aux, "base64").toString();
2717
+ }
2718
+ if (r.stream) {
2719
+ a = `${a}${r.stream}`;
2720
+ } else if (Ri(r.aux)) {
2721
+ a = `${a}${Buffer.from(r.aux, "base64").toString("ascii")}`;
2722
+ }
2723
+ const i = $i(Hi(a));
2724
+ i.replace(/[\f\n\r\t\v]/g, "\n").split("\n").forEach((t => {
2725
+ const i = Buffer.from(t).toString("ascii");
2726
+ if (i.startsWith(Buffer.from([ 8, 239 ]).toString("ascii"))) return;
2727
+ let n = t.replace(/[^\u4e00-\u9fa5^a-z^A-Z^0-9^\[^\]^\/^:^\s+^\\n]/g, "").trim();
2728
+ if (!n || n.length < 2) return;
2729
+ if (n.startsWith("Gsha256")) n = n.substring(72);
2730
+ if (n.startsWith("r")) n = n.substring(1);
2731
+ if (n.startsWith("Uwriting")) n = n.substring(1);
2732
+ if (n.startsWith("Gsha256")) n = n.substring(72);
2733
+ r.stream = n;
2734
+ if (e.outputCallback) e.outputCallback(r);
2735
+ }));
2640
2736
  })).once("close", (() => {
2641
2737
  if (s) return r(s);
2642
2738
  if (!n) return r(new g.DockerImageBuildException("Build image failed"));
@@ -2649,16 +2745,16 @@ exports.Docker = class Docker extends t.Component {
2649
2745
  }
2650
2746
  }
2651
2747
  async importImage(e) {
2652
- const t = typeof e.source === "string" ? k.createReadStream(e.source) : e.source;
2653
- const r = new w.PassThrough;
2654
- const i = new w.PassThrough;
2748
+ const t = typeof e.source === "string" ? w.createReadStream(e.source) : e.source;
2749
+ const r = new k.PassThrough;
2750
+ const i = new k.PassThrough;
2655
2751
  t.pipe(r);
2656
2752
  t.pipe(i);
2657
- const n = Ai();
2753
+ const n = Ni();
2658
2754
  let s;
2659
2755
  n.on("entry", ((e, t, r) => {
2660
2756
  if (e.name === "manifest.json") {
2661
- p.createInterface({
2757
+ f.createInterface({
2662
2758
  input: t
2663
2759
  }).on("line", (e => {
2664
2760
  const t = JSON.parse(e)[0];
@@ -2674,7 +2770,7 @@ exports.Docker = class Docker extends t.Component {
2674
2770
  });
2675
2771
  return new Promise(((e, t) => {
2676
2772
  let r = undefined;
2677
- p.createInterface({
2773
+ f.createInterface({
2678
2774
  input: a
2679
2775
  }).on("line", (e => {
2680
2776
  const t = JSON.parse(e);
@@ -2820,7 +2916,7 @@ exports.Docker = class Docker extends t.Component {
2820
2916
  range: e.IPRange,
2821
2917
  gateway: e.Gateway
2822
2918
  }))) : [],
2823
- createdAt: new D.Time(e.Created)
2919
+ createdAt: new v.Time(e.Created)
2824
2920
  })));
2825
2921
  } catch (e) {
2826
2922
  if (!_.IsAbortError(e)) throw e;
@@ -2830,7 +2926,7 @@ exports.Docker = class Docker extends t.Component {
2830
2926
  async getNetwork(e) {
2831
2927
  const t = await this.listNetworks();
2832
2928
  const r = t.find((t => t.id === e));
2833
- if (!r) throw new P.DockerNetworkNotFoundException("Network {0} not found", [ e ]);
2929
+ if (!r) throw new D.DockerNetworkNotFoundException("Network {0} not found", [ e ]);
2834
2930
  return r;
2835
2931
  }
2836
2932
  };
@@ -2862,11 +2958,11 @@ e.__decorate([ a.Configurable(o.DTO.String().optional()), e.__metadata("design:t
2862
2958
 
2863
2959
  e.__decorate([ a.Configurable(o.DTO.String().optional()), e.__metadata("design:type", Object) ], exports.Docker.prototype, "sshAuthAgent", void 0);
2864
2960
 
2865
- e.__decorate([ d.Accept(I.DockerPruneOptions.optional()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ I.DockerPruneOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "prune", null);
2961
+ e.__decorate([ d.Accept(O.DockerPruneOptions.optional()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ O.DockerPruneOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "prune", null);
2866
2962
 
2867
- e.__decorate([ d.Accept(O.DockerAuthOptions.required()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ O.DockerAuthOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "loginRepository", null);
2963
+ e.__decorate([ d.Accept(I.DockerAuthOptions.required()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ I.DockerAuthOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "loginRepository", null);
2868
2964
 
2869
- e.__decorate([ d.Accept(O.DockerAuthOptions.required()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ O.DockerAuthOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "checkRepositoryAuth", null);
2965
+ e.__decorate([ d.Accept(I.DockerAuthOptions.required()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ I.DockerAuthOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "checkRepositoryAuth", null);
2870
2966
 
2871
2967
  e.__decorate([ d.Accept(h.ImagePullOptions.required()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ h.ImagePullOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "pullImage", null);
2872
2968
 
@@ -2878,7 +2974,7 @@ e.__decorate([ d.Accept(o.DTO.String().required()), e.__metadata("design:type",
2878
2974
 
2879
2975
  e.__decorate([ d.Accept(o.DTO.String().required()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ String ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "getContainer", null);
2880
2976
 
2881
- e.__decorate([ d.Accept(o.DTO.String().required(), o.DTO.String().required(), v.ContainerSettingOptions.required()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ String, String, v.ContainerSettingOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "createContainer", null);
2977
+ e.__decorate([ d.Accept(o.DTO.String().required(), o.DTO.String().required(), P.ContainerSettingOptions.required()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ String, String, P.ContainerSettingOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "createContainer", null);
2882
2978
 
2883
2979
  e.__decorate([ d.Accept(q.NetworkCreateOptions.required()), e.__metadata("design:type", Function), e.__metadata("design:paramtypes", [ q.NetworkCreateOptions ]), e.__metadata("design:returntype", Promise) ], exports.Docker.prototype, "createNetwork", null);
2884
2980