lakutata 2.0.16 → 2.0.17
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/orm.mjs +13 -13
- package/package.json +1 -1
- package/src/components/docker/Docker.cjs +236 -183
- package/src/components/docker/Docker.mjs +583 -530
- package/src/decorators/orm/Column.cjs +1 -1
- package/src/decorators/orm/Column.mjs +2 -2
- package/src/decorators/orm/PrimaryColumn.cjs +1 -1
- package/src/decorators/orm/PrimaryColumn.mjs +2 -2
- package/vendor/Package.14.cjs +20 -18
- package/vendor/Package.14.mjs +19 -17
- package/vendor/Package.16.cjs +194 -205
|
@@ -60,13 +60,13 @@ const j = require("../../lib/helpers/As.cjs");
|
|
|
60
60
|
|
|
61
61
|
const D = require("../../lib/core/Time.cjs");
|
|
62
62
|
|
|
63
|
-
const
|
|
63
|
+
const v = require("./exceptions/DockerNetworkNotFoundException.cjs");
|
|
64
64
|
|
|
65
|
-
const
|
|
65
|
+
const P = require("./options/container/ContainerSettingOptions.cjs");
|
|
66
66
|
|
|
67
|
-
const
|
|
67
|
+
const O = require("./options/DockerPruneOptions.cjs");
|
|
68
68
|
|
|
69
|
-
const
|
|
69
|
+
const I = require("./options/auth/DockerAuthOptions.cjs");
|
|
70
70
|
|
|
71
71
|
require("../../../vendor/Package.3.cjs");
|
|
72
72
|
|
|
@@ -292,16 +292,16 @@ var E = {};
|
|
|
292
292
|
|
|
293
293
|
var L;
|
|
294
294
|
|
|
295
|
-
var
|
|
295
|
+
var A;
|
|
296
296
|
|
|
297
|
-
function
|
|
298
|
-
if (
|
|
299
|
-
|
|
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) :
|
|
304
|
+
var F = typeof process !== "undefined" && typeof process.nextTick === "function" ? process.nextTick.bind(process) : N();
|
|
305
305
|
|
|
306
306
|
const M = x.getDefaultExportFromCjs(F);
|
|
307
307
|
|
|
@@ -397,19 +397,19 @@ const V = F;
|
|
|
397
397
|
|
|
398
398
|
const G = W;
|
|
399
399
|
|
|
400
|
-
const
|
|
400
|
+
const Z = (1 << 28) - 1;
|
|
401
401
|
|
|
402
|
-
const
|
|
402
|
+
const J = 1;
|
|
403
403
|
|
|
404
|
-
const
|
|
404
|
+
const Y = 2;
|
|
405
405
|
|
|
406
|
-
const
|
|
406
|
+
const X = 4;
|
|
407
407
|
|
|
408
|
-
const
|
|
408
|
+
const Q = 8;
|
|
409
409
|
|
|
410
|
-
const ee =
|
|
410
|
+
const ee = Z ^ J;
|
|
411
411
|
|
|
412
|
-
const te =
|
|
412
|
+
const te = Z ^ Y;
|
|
413
413
|
|
|
414
414
|
const re = 1 << 4;
|
|
415
415
|
|
|
@@ -449,37 +449,37 @@ const ye = ce | se;
|
|
|
449
449
|
|
|
450
450
|
const xe = ae | _e;
|
|
451
451
|
|
|
452
|
-
const Se =
|
|
452
|
+
const Se = Z ^ re;
|
|
453
453
|
|
|
454
|
-
const ke =
|
|
454
|
+
const ke = Z ^ ne;
|
|
455
455
|
|
|
456
|
-
const we =
|
|
456
|
+
const we = Z ^ (ne | fe);
|
|
457
457
|
|
|
458
|
-
const qe =
|
|
458
|
+
const qe = Z ^ fe;
|
|
459
459
|
|
|
460
|
-
const je =
|
|
460
|
+
const je = Z ^ ae;
|
|
461
461
|
|
|
462
|
-
const De =
|
|
462
|
+
const De = Z ^ (se | he);
|
|
463
463
|
|
|
464
|
-
const
|
|
464
|
+
const ve = Z ^ ue;
|
|
465
465
|
|
|
466
|
-
const
|
|
466
|
+
const Pe = Z ^ me;
|
|
467
467
|
|
|
468
|
-
const
|
|
468
|
+
const Oe = Z ^ pe;
|
|
469
469
|
|
|
470
|
-
const
|
|
470
|
+
const Ie = Z ^ ie;
|
|
471
471
|
|
|
472
|
-
const Te =
|
|
472
|
+
const Te = Z ^ _e;
|
|
473
473
|
|
|
474
|
-
const Ce =
|
|
474
|
+
const Ce = Z ^ xe;
|
|
475
475
|
|
|
476
476
|
const Ee = 1 << 18;
|
|
477
477
|
|
|
478
478
|
const Le = 2 << 18;
|
|
479
479
|
|
|
480
|
-
const
|
|
480
|
+
const Ae = 4 << 18;
|
|
481
481
|
|
|
482
|
-
const
|
|
482
|
+
const Ne = 8 << 18;
|
|
483
483
|
|
|
484
484
|
const Fe = 16 << 18;
|
|
485
485
|
|
|
@@ -493,37 +493,37 @@ const Re = 256 << 18;
|
|
|
493
493
|
|
|
494
494
|
const We = 512 << 18;
|
|
495
495
|
|
|
496
|
-
const Ue =
|
|
496
|
+
const Ue = Z ^ (Ee | Re);
|
|
497
497
|
|
|
498
|
-
const He =
|
|
498
|
+
const He = Z ^ Ae;
|
|
499
499
|
|
|
500
|
-
const $e =
|
|
500
|
+
const $e = Z ^ We;
|
|
501
501
|
|
|
502
|
-
const Ke =
|
|
502
|
+
const Ke = Z ^ Fe;
|
|
503
503
|
|
|
504
|
-
const Ve =
|
|
504
|
+
const Ve = Z ^ Ne;
|
|
505
505
|
|
|
506
|
-
const Ge =
|
|
506
|
+
const Ge = Z ^ ze;
|
|
507
507
|
|
|
508
|
-
const
|
|
508
|
+
const Ze = Z ^ Le;
|
|
509
509
|
|
|
510
|
-
const
|
|
510
|
+
const Je = re | Ee;
|
|
511
511
|
|
|
512
|
-
const
|
|
512
|
+
const Ye = Z ^ Je;
|
|
513
513
|
|
|
514
|
-
const
|
|
514
|
+
const Xe = de | Me;
|
|
515
515
|
|
|
516
|
-
const
|
|
516
|
+
const Qe = X | Q | Y;
|
|
517
517
|
|
|
518
|
-
const et =
|
|
518
|
+
const et = Qe | J;
|
|
519
519
|
|
|
520
|
-
const tt =
|
|
520
|
+
const tt = Qe | Xe;
|
|
521
521
|
|
|
522
522
|
const rt = He & ke;
|
|
523
523
|
|
|
524
524
|
const it = ze | pe;
|
|
525
525
|
|
|
526
|
-
const nt = it &
|
|
526
|
+
const nt = it & Ye;
|
|
527
527
|
|
|
528
528
|
const st = et | nt;
|
|
529
529
|
|
|
@@ -537,29 +537,29 @@ const lt = et | ce | se | he;
|
|
|
537
537
|
|
|
538
538
|
const ct = et | re | ue | de | fe | _e;
|
|
539
539
|
|
|
540
|
-
const ht =
|
|
540
|
+
const ht = Qe | ue | de;
|
|
541
541
|
|
|
542
542
|
const dt = ie | et | pe | ne;
|
|
543
543
|
|
|
544
544
|
const pt = et | We | Me;
|
|
545
545
|
|
|
546
|
-
const ft =
|
|
546
|
+
const ft = Ne | Fe;
|
|
547
547
|
|
|
548
|
-
const _t =
|
|
548
|
+
const _t = Ne | Ee;
|
|
549
549
|
|
|
550
|
-
const mt =
|
|
550
|
+
const mt = Ne | Fe | et | Ee;
|
|
551
551
|
|
|
552
|
-
const gt = et | Ee |
|
|
552
|
+
const gt = et | Ee | Ne;
|
|
553
553
|
|
|
554
|
-
const bt =
|
|
554
|
+
const bt = Ae | Ee;
|
|
555
555
|
|
|
556
556
|
const yt = Ee | Re;
|
|
557
557
|
|
|
558
558
|
const xt = et | We | _t | Me;
|
|
559
559
|
|
|
560
|
-
const St = Fe |
|
|
560
|
+
const St = Fe | Qe | We | Me;
|
|
561
561
|
|
|
562
|
-
const kt = Le | et | ze |
|
|
562
|
+
const kt = Le | et | ze | Ae;
|
|
563
563
|
|
|
564
564
|
const wt = Symbol.asyncIterator || Symbol("asyncIterator");
|
|
565
565
|
|
|
@@ -574,8 +574,8 @@ class WritableState {
|
|
|
574
574
|
this.drains = null;
|
|
575
575
|
this.byteLength = s || n || $t;
|
|
576
576
|
this.map = i || r;
|
|
577
|
-
this.afterWrite =
|
|
578
|
-
this.afterUpdateNextTick =
|
|
577
|
+
this.afterWrite = vt.bind(this);
|
|
578
|
+
this.afterUpdateNextTick = It.bind(this);
|
|
579
579
|
}
|
|
580
580
|
get ended() {
|
|
581
581
|
return (this.stream._duplexState & Me) !== 0;
|
|
@@ -585,7 +585,7 @@ class WritableState {
|
|
|
585
585
|
this.buffered += this.byteLength(e);
|
|
586
586
|
this.queue.push(e);
|
|
587
587
|
if (this.buffered < this.highWaterMark) {
|
|
588
|
-
this.stream._duplexState |=
|
|
588
|
+
this.stream._duplexState |= Ne;
|
|
589
589
|
return true;
|
|
590
590
|
}
|
|
591
591
|
this.stream._duplexState |= ft;
|
|
@@ -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) ===
|
|
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 &=
|
|
625
|
+
e._duplexState &= Ze;
|
|
626
626
|
}
|
|
627
627
|
updateNonPrimary() {
|
|
628
628
|
const e = this.stream;
|
|
@@ -631,15 +631,15 @@ class WritableState {
|
|
|
631
631
|
e._final(jt.bind(this));
|
|
632
632
|
return;
|
|
633
633
|
}
|
|
634
|
-
if ((e._duplexState &
|
|
634
|
+
if ((e._duplexState & Qe) === X) {
|
|
635
635
|
if ((e._duplexState & it) === 0) {
|
|
636
|
-
e._duplexState |=
|
|
636
|
+
e._duplexState |= Je;
|
|
637
637
|
e._destroy(Dt.bind(this));
|
|
638
638
|
}
|
|
639
639
|
return;
|
|
640
640
|
}
|
|
641
|
-
if ((e._duplexState & st) ===
|
|
642
|
-
e._duplexState = (e._duplexState |
|
|
641
|
+
if ((e._duplexState & st) === J) {
|
|
642
|
+
e._duplexState = (e._duplexState | Je) & ee;
|
|
643
643
|
e._open(Ct.bind(this));
|
|
644
644
|
}
|
|
645
645
|
}
|
|
@@ -649,7 +649,7 @@ class WritableState {
|
|
|
649
649
|
return true;
|
|
650
650
|
}
|
|
651
651
|
updateCallback() {
|
|
652
|
-
if ((this.stream._duplexState & kt) ===
|
|
652
|
+
if ((this.stream._duplexState & kt) === Ae) this.update(); else this.updateNextTick();
|
|
653
653
|
}
|
|
654
654
|
updateNextTick() {
|
|
655
655
|
if ((this.stream._duplexState & ze) !== 0) return;
|
|
@@ -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 =
|
|
674
|
-
this.afterUpdateNextTick =
|
|
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;
|
|
@@ -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 &=
|
|
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 &=
|
|
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,31 +765,31 @@ class ReadableState {
|
|
|
765
765
|
}
|
|
766
766
|
if ((e._duplexState & be) === 0) this.updateNonPrimary();
|
|
767
767
|
} while (this.continueUpdate() === true);
|
|
768
|
-
e._duplexState &=
|
|
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) &
|
|
773
|
+
e._duplexState = (e._duplexState | de) & ve;
|
|
774
774
|
e.emit("end");
|
|
775
|
-
if ((e._duplexState & tt) ===
|
|
775
|
+
if ((e._duplexState & tt) === Xe) e._duplexState |= X;
|
|
776
776
|
if (this.pipeTo !== null) this.pipeTo.end();
|
|
777
777
|
}
|
|
778
|
-
if ((e._duplexState &
|
|
778
|
+
if ((e._duplexState & Qe) === X) {
|
|
779
779
|
if ((e._duplexState & it) === 0) {
|
|
780
|
-
e._duplexState |=
|
|
780
|
+
e._duplexState |= Je;
|
|
781
781
|
e._destroy(Dt.bind(this));
|
|
782
782
|
}
|
|
783
783
|
return;
|
|
784
784
|
}
|
|
785
|
-
if ((e._duplexState & st) ===
|
|
786
|
-
e._duplexState = (e._duplexState |
|
|
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
791
|
if ((this.stream._duplexState & pe) === 0) return false;
|
|
792
|
-
this.stream._duplexState &=
|
|
792
|
+
this.stream._duplexState &= Oe;
|
|
793
793
|
return true;
|
|
794
794
|
}
|
|
795
795
|
updateCallback() {
|
|
@@ -854,12 +854,12 @@ function qt() {
|
|
|
854
854
|
function jt(e) {
|
|
855
855
|
const t = this.stream;
|
|
856
856
|
if (e) t.destroy(e);
|
|
857
|
-
if ((t._duplexState &
|
|
857
|
+
if ((t._duplexState & Qe) === 0) {
|
|
858
858
|
t._duplexState |= Me;
|
|
859
859
|
t.emit("finish");
|
|
860
860
|
}
|
|
861
|
-
if ((t._duplexState & tt) ===
|
|
862
|
-
t._duplexState |=
|
|
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();
|
|
@@ -869,7 +869,7 @@ function Dt(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 |=
|
|
872
|
+
t._duplexState |= Q;
|
|
873
873
|
t.emit("close");
|
|
874
874
|
const r = t._readableState;
|
|
875
875
|
const i = t._writableState;
|
|
@@ -880,7 +880,7 @@ function Dt(e) {
|
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
882
|
|
|
883
|
-
function
|
|
883
|
+
function vt(e) {
|
|
884
884
|
const t = this.stream;
|
|
885
885
|
if (e) t.destroy(e);
|
|
886
886
|
t._duplexState &= Ue;
|
|
@@ -894,21 +894,21 @@ function Pt(e) {
|
|
|
894
894
|
this.updateCallback();
|
|
895
895
|
}
|
|
896
896
|
|
|
897
|
-
function
|
|
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
|
|
904
|
+
function Ot() {
|
|
905
905
|
if ((this.stream._duplexState & ie) === 0) {
|
|
906
|
-
this.stream._duplexState &=
|
|
906
|
+
this.stream._duplexState &= Oe;
|
|
907
907
|
this.update();
|
|
908
908
|
}
|
|
909
909
|
}
|
|
910
910
|
|
|
911
|
-
function
|
|
911
|
+
function It() {
|
|
912
912
|
if ((this.stream._duplexState & Le) === 0) {
|
|
913
913
|
this.stream._duplexState &= Ge;
|
|
914
914
|
this.update();
|
|
@@ -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 &
|
|
930
|
+
if ((t._duplexState & X) === 0) {
|
|
931
931
|
if ((t._duplexState & at) === 0) t._duplexState |= ne;
|
|
932
|
-
if ((t._duplexState & pt) === 0) t._duplexState |=
|
|
932
|
+
if ((t._duplexState & pt) === 0) t._duplexState |= Ae;
|
|
933
933
|
t.emit("open");
|
|
934
934
|
}
|
|
935
|
-
t._duplexState &=
|
|
935
|
+
t._duplexState &= Ye;
|
|
936
936
|
if (t._writableState !== null) {
|
|
937
937
|
t._writableState.updateCallback();
|
|
938
938
|
}
|
|
@@ -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 &
|
|
998
|
+
return (this._duplexState & Q) !== 0;
|
|
999
999
|
}
|
|
1000
1000
|
get destroying() {
|
|
1001
|
-
return (this._duplexState &
|
|
1001
|
+
return (this._duplexState & Qe) !== 0;
|
|
1002
1002
|
}
|
|
1003
1003
|
destroy(e) {
|
|
1004
|
-
if ((this._duplexState &
|
|
1004
|
+
if ((this._duplexState & Qe) === 0) {
|
|
1005
1005
|
if (!e) e = $;
|
|
1006
|
-
this._duplexState = (this._duplexState |
|
|
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 |=
|
|
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
|
|
1024
|
+
let At = class Readable extends Stream {
|
|
1025
1025
|
constructor(e) {
|
|
1026
1026
|
super(e);
|
|
1027
|
-
this._duplexState |=
|
|
1027
|
+
this._duplexState |= J | Me | _e;
|
|
1028
1028
|
this._readableState = new ReadableState(this, e);
|
|
1029
1029
|
if (e) {
|
|
1030
1030
|
if (this._readableState.readAhead === false) this._duplexState &= Te;
|
|
@@ -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 &
|
|
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 &
|
|
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
|
|
1164
|
+
let Nt = class Writable extends Stream {
|
|
1165
1165
|
constructor(e) {
|
|
1166
1166
|
super(e);
|
|
1167
|
-
this._duplexState |=
|
|
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;
|
|
@@ -1210,10 +1210,10 @@ let At = class Writable extends Stream {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
};
|
|
1212
1212
|
|
|
1213
|
-
class Duplex extends
|
|
1213
|
+
class Duplex extends At {
|
|
1214
1214
|
constructor(e) {
|
|
1215
1215
|
super(e);
|
|
1216
|
-
this._duplexState =
|
|
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;
|
|
@@ -1384,34 +1384,34 @@ function Vt() {
|
|
|
1384
1384
|
}
|
|
1385
1385
|
|
|
1386
1386
|
function Gt(e) {
|
|
1387
|
-
return e._writev !==
|
|
1387
|
+
return e._writev !== Nt.prototype._writev && e._writev !== Duplex.prototype._writev;
|
|
1388
1388
|
}
|
|
1389
1389
|
|
|
1390
|
-
var
|
|
1390
|
+
var Zt = {
|
|
1391
1391
|
pipeline: Bt,
|
|
1392
1392
|
pipelinePromise: Mt,
|
|
1393
1393
|
isStream: zt,
|
|
1394
1394
|
isStreamx: Rt,
|
|
1395
1395
|
getStreamError: Wt,
|
|
1396
1396
|
Stream: Stream,
|
|
1397
|
-
Writable:
|
|
1398
|
-
Readable:
|
|
1397
|
+
Writable: Nt,
|
|
1398
|
+
Readable: At,
|
|
1399
1399
|
Duplex: Duplex,
|
|
1400
1400
|
Transform: Transform,
|
|
1401
1401
|
PassThrough: PassThrough
|
|
1402
1402
|
};
|
|
1403
1403
|
|
|
1404
|
-
const
|
|
1404
|
+
const Jt = x.getDefaultExportFromCjs(Zt);
|
|
1405
1405
|
|
|
1406
|
-
function
|
|
1406
|
+
function Yt(e) {
|
|
1407
1407
|
return Buffer.isBuffer(e) || e instanceof Uint8Array;
|
|
1408
1408
|
}
|
|
1409
1409
|
|
|
1410
|
-
function
|
|
1410
|
+
function Xt(e) {
|
|
1411
1411
|
return Buffer.isEncoding(e);
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
|
-
function
|
|
1414
|
+
function Qt(e, t, r) {
|
|
1415
1415
|
return Buffer.alloc(e, t, r);
|
|
1416
1416
|
}
|
|
1417
1417
|
|
|
@@ -1521,9 +1521,9 @@ function jr(e, t) {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
|
|
1523
1523
|
var Dr = {
|
|
1524
|
-
isBuffer:
|
|
1525
|
-
isEncoding:
|
|
1526
|
-
alloc:
|
|
1524
|
+
isBuffer: Yt,
|
|
1525
|
+
isEncoding: Xt,
|
|
1526
|
+
alloc: Qt,
|
|
1527
1527
|
allocUnsafe: er,
|
|
1528
1528
|
allocUnsafeSlow: tr,
|
|
1529
1529
|
byteLength: rr,
|
|
@@ -1552,25 +1552,25 @@ var Dr = {
|
|
|
1552
1552
|
readInt32LE: jr
|
|
1553
1553
|
};
|
|
1554
1554
|
|
|
1555
|
-
const
|
|
1555
|
+
const vr = x.getDefaultExportFromCjs(Dr);
|
|
1556
1556
|
|
|
1557
|
-
var
|
|
1557
|
+
var Pr = {};
|
|
1558
1558
|
|
|
1559
|
-
const
|
|
1559
|
+
const Or = Dr;
|
|
1560
1560
|
|
|
1561
|
-
const
|
|
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 =
|
|
1567
|
+
const Er = Or.from([ 117, 115, 116, 97, 114, 0 ]);
|
|
1568
1568
|
|
|
1569
|
-
const Lr =
|
|
1569
|
+
const Lr = Or.from([ Cr, Cr ]);
|
|
1570
1570
|
|
|
1571
|
-
const
|
|
1571
|
+
const Ar = Or.from([ 117, 115, 116, 97, 114, 32 ]);
|
|
1572
1572
|
|
|
1573
|
-
const
|
|
1573
|
+
const Nr = Or.from([ 32, 0 ]);
|
|
1574
1574
|
|
|
1575
1575
|
const Fr = 4095;
|
|
1576
1576
|
|
|
@@ -1578,11 +1578,11 @@ const Mr = 257;
|
|
|
1578
1578
|
|
|
1579
1579
|
const Br = 263;
|
|
1580
1580
|
|
|
1581
|
-
var zr =
|
|
1581
|
+
var zr = Pr.decodeLongPath = function e(t, r) {
|
|
1582
1582
|
return ii(t, 0, t.length, r);
|
|
1583
1583
|
};
|
|
1584
1584
|
|
|
1585
|
-
var Rr =
|
|
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
|
|
1595
|
+
return Or.from(r);
|
|
1596
1596
|
};
|
|
1597
1597
|
|
|
1598
|
-
var Wr =
|
|
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(
|
|
1603
|
+
const i = parseInt(Or.toString(t.subarray(0, e)), 10);
|
|
1604
1604
|
if (!i) return r;
|
|
1605
|
-
const n =
|
|
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 =
|
|
1615
|
-
const r =
|
|
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 (
|
|
1620
|
-
while (
|
|
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 (
|
|
1627
|
-
if (t.linkname &&
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
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
|
-
|
|
1634
|
-
r[156] = Cr +
|
|
1635
|
-
if (t.linkname)
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
if (t.uname)
|
|
1639
|
-
if (t.gname)
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
if (n)
|
|
1643
|
-
|
|
1633
|
+
Or.write(r, Xr(t.mtime.getTime() / 1e3 | 0, 11), 136);
|
|
1634
|
+
r[156] = Cr + Zr(t.type);
|
|
1635
|
+
if (t.linkname) Or.write(r, t.linkname, 157);
|
|
1636
|
+
Or.copy(Er, r, Mr);
|
|
1637
|
+
Or.copy(Lr, r, Br);
|
|
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 =
|
|
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);
|
|
@@ -1658,7 +1658,7 @@ var Hr = vr.decode = function e(t, r, i) {
|
|
|
1658
1658
|
const f = ii(t, 297, 32);
|
|
1659
1659
|
const _ = ri(t, 329, 8);
|
|
1660
1660
|
const m = ri(t, 337, 8);
|
|
1661
|
-
const g =
|
|
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)) {
|
|
@@ -1687,11 +1687,11 @@ var Hr = vr.decode = function e(t, r, i) {
|
|
|
1687
1687
|
};
|
|
1688
1688
|
|
|
1689
1689
|
function $r(e) {
|
|
1690
|
-
return
|
|
1690
|
+
return Or.equals(Er, e.subarray(Mr, Mr + 6));
|
|
1691
1691
|
}
|
|
1692
1692
|
|
|
1693
1693
|
function Kr(e) {
|
|
1694
|
-
return
|
|
1694
|
+
return Or.equals(Ar, e.subarray(Mr, Mr + 6)) && Or.equals(Nr, e.subarray(Br, Br + 2));
|
|
1695
1695
|
}
|
|
1696
1696
|
|
|
1697
1697
|
function Vr(e, t, r) {
|
|
@@ -1746,7 +1746,7 @@ function Gr(e) {
|
|
|
1746
1746
|
return null;
|
|
1747
1747
|
}
|
|
1748
1748
|
|
|
1749
|
-
function
|
|
1749
|
+
function Zr(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
|
|
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
|
|
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
|
|
1795
|
+
function Xr(e, t) {
|
|
1796
1796
|
e = e.toString(8);
|
|
1797
1797
|
if (e.length > t) return Tr.slice(0, t) + " ";
|
|
1798
|
-
return
|
|
1798
|
+
return Ir.slice(0, t - e.length) + e + " ";
|
|
1799
1799
|
}
|
|
1800
1800
|
|
|
1801
|
-
function
|
|
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
|
-
|
|
1811
|
+
Qr(e, t, r);
|
|
1812
1812
|
} else {
|
|
1813
|
-
|
|
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(
|
|
1841
|
+
const r = Vr(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(
|
|
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
|
|
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 =
|
|
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} =
|
|
1859
|
+
const {Writable: si, Readable: ai, getStreamError: oi} = Zt;
|
|
1860
1860
|
|
|
1861
1861
|
const ui = W;
|
|
1862
1862
|
|
|
1863
1863
|
const li = Dr;
|
|
1864
1864
|
|
|
1865
|
-
const ci =
|
|
1865
|
+
const ci = Pr;
|
|
1866
1866
|
|
|
1867
1867
|
const hi = li.alloc(0);
|
|
1868
1868
|
|
|
@@ -2240,19 +2240,19 @@ var yi = mi.exports;
|
|
|
2240
2240
|
|
|
2241
2241
|
const xi = x.getDefaultExportFromCjs(yi);
|
|
2242
2242
|
|
|
2243
|
-
const {Readable: Si, Writable: ki, getStreamError: wi} =
|
|
2243
|
+
const {Readable: Si, Writable: ki, getStreamError: wi} = Zt;
|
|
2244
2244
|
|
|
2245
2245
|
const qi = Dr;
|
|
2246
2246
|
|
|
2247
2247
|
const ji = yi;
|
|
2248
2248
|
|
|
2249
|
-
const Di =
|
|
2249
|
+
const Di = Pr;
|
|
2250
2250
|
|
|
2251
|
-
const
|
|
2251
|
+
const vi = 493;
|
|
2252
2252
|
|
|
2253
|
-
const
|
|
2253
|
+
const Pi = 420;
|
|
2254
2254
|
|
|
2255
|
-
const
|
|
2255
|
+
const Oi = qi.alloc(1024);
|
|
2256
2256
|
|
|
2257
2257
|
class Sink extends ki {
|
|
2258
2258
|
constructor(e, t, r) {
|
|
@@ -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" ?
|
|
2364
|
+
if (!e.mode) e.mode = e.type === "directory" ? vi : 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(
|
|
2388
|
+
this.push(Oi);
|
|
2389
2389
|
this.push(null);
|
|
2390
2390
|
}
|
|
2391
2391
|
_done(e) {
|
|
@@ -2452,7 +2452,7 @@ class Pack extends Si {
|
|
|
2452
2452
|
}
|
|
2453
2453
|
}
|
|
2454
2454
|
|
|
2455
|
-
var
|
|
2455
|
+
var Ii = function e(t) {
|
|
2456
2456
|
return new Pack(t);
|
|
2457
2457
|
};
|
|
2458
2458
|
|
|
@@ -2480,18 +2480,68 @@ function Ci() {}
|
|
|
2480
2480
|
|
|
2481
2481
|
function Ei(e, t) {
|
|
2482
2482
|
t &= 511;
|
|
2483
|
-
if (t) e.push(
|
|
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
|
|
2490
|
+
const Ai = x.getDefaultExportFromCjs(Ii);
|
|
2491
|
+
|
|
2492
|
+
var Ni = E.extract = di;
|
|
2493
|
+
|
|
2494
|
+
var Fi = E.pack = Ii;
|
|
2495
|
+
|
|
2496
|
+
var Mi = {
|
|
2497
|
+
exports: {}
|
|
2498
|
+
};
|
|
2499
|
+
|
|
2500
|
+
var Bi = Mi.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
|
+
})(Mi, Mi.exports);
|
|
2491
2541
|
|
|
2492
|
-
var
|
|
2542
|
+
var zi = Mi.exports;
|
|
2493
2543
|
|
|
2494
|
-
|
|
2544
|
+
const Ri = x.getDefaultExportFromCjs(zi);
|
|
2495
2545
|
|
|
2496
2546
|
exports.Docker = class Docker extends t.Component {
|
|
2497
2547
|
#e;
|
|
@@ -2634,8 +2684,11 @@ exports.Docker = class Docker extends t.Component {
|
|
|
2634
2684
|
}).on("line", (t => {
|
|
2635
2685
|
const r = JSON.parse(t);
|
|
2636
2686
|
if (r.error) s = new g.DockerImageBuildException(r.error);
|
|
2637
|
-
if (r.aux
|
|
2638
|
-
|
|
2687
|
+
if (typeof r.aux !== "string") {
|
|
2688
|
+
if (r.aux) n = r.aux.ID;
|
|
2689
|
+
} else if (Ri(r.aux) && !r.stream) {
|
|
2690
|
+
r.stream = Buffer.from(r.aux, "base64").toString();
|
|
2691
|
+
}
|
|
2639
2692
|
if (e.outputCallback) e.outputCallback(r);
|
|
2640
2693
|
})).once("close", (() => {
|
|
2641
2694
|
if (s) return r(s);
|
|
@@ -2654,7 +2707,7 @@ exports.Docker = class Docker extends t.Component {
|
|
|
2654
2707
|
const i = new w.PassThrough;
|
|
2655
2708
|
t.pipe(r);
|
|
2656
2709
|
t.pipe(i);
|
|
2657
|
-
const n =
|
|
2710
|
+
const n = Ni();
|
|
2658
2711
|
let s;
|
|
2659
2712
|
n.on("entry", ((e, t, r) => {
|
|
2660
2713
|
if (e.name === "manifest.json") {
|
|
@@ -2830,7 +2883,7 @@ exports.Docker = class Docker extends t.Component {
|
|
|
2830
2883
|
async getNetwork(e) {
|
|
2831
2884
|
const t = await this.listNetworks();
|
|
2832
2885
|
const r = t.find((t => t.id === e));
|
|
2833
|
-
if (!r) throw new
|
|
2886
|
+
if (!r) throw new v.DockerNetworkNotFoundException("Network {0} not found", [ e ]);
|
|
2834
2887
|
return r;
|
|
2835
2888
|
}
|
|
2836
2889
|
};
|
|
@@ -2862,11 +2915,11 @@ e.__decorate([ a.Configurable(o.DTO.String().optional()), e.__metadata("design:t
|
|
|
2862
2915
|
|
|
2863
2916
|
e.__decorate([ a.Configurable(o.DTO.String().optional()), e.__metadata("design:type", Object) ], exports.Docker.prototype, "sshAuthAgent", void 0);
|
|
2864
2917
|
|
|
2865
|
-
e.__decorate([ d.Accept(
|
|
2918
|
+
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
2919
|
|
|
2867
|
-
e.__decorate([ d.Accept(
|
|
2920
|
+
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
2921
|
|
|
2869
|
-
e.__decorate([ d.Accept(
|
|
2922
|
+
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
2923
|
|
|
2871
2924
|
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
2925
|
|
|
@@ -2878,7 +2931,7 @@ e.__decorate([ d.Accept(o.DTO.String().required()), e.__metadata("design:type",
|
|
|
2878
2931
|
|
|
2879
2932
|
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
2933
|
|
|
2881
|
-
e.__decorate([ d.Accept(o.DTO.String().required(), o.DTO.String().required(),
|
|
2934
|
+
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
2935
|
|
|
2883
2936
|
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
2937
|
|