lakutata 2.0.13 → 2.0.14
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 +2 -3
- package/src/components/docker/Docker.cjs +36 -33
- package/src/components/docker/Docker.mjs +36 -33
- package/src/decorators/orm/Column.mjs +2 -2
- package/src/decorators/orm/PrimaryColumn.mjs +2 -2
- package/vendor/Package.14.mjs +19 -17
- package/vendor/proto/auth.proto +54 -0
package/orm.mjs
CHANGED
|
@@ -2,11 +2,11 @@ import "./vendor/Package.4.mjs";
|
|
|
2
2
|
|
|
3
3
|
import { g as e } from "./vendor/Package.5.mjs";
|
|
4
4
|
|
|
5
|
-
import { r, F as a,
|
|
5
|
+
import { r, F as a, c, d, O as f, P as O, B as _, f as b, R as P, D as E, e as R } from "./vendor/Package.14.mjs";
|
|
6
6
|
|
|
7
|
-
export { A as AbstractLogger, w as AdvancedConsoleLogger, i as Brackets,
|
|
7
|
+
export { A as AbstractLogger, w as AdvancedConsoleLogger, i as Brackets, C as ConnectionOptionsReader, o as DefaultNamingStrategy, g as DeleteQueryBuilder, l as DeleteResult, z as EntityMetadata, y as FileLogger, t as FindOperator, v as FindOptionsUtils, s as In, I as InsertQueryBuilder, j as InsertResult, p as InstanceChecker, M as Migration, n as MigrationExecutor, J as MongoRepository, Z as MssqlParameter, Q as QueryBuilder, m as QueryResult, h as RelationQueryBuilder, G as Repository, S as SelectQueryBuilder, x as SimpleConsoleLogger, Y as Table, K as TableCheck, L as TableColumn, N as TableExclusion, V as TableForeignKey, W as TableIndex, X as TableUnique, H as TreeRepository, T as TreeRepositoryUtils, U as UpdateQueryBuilder, k as UpdateResult, q as getFromContainer, u as useContainer } from "./vendor/Package.14.mjs";
|
|
8
8
|
|
|
9
|
-
import { D as
|
|
9
|
+
import { D as B } from "./vendor/Package.15.mjs";
|
|
10
10
|
|
|
11
11
|
import "./vendor/Package.8.mjs";
|
|
12
12
|
|
|
@@ -60,9 +60,9 @@ import "node:stream";
|
|
|
60
60
|
|
|
61
61
|
import "node:string_decoder";
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var F = r();
|
|
64
64
|
|
|
65
|
-
const D = e(
|
|
65
|
+
const D = e(F);
|
|
66
66
|
|
|
67
67
|
var $ = {};
|
|
68
68
|
|
|
@@ -612,7 +612,7 @@ Object.defineProperty(zt, "__esModule", {
|
|
|
612
612
|
|
|
613
613
|
var Zt = zt.BaseEntity = void 0;
|
|
614
614
|
|
|
615
|
-
const Jt =
|
|
615
|
+
const Jt = f;
|
|
616
616
|
|
|
617
617
|
class BaseEntity {
|
|
618
618
|
hasId() {
|
|
@@ -960,7 +960,7 @@ var ar = or.BSON = void 0;
|
|
|
960
960
|
return t.serialize;
|
|
961
961
|
}
|
|
962
962
|
});
|
|
963
|
-
const r =
|
|
963
|
+
const r = O;
|
|
964
964
|
})(nr);
|
|
965
965
|
|
|
966
966
|
const ir = e(nr);
|
|
@@ -999,7 +999,7 @@ Object.defineProperty(lr, "__esModule", {
|
|
|
999
999
|
|
|
1000
1000
|
var yr = lr.NotBrackets = void 0;
|
|
1001
1001
|
|
|
1002
|
-
const pr =
|
|
1002
|
+
const pr = _;
|
|
1003
1003
|
|
|
1004
1004
|
class NotBrackets extends pr.Brackets {
|
|
1005
1005
|
constructor() {
|
|
@@ -1010,7 +1010,7 @@ class NotBrackets extends pr.Brackets {
|
|
|
1010
1010
|
|
|
1011
1011
|
yr = lr.NotBrackets = NotBrackets;
|
|
1012
1012
|
|
|
1013
|
-
var vr =
|
|
1013
|
+
var vr = b();
|
|
1014
1014
|
|
|
1015
1015
|
const fr = e(vr);
|
|
1016
1016
|
|
|
@@ -1024,11 +1024,11 @@ Object.defineProperty(Or, "__esModule", {
|
|
|
1024
1024
|
|
|
1025
1025
|
var mr = Or.LegacyOracleNamingStrategy = void 0;
|
|
1026
1026
|
|
|
1027
|
-
const _r =
|
|
1027
|
+
const _r = P;
|
|
1028
1028
|
|
|
1029
|
-
const gr =
|
|
1029
|
+
const gr = E;
|
|
1030
1030
|
|
|
1031
|
-
const hr =
|
|
1031
|
+
const hr = R;
|
|
1032
1032
|
|
|
1033
1033
|
class LegacyOracleNamingStrategy extends gr.DefaultNamingStrategy {
|
|
1034
1034
|
constructor(e = "hash") {
|
|
@@ -1111,7 +1111,7 @@ class EntitySchemaOptions {}
|
|
|
1111
1111
|
|
|
1112
1112
|
Rr = Er.EntitySchemaOptions = EntitySchemaOptions;
|
|
1113
1113
|
|
|
1114
|
-
const Br =
|
|
1114
|
+
const Br = B.DataSource;
|
|
1115
1115
|
|
|
1116
1116
|
const Ir = vr.MongoEntityManager;
|
|
1117
1117
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lakutata",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"description": "An IoC-based universal application framework.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -88,6 +88,5 @@
|
|
|
88
88
|
"lakutata",
|
|
89
89
|
"framework",
|
|
90
90
|
"typescript"
|
|
91
|
-
]
|
|
92
|
-
"dependencies": {}
|
|
91
|
+
]
|
|
93
92
|
}
|
|
@@ -389,11 +389,11 @@ const U = x.getDefaultExportFromCjs(W);
|
|
|
389
389
|
|
|
390
390
|
const {EventEmitter: H} = C.default;
|
|
391
391
|
|
|
392
|
-
const
|
|
392
|
+
const $ = new Error("Stream was destroyed");
|
|
393
393
|
|
|
394
|
-
const
|
|
394
|
+
const K = new Error("Premature close");
|
|
395
395
|
|
|
396
|
-
const
|
|
396
|
+
const V = F;
|
|
397
397
|
|
|
398
398
|
const G = W;
|
|
399
399
|
|
|
@@ -497,11 +497,11 @@ const Ue = J ^ (Ee | Re);
|
|
|
497
497
|
|
|
498
498
|
const He = J ^ Ne;
|
|
499
499
|
|
|
500
|
-
const
|
|
500
|
+
const $e = J ^ We;
|
|
501
501
|
|
|
502
|
-
const
|
|
502
|
+
const Ke = J ^ Fe;
|
|
503
503
|
|
|
504
|
-
const
|
|
504
|
+
const Ve = J ^ Ae;
|
|
505
505
|
|
|
506
506
|
const Ge = J ^ ze;
|
|
507
507
|
|
|
@@ -572,7 +572,7 @@ class WritableState {
|
|
|
572
572
|
this.error = null;
|
|
573
573
|
this.pipeline = null;
|
|
574
574
|
this.drains = null;
|
|
575
|
-
this.byteLength = s || n ||
|
|
575
|
+
this.byteLength = s || n || $t;
|
|
576
576
|
this.map = i || r;
|
|
577
577
|
this.afterWrite = Pt.bind(this);
|
|
578
578
|
this.afterUpdateNextTick = Ot.bind(this);
|
|
@@ -594,7 +594,7 @@ class WritableState {
|
|
|
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 &=
|
|
597
|
+
if (this.buffered === 0) this.stream._duplexState &= Ve;
|
|
598
598
|
return e;
|
|
599
599
|
}
|
|
600
600
|
end(e) {
|
|
@@ -627,7 +627,7 @@ class WritableState {
|
|
|
627
627
|
updateNonPrimary() {
|
|
628
628
|
const e = this.stream;
|
|
629
629
|
if ((e._duplexState & xt) === We) {
|
|
630
|
-
e._duplexState = (e._duplexState | Ee) &
|
|
630
|
+
e._duplexState = (e._duplexState | Ee) & $e;
|
|
631
631
|
e._final(jt.bind(this));
|
|
632
632
|
return;
|
|
633
633
|
}
|
|
@@ -654,7 +654,7 @@ class WritableState {
|
|
|
654
654
|
updateNextTick() {
|
|
655
655
|
if ((this.stream._duplexState & ze) !== 0) return;
|
|
656
656
|
this.stream._duplexState |= ze;
|
|
657
|
-
if ((this.stream._duplexState & Le) === 0)
|
|
657
|
+
if ((this.stream._duplexState & Le) === 0) V(this.afterUpdateNextTick);
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
|
|
@@ -667,7 +667,7 @@ class ReadableState {
|
|
|
667
667
|
this.readAhead = t > 0;
|
|
668
668
|
this.error = null;
|
|
669
669
|
this.pipeline = null;
|
|
670
|
-
this.byteLength = s || n ||
|
|
670
|
+
this.byteLength = s || n || $t;
|
|
671
671
|
this.map = i || r;
|
|
672
672
|
this.pipeTo = null;
|
|
673
673
|
this.afterRead = vt.bind(this);
|
|
@@ -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",
|
|
685
|
+
if (t) this.stream.on("error", Kt);
|
|
686
686
|
if (Rt(e)) {
|
|
687
687
|
e._writableState.pipeline = this.pipeline;
|
|
688
|
-
if (t) e.on("error",
|
|
688
|
+
if (t) e.on("error", Kt);
|
|
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);
|
|
@@ -798,7 +798,7 @@ class ReadableState {
|
|
|
798
798
|
updateNextTick() {
|
|
799
799
|
if ((this.stream._duplexState & pe) !== 0) return;
|
|
800
800
|
this.stream._duplexState |= pe;
|
|
801
|
-
if ((this.stream._duplexState & ie) === 0)
|
|
801
|
+
if ((this.stream._duplexState & ie) === 0) V(this.afterUpdateNextTick);
|
|
802
802
|
}
|
|
803
803
|
}
|
|
804
804
|
|
|
@@ -867,7 +867,7 @@ function jt(e) {
|
|
|
867
867
|
|
|
868
868
|
function Dt(e) {
|
|
869
869
|
const t = this.stream;
|
|
870
|
-
if (!e && this.error !==
|
|
870
|
+
if (!e && this.error !== $) e = this.error;
|
|
871
871
|
if (e) t.emit("error", e);
|
|
872
872
|
t._duplexState |= Z;
|
|
873
873
|
t.emit("close");
|
|
@@ -886,7 +886,7 @@ function Pt(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 &=
|
|
889
|
+
t._duplexState &= Ke;
|
|
890
890
|
if ((t._duplexState & Be) === Be) {
|
|
891
891
|
t.emit("drain");
|
|
892
892
|
}
|
|
@@ -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",
|
|
979
|
+
e.signal.addEventListener("abort", Vt.bind(this));
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
this.on("newListener", Lt);
|
|
@@ -1002,7 +1002,7 @@ class Stream extends H {
|
|
|
1002
1002
|
}
|
|
1003
1003
|
destroy(e) {
|
|
1004
1004
|
if ((this._duplexState & Ze) === 0) {
|
|
1005
|
-
if (!e) e =
|
|
1005
|
+
if (!e) e = $;
|
|
1006
1006
|
this._duplexState = (this._duplexState | Q) & rt;
|
|
1007
1007
|
if (this._readableState !== null) {
|
|
1008
1008
|
this._readableState.highWaterMark = 0;
|
|
@@ -1137,7 +1137,7 @@ let Nt = class Readable extends Stream {
|
|
|
1137
1137
|
}
|
|
1138
1138
|
function a(n) {
|
|
1139
1139
|
if (i === null) return;
|
|
1140
|
-
if (t) i(t); else if (n === null && (e._duplexState & de) === 0) i(
|
|
1140
|
+
if (t) i(t); else if (n === null && (e._duplexState & de) === 0) i($); else r({
|
|
1141
1141
|
value: n,
|
|
1142
1142
|
done: n === null
|
|
1143
1143
|
});
|
|
@@ -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 :
|
|
1334
|
+
s.on("close", (() => i(a || (e ? null : K))));
|
|
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(
|
|
1343
|
-
if (r && e._writableState && !e._writableState.ended) return i(
|
|
1342
|
+
if (t && e._readableState && !e._readableState.ended) return i(K);
|
|
1343
|
+
if (r && e._writableState && !e._writableState.ended) return i(K);
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
function u(e) {
|
|
@@ -1362,7 +1362,7 @@ function Rt(e) {
|
|
|
1362
1362
|
|
|
1363
1363
|
function Wt(e) {
|
|
1364
1364
|
const t = e._readableState && e._readableState.error || e._writableState && e._writableState.error;
|
|
1365
|
-
return t ===
|
|
1365
|
+
return t === $ ? null : t;
|
|
1366
1366
|
}
|
|
1367
1367
|
|
|
1368
1368
|
function Ut(e) {
|
|
@@ -1373,13 +1373,13 @@ function Ht(e) {
|
|
|
1373
1373
|
return typeof e === "object" && e !== null && typeof e.byteLength === "number";
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
|
-
function
|
|
1376
|
+
function $t(e) {
|
|
1377
1377
|
return Ht(e) ? e.byteLength : 1024;
|
|
1378
1378
|
}
|
|
1379
1379
|
|
|
1380
|
-
function
|
|
1380
|
+
function Kt() {}
|
|
1381
1381
|
|
|
1382
|
-
function
|
|
1382
|
+
function Vt() {
|
|
1383
1383
|
this.destroy(new Error("Stream aborted."));
|
|
1384
1384
|
}
|
|
1385
1385
|
|
|
@@ -1661,9 +1661,9 @@ var Hr = vr.decode = function e(t, r, i) {
|
|
|
1661
1661
|
const g = Xr(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
|
-
if (
|
|
1664
|
+
if ($r(t)) {
|
|
1665
1665
|
if (t[345]) s = ii(t, 345, 155, r) + "/" + s;
|
|
1666
|
-
} else if (
|
|
1666
|
+
} else if (Kr(t)) {} else {
|
|
1667
1667
|
if (!i) {
|
|
1668
1668
|
throw new Error("Invalid tar header: unknown format.");
|
|
1669
1669
|
}
|
|
@@ -1686,15 +1686,15 @@ var Hr = vr.decode = function e(t, r, i) {
|
|
|
1686
1686
|
};
|
|
1687
1687
|
};
|
|
1688
1688
|
|
|
1689
|
-
function
|
|
1689
|
+
function $r(e) {
|
|
1690
1690
|
return Ir.equals(Er, e.subarray(Mr, Mr + 6));
|
|
1691
1691
|
}
|
|
1692
1692
|
|
|
1693
|
-
function
|
|
1693
|
+
function Kr(e) {
|
|
1694
1694
|
return Ir.equals(Nr, e.subarray(Mr, Mr + 6)) && Ir.equals(Ar, e.subarray(Br, Br + 2));
|
|
1695
1695
|
}
|
|
1696
1696
|
|
|
1697
|
-
function
|
|
1697
|
+
function Vr(e, t, r) {
|
|
1698
1698
|
if (typeof e !== "number") return r;
|
|
1699
1699
|
e = ~~e;
|
|
1700
1700
|
if (e >= t) return t;
|
|
@@ -1838,7 +1838,7 @@ 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 =
|
|
1841
|
+
const r = Vr(Yr(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
1844
|
return parseInt(Ir.toString(e.subarray(t, r)), 8);
|
|
@@ -2611,7 +2611,7 @@ exports.Docker = class Docker extends t.Component {
|
|
|
2611
2611
|
};
|
|
2612
2612
|
const r = {
|
|
2613
2613
|
dockerfile: e.dockerfile,
|
|
2614
|
-
t: e.repoTag,
|
|
2614
|
+
t: e.repoTag ? e.repoTag : `UNNAMED_IMG_${Date.now().toString(16).toUpperCase()}${Math.floor(Math.random() * 255).toString(16).padStart(2, "0")}`,
|
|
2615
2615
|
remote: e.remote,
|
|
2616
2616
|
q: e.quite,
|
|
2617
2617
|
nocache: e.nocache,
|
|
@@ -2626,6 +2626,9 @@ exports.Docker = class Docker extends t.Component {
|
|
|
2626
2626
|
};
|
|
2627
2627
|
try {
|
|
2628
2628
|
const i = await this.#e.buildImage(t, r);
|
|
2629
|
+
this.#e.modem.followProgress(i, (e => {}), (e => {
|
|
2630
|
+
console.log(e);
|
|
2631
|
+
}));
|
|
2629
2632
|
return new Promise(((t, r) => {
|
|
2630
2633
|
let n = undefined;
|
|
2631
2634
|
let s = undefined;
|
|
@@ -385,11 +385,11 @@ const U = x(W);
|
|
|
385
385
|
|
|
386
386
|
const {EventEmitter: H} = k;
|
|
387
387
|
|
|
388
|
-
const
|
|
388
|
+
const $ = new Error("Stream was destroyed");
|
|
389
389
|
|
|
390
|
-
const
|
|
390
|
+
const K = new Error("Premature close");
|
|
391
391
|
|
|
392
|
-
const
|
|
392
|
+
const V = M;
|
|
393
393
|
|
|
394
394
|
const G = W;
|
|
395
395
|
|
|
@@ -493,11 +493,11 @@ const Ut = J ^ (Tt | Rt);
|
|
|
493
493
|
|
|
494
494
|
const Ht = J ^ Ft;
|
|
495
495
|
|
|
496
|
-
const
|
|
496
|
+
const $t = J ^ Wt;
|
|
497
497
|
|
|
498
|
-
const
|
|
498
|
+
const Kt = J ^ Mt;
|
|
499
499
|
|
|
500
|
-
const
|
|
500
|
+
const Vt = J ^ Dt;
|
|
501
501
|
|
|
502
502
|
const Gt = J ^ zt;
|
|
503
503
|
|
|
@@ -568,7 +568,7 @@ class WritableState {
|
|
|
568
568
|
this.error = null;
|
|
569
569
|
this.pipeline = null;
|
|
570
570
|
this.drains = null;
|
|
571
|
-
this.byteLength = s || n ||
|
|
571
|
+
this.byteLength = s || n || $e;
|
|
572
572
|
this.map = r || i;
|
|
573
573
|
this.afterWrite = Ie.bind(this);
|
|
574
574
|
this.afterUpdateNextTick = Ce.bind(this);
|
|
@@ -590,7 +590,7 @@ class WritableState {
|
|
|
590
590
|
shift() {
|
|
591
591
|
const t = this.queue.shift();
|
|
592
592
|
this.buffered -= this.byteLength(t);
|
|
593
|
-
if (this.buffered === 0) this.stream._duplexState &=
|
|
593
|
+
if (this.buffered === 0) this.stream._duplexState &= Vt;
|
|
594
594
|
return t;
|
|
595
595
|
}
|
|
596
596
|
end(t) {
|
|
@@ -623,7 +623,7 @@ class WritableState {
|
|
|
623
623
|
updateNonPrimary() {
|
|
624
624
|
const t = this.stream;
|
|
625
625
|
if ((t._duplexState & Se) === Wt) {
|
|
626
|
-
t._duplexState = (t._duplexState | Tt) &
|
|
626
|
+
t._duplexState = (t._duplexState | Tt) & $t;
|
|
627
627
|
t._final(ve.bind(this));
|
|
628
628
|
return;
|
|
629
629
|
}
|
|
@@ -650,7 +650,7 @@ class WritableState {
|
|
|
650
650
|
updateNextTick() {
|
|
651
651
|
if ((this.stream._duplexState & zt) !== 0) return;
|
|
652
652
|
this.stream._duplexState |= zt;
|
|
653
|
-
if ((this.stream._duplexState & At) === 0)
|
|
653
|
+
if ((this.stream._duplexState & At) === 0) V(this.afterUpdateNextTick);
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
|
|
@@ -663,7 +663,7 @@ class ReadableState {
|
|
|
663
663
|
this.readAhead = e > 0;
|
|
664
664
|
this.error = null;
|
|
665
665
|
this.pipeline = null;
|
|
666
|
-
this.byteLength = s || n ||
|
|
666
|
+
this.byteLength = s || n || $e;
|
|
667
667
|
this.map = r || i;
|
|
668
668
|
this.pipeTo = null;
|
|
669
669
|
this.afterRead = Le.bind(this);
|
|
@@ -678,10 +678,10 @@ class ReadableState {
|
|
|
678
678
|
this.stream._duplexState |= ot;
|
|
679
679
|
this.pipeTo = t;
|
|
680
680
|
this.pipeline = new Pipeline(this.stream, t, e);
|
|
681
|
-
if (e) this.stream.on("error",
|
|
681
|
+
if (e) this.stream.on("error", Ke);
|
|
682
682
|
if (Re(t)) {
|
|
683
683
|
t._writableState.pipeline = this.pipeline;
|
|
684
|
-
if (e) t.on("error",
|
|
684
|
+
if (e) t.on("error", Ke);
|
|
685
685
|
t.on("finish", this.pipeline.finished.bind(this.pipeline));
|
|
686
686
|
} else {
|
|
687
687
|
const e = this.pipeline.done.bind(this.pipeline, t);
|
|
@@ -794,7 +794,7 @@ class ReadableState {
|
|
|
794
794
|
updateNextTick() {
|
|
795
795
|
if ((this.stream._duplexState & dt) !== 0) return;
|
|
796
796
|
this.stream._duplexState |= dt;
|
|
797
|
-
if ((this.stream._duplexState & rt) === 0)
|
|
797
|
+
if ((this.stream._duplexState & rt) === 0) V(this.afterUpdateNextTick);
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
|
|
@@ -863,7 +863,7 @@ function ve(t) {
|
|
|
863
863
|
|
|
864
864
|
function Pe(t) {
|
|
865
865
|
const e = this.stream;
|
|
866
|
-
if (!t && this.error !==
|
|
866
|
+
if (!t && this.error !== $) t = this.error;
|
|
867
867
|
if (t) e.emit("error", t);
|
|
868
868
|
e._duplexState |= Z;
|
|
869
869
|
e.emit("close");
|
|
@@ -882,7 +882,7 @@ function Ie(t) {
|
|
|
882
882
|
e._duplexState &= Ut;
|
|
883
883
|
if (this.drains !== null) Oe(this.drains);
|
|
884
884
|
if ((e._duplexState & _e) === Mt) {
|
|
885
|
-
e._duplexState &=
|
|
885
|
+
e._duplexState &= Kt;
|
|
886
886
|
if ((e._duplexState & Bt) === Bt) {
|
|
887
887
|
e.emit("drain");
|
|
888
888
|
}
|
|
@@ -972,7 +972,7 @@ class Stream extends H {
|
|
|
972
972
|
if (t.destroy) this._destroy = t.destroy;
|
|
973
973
|
if (t.predestroy) this._predestroy = t.predestroy;
|
|
974
974
|
if (t.signal) {
|
|
975
|
-
t.signal.addEventListener("abort",
|
|
975
|
+
t.signal.addEventListener("abort", Ve.bind(this));
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
978
|
this.on("newListener", Ae);
|
|
@@ -998,7 +998,7 @@ class Stream extends H {
|
|
|
998
998
|
}
|
|
999
999
|
destroy(t) {
|
|
1000
1000
|
if ((this._duplexState & Zt) === 0) {
|
|
1001
|
-
if (!t) t =
|
|
1001
|
+
if (!t) t = $;
|
|
1002
1002
|
this._duplexState = (this._duplexState | Q) & ie;
|
|
1003
1003
|
if (this._readableState !== null) {
|
|
1004
1004
|
this._readableState.highWaterMark = 0;
|
|
@@ -1133,7 +1133,7 @@ let Fe = class Readable extends Stream {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
function a(n) {
|
|
1135
1135
|
if (r === null) return;
|
|
1136
|
-
if (e) r(e); else if (n === null && (t._duplexState & pt) === 0) r(
|
|
1136
|
+
if (e) r(e); else if (n === null && (t._duplexState & pt) === 0) r($); else i({
|
|
1137
1137
|
value: n,
|
|
1138
1138
|
done: n === null
|
|
1139
1139
|
});
|
|
@@ -1327,7 +1327,7 @@ function Be(t, ...e) {
|
|
|
1327
1327
|
if (!e) r(a);
|
|
1328
1328
|
}));
|
|
1329
1329
|
if (e) {
|
|
1330
|
-
s.on("close", (() => r(a || (t ? null :
|
|
1330
|
+
s.on("close", (() => r(a || (t ? null : K))));
|
|
1331
1331
|
}
|
|
1332
1332
|
}
|
|
1333
1333
|
return s;
|
|
@@ -1335,8 +1335,8 @@ function Be(t, ...e) {
|
|
|
1335
1335
|
t.on("error", r);
|
|
1336
1336
|
t.on("close", n);
|
|
1337
1337
|
function n() {
|
|
1338
|
-
if (e && t._readableState && !t._readableState.ended) return r(
|
|
1339
|
-
if (i && t._writableState && !t._writableState.ended) return r(
|
|
1338
|
+
if (e && t._readableState && !t._readableState.ended) return r(K);
|
|
1339
|
+
if (i && t._writableState && !t._writableState.ended) return r(K);
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
function l(t) {
|
|
@@ -1358,7 +1358,7 @@ function Re(t) {
|
|
|
1358
1358
|
|
|
1359
1359
|
function We(t) {
|
|
1360
1360
|
const e = t._readableState && t._readableState.error || t._writableState && t._writableState.error;
|
|
1361
|
-
return e ===
|
|
1361
|
+
return e === $ ? null : e;
|
|
1362
1362
|
}
|
|
1363
1363
|
|
|
1364
1364
|
function Ue(t) {
|
|
@@ -1369,13 +1369,13 @@ function He(t) {
|
|
|
1369
1369
|
return typeof t === "object" && t !== null && typeof t.byteLength === "number";
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
|
-
function
|
|
1372
|
+
function $e(t) {
|
|
1373
1373
|
return He(t) ? t.byteLength : 1024;
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
|
-
function
|
|
1376
|
+
function Ke() {}
|
|
1377
1377
|
|
|
1378
|
-
function
|
|
1378
|
+
function Ve() {
|
|
1379
1379
|
this.destroy(new Error("Stream aborted."));
|
|
1380
1380
|
}
|
|
1381
1381
|
|
|
@@ -1657,9 +1657,9 @@ var Hi = Li.decode = function t(e, i, r) {
|
|
|
1657
1657
|
const g = Xi(e);
|
|
1658
1658
|
if (g === 8 * 32) return null;
|
|
1659
1659
|
if (g !== ir(e, 148, 8)) throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");
|
|
1660
|
-
if (
|
|
1660
|
+
if ($i(e)) {
|
|
1661
1661
|
if (e[345]) s = rr(e, 345, 155, i) + "/" + s;
|
|
1662
|
-
} else if (
|
|
1662
|
+
} else if (Ki(e)) {} else {
|
|
1663
1663
|
if (!r) {
|
|
1664
1664
|
throw new Error("Invalid tar header: unknown format.");
|
|
1665
1665
|
}
|
|
@@ -1682,15 +1682,15 @@ var Hi = Li.decode = function t(e, i, r) {
|
|
|
1682
1682
|
};
|
|
1683
1683
|
};
|
|
1684
1684
|
|
|
1685
|
-
function
|
|
1685
|
+
function $i(t) {
|
|
1686
1686
|
return Ei.equals(Ti, t.subarray(qi, qi + 6));
|
|
1687
1687
|
}
|
|
1688
1688
|
|
|
1689
|
-
function
|
|
1689
|
+
function Ki(t) {
|
|
1690
1690
|
return Ei.equals(Fi, t.subarray(qi, qi + 6)) && Ei.equals(Di, t.subarray(Bi, Bi + 2));
|
|
1691
1691
|
}
|
|
1692
1692
|
|
|
1693
|
-
function
|
|
1693
|
+
function Vi(t, e, i) {
|
|
1694
1694
|
if (typeof t !== "number") return i;
|
|
1695
1695
|
t = ~~t;
|
|
1696
1696
|
if (t >= e) return e;
|
|
@@ -1834,7 +1834,7 @@ function ir(t, e, i) {
|
|
|
1834
1834
|
return er(t);
|
|
1835
1835
|
} else {
|
|
1836
1836
|
while (e < t.length && t[e] === 32) e++;
|
|
1837
|
-
const i =
|
|
1837
|
+
const i = Vi(Yi(t, 32, e, t.length), t.length, t.length);
|
|
1838
1838
|
while (e < i && t[e] === 0) e++;
|
|
1839
1839
|
if (i === e) return 0;
|
|
1840
1840
|
return parseInt(Ei.toString(t.subarray(e, i)), 8);
|
|
@@ -2607,7 +2607,7 @@ let qr = class Docker extends i {
|
|
|
2607
2607
|
};
|
|
2608
2608
|
const i = {
|
|
2609
2609
|
dockerfile: t.dockerfile,
|
|
2610
|
-
t: t.repoTag,
|
|
2610
|
+
t: t.repoTag ? t.repoTag : `UNNAMED_IMG_${Date.now().toString(16).toUpperCase()}${Math.floor(Math.random() * 255).toString(16).padStart(2, "0")}`,
|
|
2611
2611
|
remote: t.remote,
|
|
2612
2612
|
q: t.quite,
|
|
2613
2613
|
nocache: t.nocache,
|
|
@@ -2622,6 +2622,9 @@ let qr = class Docker extends i {
|
|
|
2622
2622
|
};
|
|
2623
2623
|
try {
|
|
2624
2624
|
const r = await this.#t.buildImage(e, i);
|
|
2625
|
+
this.#t.modem.followProgress(r, (t => {}), (t => {
|
|
2626
|
+
console.log(t);
|
|
2627
|
+
}));
|
|
2625
2628
|
return new Promise(((e, i) => {
|
|
2626
2629
|
let n = undefined;
|
|
2627
2630
|
let s = undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../vendor/Package.5.mjs";
|
|
2
2
|
|
|
3
|
-
import { r as e,
|
|
3
|
+
import { r as e, a as t } from "../../../vendor/Package.14.mjs";
|
|
4
4
|
|
|
5
5
|
import "../../../vendor/Package.8.mjs";
|
|
6
6
|
|
|
@@ -66,7 +66,7 @@ var o = r.Column = void 0;
|
|
|
66
66
|
|
|
67
67
|
const a = e();
|
|
68
68
|
|
|
69
|
-
const n = t;
|
|
69
|
+
const n = t();
|
|
70
70
|
|
|
71
71
|
function i(e, t) {
|
|
72
72
|
return function(r, o) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../vendor/Package.5.mjs";
|
|
2
2
|
|
|
3
|
-
import { r as e,
|
|
3
|
+
import { r as e, a as r, b as t } from "../../../vendor/Package.14.mjs";
|
|
4
4
|
|
|
5
5
|
import "../../../vendor/Package.8.mjs";
|
|
6
6
|
|
|
@@ -66,7 +66,7 @@ var a = o.PrimaryColumn = void 0;
|
|
|
66
66
|
|
|
67
67
|
const n = e();
|
|
68
68
|
|
|
69
|
-
const m = r;
|
|
69
|
+
const m = r();
|
|
70
70
|
|
|
71
71
|
const i = t();
|
|
72
72
|
|
package/vendor/Package.14.mjs
CHANGED
|
@@ -29630,24 +29630,26 @@ function vf() {
|
|
|
29630
29630
|
|
|
29631
29631
|
var If = {};
|
|
29632
29632
|
|
|
29633
|
-
|
|
29634
|
-
|
|
29635
|
-
Object.defineProperty(If, "__esModule", {
|
|
29636
|
-
value: true
|
|
29637
|
-
});
|
|
29633
|
+
var Mf;
|
|
29638
29634
|
|
|
29639
|
-
|
|
29640
|
-
|
|
29641
|
-
|
|
29642
|
-
|
|
29643
|
-
|
|
29644
|
-
|
|
29645
|
-
|
|
29646
|
-
|
|
29635
|
+
function wf() {
|
|
29636
|
+
if (Mf) return If;
|
|
29637
|
+
Mf = 1;
|
|
29638
|
+
"use strict";
|
|
29639
|
+
Object.defineProperty(If, "__esModule", {
|
|
29640
|
+
value: true
|
|
29641
|
+
});
|
|
29642
|
+
If.ColumnTypeUndefinedError = void 0;
|
|
29643
|
+
const e = gp;
|
|
29644
|
+
let t = class ColumnTypeUndefinedError extends e.TypeORMError {
|
|
29645
|
+
constructor(e, t) {
|
|
29646
|
+
super(`Column type for ${e.constructor.name}#${t} is not defined and cannot be guessed. ` + `Make sure you have turned on an "emitDecoratorMetadata": true option in tsconfig.json. ` + `Also make sure you have imported "reflect-metadata" on top of the main entry file in your application (before any entity imported).` + `If you are using JavaScript instead of TypeScript you must explicitly provide a column type.`);
|
|
29647
|
+
}
|
|
29648
|
+
};
|
|
29649
|
+
If.ColumnTypeUndefinedError = t;
|
|
29650
|
+
return If;
|
|
29647
29651
|
}
|
|
29648
29652
|
|
|
29649
|
-
Mf = If.ColumnTypeUndefinedError = ColumnTypeUndefinedError;
|
|
29650
|
-
|
|
29651
29653
|
var Df = {};
|
|
29652
29654
|
|
|
29653
29655
|
var Lf;
|
|
@@ -29818,7 +29820,7 @@ function Yf() {
|
|
|
29818
29820
|
t.__exportStar(bf(), e);
|
|
29819
29821
|
t.__exportStar(Af(), e);
|
|
29820
29822
|
t.__exportStar(vf(), e);
|
|
29821
|
-
t.__exportStar(
|
|
29823
|
+
t.__exportStar(wf(), e);
|
|
29822
29824
|
t.__exportStar(Pf(), e);
|
|
29823
29825
|
t.__exportStar(xf, e);
|
|
29824
29826
|
t.__exportStar($f(), e);
|
|
@@ -72449,4 +72451,4 @@ function pF() {
|
|
|
72449
72451
|
return R;
|
|
72450
72452
|
}
|
|
72451
72453
|
|
|
72452
|
-
export { SB as A, kg as B,
|
|
72454
|
+
export { SB as A, kg as B, $E as C, Eb as D, uU as E, Bg as F, SN as G, vN as H, uy as I, bN as J, kb as K, Rb as L, Kb as M, Bb as N, ch as O, D as P, Jg as Q, gb as R, uS as S, ON as T, JS as U, Mb as V, vb as W, Pb as X, Fb as Y, zb as Z, lF as _, wf as a, Mh as b, CA as c, qN as d, fp as e, IA as f, lT as g, My as h, Ug as i, sy as j, FS as k, cT as l, nR as m, Xb as n, yb as o, dh as p, Dk as q, pF as r, Hg as s, qg as t, Uk as u, sS as v, RB as w, NB as x, MB as y, yC as z };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package moby.filesync.v1;
|
|
4
|
+
|
|
5
|
+
option go_package = "auth";
|
|
6
|
+
|
|
7
|
+
service Auth{
|
|
8
|
+
rpc Credentials(CredentialsRequest) returns (CredentialsResponse);
|
|
9
|
+
rpc FetchToken(FetchTokenRequest) returns (FetchTokenResponse);
|
|
10
|
+
rpc GetTokenAuthority(GetTokenAuthorityRequest) returns (GetTokenAuthorityResponse);
|
|
11
|
+
rpc VerifyTokenAuthority(VerifyTokenAuthorityRequest) returns (VerifyTokenAuthorityResponse);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message CredentialsRequest {
|
|
15
|
+
string Host = 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message CredentialsResponse {
|
|
19
|
+
string Username = 1;
|
|
20
|
+
string Secret = 2;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message FetchTokenRequest {
|
|
24
|
+
string ClientID = 1;
|
|
25
|
+
string Host = 2;
|
|
26
|
+
string Realm = 3;
|
|
27
|
+
string Service = 4;
|
|
28
|
+
repeated string Scopes = 5;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message FetchTokenResponse {
|
|
32
|
+
string Token = 1;
|
|
33
|
+
int64 ExpiresIn = 2; // seconds
|
|
34
|
+
int64 IssuedAt = 3; // timestamp
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message GetTokenAuthorityRequest {
|
|
38
|
+
string Host = 1;
|
|
39
|
+
bytes Salt = 2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message GetTokenAuthorityResponse {
|
|
43
|
+
bytes PublicKey = 1;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
message VerifyTokenAuthorityRequest {
|
|
47
|
+
string Host = 1;
|
|
48
|
+
bytes Payload = 2;
|
|
49
|
+
bytes Salt = 3;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message VerifyTokenAuthorityResponse {
|
|
53
|
+
bytes Signed = 1;
|
|
54
|
+
}
|