lakutata 2.0.11 → 2.0.13
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/com/database.cjs +13 -3
- package/com/database.mjs +13 -3
- package/com/docker.cjs +6 -2
- package/com/docker.d.ts +39 -11
- package/com/docker.mjs +6 -2
- package/com/logger.cjs +2 -2
- package/com/logger.mjs +2 -2
- package/decorator/orm.cjs +21 -11
- package/decorator/orm.mjs +13 -3
- package/helper.cjs +12 -12
- package/helper.d.ts +559 -82
- package/helper.mjs +5 -5
- package/lakutata.cjs +2 -2
- package/lakutata.mjs +2 -2
- package/orm.cjs +13 -3
- package/orm.mjs +39 -29
- package/package.json +2 -4
- package/src/components/Database.cjs +17 -7
- package/src/components/Database.mjs +13 -3
- package/src/components/Logger.cjs +2 -2
- package/src/components/Logger.mjs +2 -2
- package/src/components/docker/ConnectionOptionsBuilder.cjs +6 -2
- package/src/components/docker/ConnectionOptionsBuilder.mjs +6 -2
- package/src/components/docker/Docker.cjs +10 -3
- package/src/components/docker/Docker.mjs +10 -3
- package/src/components/docker/lib/DockerContainer.cjs +10 -6
- package/src/components/docker/lib/DockerContainer.mjs +6 -2
- package/src/components/docker/lib/DockerContainerTTY.cjs +6 -2
- package/src/components/docker/lib/DockerContainerTTY.mjs +6 -2
- package/src/components/docker/options/container/ContainerSettingOptions.cjs +4 -0
- package/src/components/docker/options/container/ContainerSettingOptions.mjs +4 -0
- package/src/decorators/orm/AfterInsert.cjs +13 -3
- package/src/decorators/orm/AfterInsert.mjs +17 -7
- package/src/decorators/orm/AfterLoad.cjs +17 -7
- package/src/decorators/orm/AfterLoad.mjs +13 -3
- package/src/decorators/orm/AfterRecover.cjs +17 -7
- package/src/decorators/orm/AfterRecover.mjs +17 -7
- package/src/decorators/orm/AfterRemove.cjs +17 -7
- package/src/decorators/orm/AfterRemove.mjs +22 -12
- package/src/decorators/orm/AfterSoftRemove.cjs +13 -3
- package/src/decorators/orm/AfterSoftRemove.mjs +24 -14
- package/src/decorators/orm/AfterUpdate.cjs +13 -3
- package/src/decorators/orm/AfterUpdate.mjs +22 -12
- package/src/decorators/orm/BeforeInsert.cjs +17 -7
- package/src/decorators/orm/BeforeInsert.mjs +17 -7
- package/src/decorators/orm/BeforeRecover.cjs +17 -7
- package/src/decorators/orm/BeforeRecover.mjs +22 -12
- package/src/decorators/orm/BeforeRemove.cjs +17 -7
- package/src/decorators/orm/BeforeRemove.mjs +17 -7
- package/src/decorators/orm/BeforeSoftRemove.cjs +17 -7
- package/src/decorators/orm/BeforeSoftRemove.mjs +23 -13
- package/src/decorators/orm/BeforeUpdate.cjs +17 -7
- package/src/decorators/orm/BeforeUpdate.mjs +22 -12
- package/src/decorators/orm/Check.cjs +18 -8
- package/src/decorators/orm/Check.mjs +13 -3
- package/src/decorators/orm/ChildEntity.cjs +13 -3
- package/src/decorators/orm/ChildEntity.mjs +13 -3
- package/src/decorators/orm/Column.cjs +29 -19
- package/src/decorators/orm/Column.mjs +23 -13
- package/src/decorators/orm/CreateDateColumn.cjs +19 -9
- package/src/decorators/orm/CreateDateColumn.mjs +24 -14
- package/src/decorators/orm/DeleteDateColumn.cjs +19 -9
- package/src/decorators/orm/DeleteDateColumn.mjs +23 -13
- package/src/decorators/orm/Entity.cjs +26 -16
- package/src/decorators/orm/Entity.mjs +32 -22
- package/src/decorators/orm/EventSubscriber.cjs +13 -3
- package/src/decorators/orm/EventSubscriber.mjs +18 -8
- package/src/decorators/orm/Exclusion.cjs +21 -11
- package/src/decorators/orm/Exclusion.mjs +21 -11
- package/src/decorators/orm/Generated.cjs +13 -3
- package/src/decorators/orm/Generated.mjs +13 -3
- package/src/decorators/orm/Index.cjs +22 -12
- package/src/decorators/orm/Index.mjs +27 -17
- package/src/decorators/orm/JoinColumn.cjs +19 -9
- package/src/decorators/orm/JoinColumn.mjs +27 -17
- package/src/decorators/orm/JoinTable.cjs +13 -3
- package/src/decorators/orm/JoinTable.mjs +29 -19
- package/src/decorators/orm/ManyToMany.cjs +25 -15
- package/src/decorators/orm/ManyToMany.mjs +26 -16
- package/src/decorators/orm/ManyToOne.cjs +25 -15
- package/src/decorators/orm/ManyToOne.mjs +26 -16
- package/src/decorators/orm/ObjectIdColumn.cjs +13 -3
- package/src/decorators/orm/ObjectIdColumn.mjs +26 -16
- package/src/decorators/orm/OneToMany.cjs +21 -11
- package/src/decorators/orm/OneToMany.mjs +22 -12
- package/src/decorators/orm/OneToOne.cjs +16 -6
- package/src/decorators/orm/OneToOne.mjs +36 -26
- package/src/decorators/orm/PrimaryColumn.cjs +22 -12
- package/src/decorators/orm/PrimaryColumn.mjs +24 -14
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +32 -22
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +18 -8
- package/src/decorators/orm/RelationId.cjs +19 -9
- package/src/decorators/orm/RelationId.mjs +18 -8
- package/src/decorators/orm/TableInheritance.cjs +17 -7
- package/src/decorators/orm/TableInheritance.mjs +26 -16
- package/src/decorators/orm/Tree.cjs +13 -3
- package/src/decorators/orm/Tree.mjs +26 -16
- package/src/decorators/orm/TreeChildren.cjs +15 -5
- package/src/decorators/orm/TreeChildren.mjs +18 -8
- package/src/decorators/orm/TreeLevelColumn.cjs +13 -3
- package/src/decorators/orm/TreeLevelColumn.mjs +20 -10
- package/src/decorators/orm/TreeParent.cjs +19 -9
- package/src/decorators/orm/TreeParent.mjs +13 -3
- package/src/decorators/orm/Unique.cjs +29 -19
- package/src/decorators/orm/Unique.mjs +30 -20
- package/src/decorators/orm/UpdateDateColumn.cjs +19 -9
- package/src/decorators/orm/UpdateDateColumn.mjs +25 -15
- package/src/decorators/orm/VersionColumn.cjs +13 -3
- package/src/decorators/orm/VersionColumn.mjs +26 -16
- package/src/decorators/orm/ViewColumn.cjs +13 -3
- package/src/decorators/orm/ViewColumn.mjs +26 -16
- package/src/decorators/orm/ViewEntity.cjs +27 -17
- package/src/decorators/orm/ViewEntity.mjs +19 -9
- package/src/decorators/orm/VirtualColumn.cjs +18 -8
- package/src/decorators/orm/VirtualColumn.mjs +30 -20
- package/src/lib/base/internal/PatternManager.cjs +2 -2
- package/src/lib/base/internal/PatternManager.mjs +2 -2
- package/src/lib/core/Application.cjs +2 -2
- package/src/lib/core/Application.mjs +2 -2
- package/src/lib/helpers/Glob.cjs +1220 -1149
- package/src/lib/helpers/Glob.mjs +769 -700
- package/src/lib/helpers/IsXML.cjs +863 -801
- package/src/lib/helpers/IsXML.mjs +862 -800
- package/src/lib/ioc/ListModules.cjs +967 -909
- package/src/lib/ioc/ListModules.mjs +849 -791
- package/src/lib/validation/VLD.cjs +20 -10
- package/src/lib/validation/VLD.mjs +20 -10
- package/vendor/Package.1.cjs +170 -129
- package/vendor/Package.1.mjs +169 -128
- package/vendor/Package.13.cjs +0 -2
- package/vendor/Package.13.mjs +0 -2
- package/vendor/Package.14.cjs +8748 -8652
- package/vendor/Package.14.mjs +8665 -8581
- package/vendor/Package.16.cjs +36855 -15590
- package/vendor/Package.16.mjs +36893 -15633
- package/vendor/Package.2.cjs +2442 -2440
- package/vendor/Package.2.mjs +444 -442
- package/vendor/Package.4.cjs +325 -319
- package/vendor/Package.4.mjs +326 -320
- package/vendor/Package.7.cjs +299 -299
- package/vendor/Package.7.mjs +299 -299
- package/vendor/TypeDef.5.d.ts +6 -0
package/vendor/Package.1.mjs
CHANGED
|
@@ -22,7 +22,7 @@ var r = function() {
|
|
|
22
22
|
r = Object.assign || function e(t) {
|
|
23
23
|
for (var r, n = 1, o = arguments.length; n < o; n++) {
|
|
24
24
|
r = arguments[n];
|
|
25
|
-
for (var
|
|
25
|
+
for (var i in r) if (Object.prototype.hasOwnProperty.call(r, i)) t[i] = r[i];
|
|
26
26
|
}
|
|
27
27
|
return t;
|
|
28
28
|
};
|
|
@@ -39,25 +39,25 @@ function n(e, t) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
function o(e, t, r, n) {
|
|
42
|
-
var o = arguments.length,
|
|
43
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
44
|
-
return o > 3 &&
|
|
42
|
+
var o = arguments.length, i = o < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, r) : n, a;
|
|
43
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") i = Reflect.decorate(e, t, r, n); else for (var c = e.length - 1; c >= 0; c--) if (a = e[c]) i = (o < 3 ? a(i) : o > 3 ? a(t, r, i) : a(t, r)) || i;
|
|
44
|
+
return o > 3 && i && Object.defineProperty(t, r, i), i;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
function
|
|
47
|
+
function i(e, t) {
|
|
48
48
|
return function(r, n) {
|
|
49
49
|
t(r, n, e);
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
function
|
|
54
|
-
function
|
|
53
|
+
function a(e, t, r, n, o, i) {
|
|
54
|
+
function a(e) {
|
|
55
55
|
if (e !== void 0 && typeof e !== "function") throw new TypeError("Function expected");
|
|
56
56
|
return e;
|
|
57
57
|
}
|
|
58
58
|
var c = n.kind, f = c === "getter" ? "get" : c === "setter" ? "set" : "value";
|
|
59
|
-
var
|
|
60
|
-
var
|
|
59
|
+
var s = !t && e ? n["static"] ? e : e.prototype : null;
|
|
60
|
+
var u = t || (s ? Object.getOwnPropertyDescriptor(s, n.name) : {});
|
|
61
61
|
var l, p = false;
|
|
62
62
|
for (var y = r.length - 1; y >= 0; y--) {
|
|
63
63
|
var _ = {};
|
|
@@ -65,23 +65,23 @@ function i(e, t, r, n, o, a) {
|
|
|
65
65
|
for (var d in n.access) _.access[d] = n.access[d];
|
|
66
66
|
_.addInitializer = function(e) {
|
|
67
67
|
if (p) throw new TypeError("Cannot add initializers after decoration has completed");
|
|
68
|
-
|
|
68
|
+
i.push(a(e || null));
|
|
69
69
|
};
|
|
70
70
|
var h = (0, r[y])(c === "accessor" ? {
|
|
71
|
-
get:
|
|
72
|
-
set:
|
|
73
|
-
} :
|
|
71
|
+
get: u.get,
|
|
72
|
+
set: u.set
|
|
73
|
+
} : u[f], _);
|
|
74
74
|
if (c === "accessor") {
|
|
75
75
|
if (h === void 0) continue;
|
|
76
76
|
if (h === null || typeof h !== "object") throw new TypeError("Object expected");
|
|
77
|
-
if (l =
|
|
78
|
-
if (l =
|
|
79
|
-
if (l =
|
|
80
|
-
} else if (l =
|
|
81
|
-
if (c === "field") o.unshift(l); else
|
|
77
|
+
if (l = a(h.get)) u.get = l;
|
|
78
|
+
if (l = a(h.set)) u.set = l;
|
|
79
|
+
if (l = a(h.init)) o.unshift(l);
|
|
80
|
+
} else if (l = a(h)) {
|
|
81
|
+
if (c === "field") o.unshift(l); else u[f] = l;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
if (
|
|
84
|
+
if (s) Object.defineProperty(s, n.name, u);
|
|
85
85
|
p = true;
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -97,7 +97,7 @@ function f(e) {
|
|
|
97
97
|
return typeof e === "symbol" ? e : "".concat(e);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
function
|
|
100
|
+
function s(e, t, r) {
|
|
101
101
|
if (typeof t === "symbol") t = t.description ? "[".concat(t.description, "]") : "";
|
|
102
102
|
return Object.defineProperty(e, "name", {
|
|
103
103
|
configurable: true,
|
|
@@ -105,7 +105,7 @@ function u(e, t, r) {
|
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
function
|
|
108
|
+
function u(e, t) {
|
|
109
109
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(e, t);
|
|
110
110
|
}
|
|
111
111
|
|
|
@@ -115,23 +115,23 @@ function l(e, t, r, n) {
|
|
|
115
115
|
t(e);
|
|
116
116
|
}));
|
|
117
117
|
}
|
|
118
|
-
return new (r || (r = Promise))((function(r,
|
|
119
|
-
function
|
|
118
|
+
return new (r || (r = Promise))((function(r, i) {
|
|
119
|
+
function a(e) {
|
|
120
120
|
try {
|
|
121
121
|
f(n.next(e));
|
|
122
122
|
} catch (e) {
|
|
123
|
-
|
|
123
|
+
i(e);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
function c(e) {
|
|
127
127
|
try {
|
|
128
128
|
f(n["throw"](e));
|
|
129
129
|
} catch (e) {
|
|
130
|
-
|
|
130
|
+
i(e);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
function f(e) {
|
|
134
|
-
e.done ? r(e.value) : o(e.value).then(
|
|
134
|
+
e.done ? r(e.value) : o(e.value).then(a, c);
|
|
135
135
|
}
|
|
136
136
|
f((n = n.apply(e, t || [])).next());
|
|
137
137
|
}));
|
|
@@ -141,19 +141,15 @@ function p(e, t) {
|
|
|
141
141
|
var r = {
|
|
142
142
|
label: 0,
|
|
143
143
|
sent: function() {
|
|
144
|
-
if (
|
|
145
|
-
return
|
|
144
|
+
if (i[0] & 1) throw i[1];
|
|
145
|
+
return i[1];
|
|
146
146
|
},
|
|
147
147
|
trys: [],
|
|
148
148
|
ops: []
|
|
149
|
-
}, n, o,
|
|
150
|
-
return
|
|
151
|
-
next: c(0),
|
|
152
|
-
throw: c(1),
|
|
153
|
-
return: c(2)
|
|
154
|
-
}, typeof Symbol === "function" && (i[Symbol.iterator] = function() {
|
|
149
|
+
}, n, o, i, a = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
150
|
+
return a.next = c(0), a["throw"] = c(1), a["return"] = c(2), typeof Symbol === "function" && (a[Symbol.iterator] = function() {
|
|
155
151
|
return this;
|
|
156
|
-
}),
|
|
152
|
+
}), a;
|
|
157
153
|
function c(e) {
|
|
158
154
|
return function(t) {
|
|
159
155
|
return f([ e, t ]);
|
|
@@ -161,14 +157,14 @@ function p(e, t) {
|
|
|
161
157
|
}
|
|
162
158
|
function f(c) {
|
|
163
159
|
if (n) throw new TypeError("Generator is already executing.");
|
|
164
|
-
while (
|
|
165
|
-
if (n = 1, o && (
|
|
166
|
-
0) : o.next) && !(
|
|
167
|
-
if (o = 0,
|
|
160
|
+
while (a && (a = 0, c[0] && (r = 0)), r) try {
|
|
161
|
+
if (n = 1, o && (i = c[0] & 2 ? o["return"] : c[0] ? o["throw"] || ((i = o["return"]) && i.call(o),
|
|
162
|
+
0) : o.next) && !(i = i.call(o, c[1])).done) return i;
|
|
163
|
+
if (o = 0, i) c = [ c[0] & 2, i.value ];
|
|
168
164
|
switch (c[0]) {
|
|
169
165
|
case 0:
|
|
170
166
|
case 1:
|
|
171
|
-
|
|
167
|
+
i = c;
|
|
172
168
|
break;
|
|
173
169
|
|
|
174
170
|
case 4:
|
|
@@ -190,25 +186,25 @@ function p(e, t) {
|
|
|
190
186
|
continue;
|
|
191
187
|
|
|
192
188
|
default:
|
|
193
|
-
if (!(
|
|
189
|
+
if (!(i = r.trys, i = i.length > 0 && i[i.length - 1]) && (c[0] === 6 || c[0] === 2)) {
|
|
194
190
|
r = 0;
|
|
195
191
|
continue;
|
|
196
192
|
}
|
|
197
|
-
if (c[0] === 3 && (!
|
|
193
|
+
if (c[0] === 3 && (!i || c[1] > i[0] && c[1] < i[3])) {
|
|
198
194
|
r.label = c[1];
|
|
199
195
|
break;
|
|
200
196
|
}
|
|
201
|
-
if (c[0] === 6 && r.label <
|
|
202
|
-
r.label =
|
|
203
|
-
|
|
197
|
+
if (c[0] === 6 && r.label < i[1]) {
|
|
198
|
+
r.label = i[1];
|
|
199
|
+
i = c;
|
|
204
200
|
break;
|
|
205
201
|
}
|
|
206
|
-
if (
|
|
207
|
-
r.label =
|
|
202
|
+
if (i && r.label < i[2]) {
|
|
203
|
+
r.label = i[2];
|
|
208
204
|
r.ops.push(c);
|
|
209
205
|
break;
|
|
210
206
|
}
|
|
211
|
-
if (
|
|
207
|
+
if (i[2]) r.ops.pop();
|
|
212
208
|
r.trys.pop();
|
|
213
209
|
continue;
|
|
214
210
|
}
|
|
@@ -217,7 +213,7 @@ function p(e, t) {
|
|
|
217
213
|
c = [ 6, e ];
|
|
218
214
|
o = 0;
|
|
219
215
|
} finally {
|
|
220
|
-
n =
|
|
216
|
+
n = i = 0;
|
|
221
217
|
}
|
|
222
218
|
if (c[0] & 5) throw c[1];
|
|
223
219
|
return {
|
|
@@ -266,43 +262,43 @@ function d(e) {
|
|
|
266
262
|
function h(e, t) {
|
|
267
263
|
var r = typeof Symbol === "function" && e[Symbol.iterator];
|
|
268
264
|
if (!r) return e;
|
|
269
|
-
var n = r.call(e), o,
|
|
265
|
+
var n = r.call(e), o, i = [], a;
|
|
270
266
|
try {
|
|
271
|
-
while ((t === void 0 || t-- > 0) && !(o = n.next()).done)
|
|
267
|
+
while ((t === void 0 || t-- > 0) && !(o = n.next()).done) i.push(o.value);
|
|
272
268
|
} catch (e) {
|
|
273
|
-
|
|
269
|
+
a = {
|
|
274
270
|
error: e
|
|
275
271
|
};
|
|
276
272
|
} finally {
|
|
277
273
|
try {
|
|
278
274
|
if (o && !o.done && (r = n["return"])) r.call(n);
|
|
279
275
|
} finally {
|
|
280
|
-
if (
|
|
276
|
+
if (a) throw a.error;
|
|
281
277
|
}
|
|
282
278
|
}
|
|
283
|
-
return
|
|
279
|
+
return i;
|
|
284
280
|
}
|
|
285
281
|
|
|
286
|
-
function
|
|
282
|
+
function v() {
|
|
287
283
|
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(h(arguments[t]));
|
|
288
284
|
return e;
|
|
289
285
|
}
|
|
290
286
|
|
|
291
|
-
function
|
|
287
|
+
function b() {
|
|
292
288
|
for (var e = 0, t = 0, r = arguments.length; t < r; t++) e += arguments[t].length;
|
|
293
|
-
for (var n = Array(e), o = 0, t = 0; t < r; t++) for (var
|
|
294
|
-
o++) n[o] = a
|
|
289
|
+
for (var n = Array(e), o = 0, t = 0; t < r; t++) for (var i = arguments[t], a = 0, c = i.length; a < c; a++,
|
|
290
|
+
o++) n[o] = i[a];
|
|
295
291
|
return n;
|
|
296
292
|
}
|
|
297
293
|
|
|
298
294
|
function w(e, t, r) {
|
|
299
|
-
if (r || arguments.length === 2) for (var n = 0, o = t.length,
|
|
300
|
-
if (
|
|
301
|
-
if (!
|
|
302
|
-
|
|
295
|
+
if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++) {
|
|
296
|
+
if (i || !(n in t)) {
|
|
297
|
+
if (!i) i = Array.prototype.slice.call(t, 0, n);
|
|
298
|
+
i[n] = t[n];
|
|
303
299
|
}
|
|
304
300
|
}
|
|
305
|
-
return e.concat(
|
|
301
|
+
return e.concat(i || Array.prototype.slice.call(t));
|
|
306
302
|
}
|
|
307
303
|
|
|
308
304
|
function m(e) {
|
|
@@ -311,35 +307,44 @@ function m(e) {
|
|
|
311
307
|
|
|
312
308
|
function g(e, t, r) {
|
|
313
309
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
314
|
-
var n = r.apply(e, t || []), o,
|
|
315
|
-
return o =
|
|
310
|
+
var n = r.apply(e, t || []), o, i = [];
|
|
311
|
+
return o = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype),
|
|
312
|
+
c("next"), c("throw"), c("return", a), o[Symbol.asyncIterator] = function() {
|
|
316
313
|
return this;
|
|
317
314
|
}, o;
|
|
318
|
-
function
|
|
319
|
-
|
|
320
|
-
return
|
|
321
|
-
a.push([ e, t, r, n ]) > 1 || c(e, t);
|
|
322
|
-
}));
|
|
315
|
+
function a(e) {
|
|
316
|
+
return function(t) {
|
|
317
|
+
return Promise.resolve(t).then(e, l);
|
|
323
318
|
};
|
|
324
319
|
}
|
|
325
320
|
function c(e, t) {
|
|
321
|
+
if (n[e]) {
|
|
322
|
+
o[e] = function(t) {
|
|
323
|
+
return new Promise((function(r, n) {
|
|
324
|
+
i.push([ e, t, r, n ]) > 1 || f(e, t);
|
|
325
|
+
}));
|
|
326
|
+
};
|
|
327
|
+
if (t) o[e] = t(o[e]);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
function f(e, t) {
|
|
326
331
|
try {
|
|
327
|
-
|
|
332
|
+
s(n[e](t));
|
|
328
333
|
} catch (e) {
|
|
329
|
-
|
|
334
|
+
p(i[0][3], e);
|
|
330
335
|
}
|
|
331
336
|
}
|
|
332
|
-
function
|
|
333
|
-
e.value instanceof m ? Promise.resolve(e.value.v).then(u,
|
|
337
|
+
function s(e) {
|
|
338
|
+
e.value instanceof m ? Promise.resolve(e.value.v).then(u, l) : p(i[0][2], e);
|
|
334
339
|
}
|
|
335
340
|
function u(e) {
|
|
336
|
-
|
|
341
|
+
f("next", e);
|
|
337
342
|
}
|
|
338
|
-
function
|
|
339
|
-
|
|
343
|
+
function l(e) {
|
|
344
|
+
f("throw", e);
|
|
340
345
|
}
|
|
341
|
-
function
|
|
342
|
-
if (e(t),
|
|
346
|
+
function p(e, t) {
|
|
347
|
+
if (e(t), i.shift(), i.length) f(i[0][0], i[0][1]);
|
|
343
348
|
}
|
|
344
349
|
}
|
|
345
350
|
|
|
@@ -369,8 +374,8 @@ function j(e) {
|
|
|
369
374
|
}, r);
|
|
370
375
|
function n(t) {
|
|
371
376
|
r[t] = e[t] && function(r) {
|
|
372
|
-
return new Promise((function(n,
|
|
373
|
-
r = e[t](r), o(n,
|
|
377
|
+
return new Promise((function(n, i) {
|
|
378
|
+
r = e[t](r), o(n, i, r.done, r.value);
|
|
374
379
|
}));
|
|
375
380
|
};
|
|
376
381
|
}
|
|
@@ -384,7 +389,7 @@ function j(e) {
|
|
|
384
389
|
}
|
|
385
390
|
}
|
|
386
391
|
|
|
387
|
-
function
|
|
392
|
+
function P(e, t) {
|
|
388
393
|
if (Object.defineProperty) {
|
|
389
394
|
Object.defineProperty(e, "raw", {
|
|
390
395
|
value: t
|
|
@@ -395,7 +400,7 @@ function S(e, t) {
|
|
|
395
400
|
return e;
|
|
396
401
|
}
|
|
397
402
|
|
|
398
|
-
var
|
|
403
|
+
var S = Object.create ? function(e, t) {
|
|
399
404
|
Object.defineProperty(e, "default", {
|
|
400
405
|
enumerable: true,
|
|
401
406
|
value: t
|
|
@@ -404,21 +409,30 @@ var P = Object.create ? function(e, t) {
|
|
|
404
409
|
e["default"] = t;
|
|
405
410
|
};
|
|
406
411
|
|
|
407
|
-
|
|
412
|
+
var E = function(e) {
|
|
413
|
+
E = Object.getOwnPropertyNames || function(e) {
|
|
414
|
+
var t = [];
|
|
415
|
+
for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) t[t.length] = r;
|
|
416
|
+
return t;
|
|
417
|
+
};
|
|
418
|
+
return E(e);
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
function x(e) {
|
|
408
422
|
if (e && e.__esModule) return e;
|
|
409
423
|
var t = {};
|
|
410
|
-
if (e != null) for (var r
|
|
411
|
-
|
|
424
|
+
if (e != null) for (var r = E(e), n = 0; n < r.length; n++) if (r[n] !== "default") y(t, e, r[n]);
|
|
425
|
+
S(t, e);
|
|
412
426
|
return t;
|
|
413
427
|
}
|
|
414
428
|
|
|
415
|
-
function
|
|
429
|
+
function T(e) {
|
|
416
430
|
return e && e.__esModule ? e : {
|
|
417
431
|
default: e
|
|
418
432
|
};
|
|
419
433
|
}
|
|
420
434
|
|
|
421
|
-
function
|
|
435
|
+
function I(e, t, r, n) {
|
|
422
436
|
if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
|
|
423
437
|
if (typeof t === "function" ? e !== t || !n : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
424
438
|
return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
|
|
@@ -431,7 +445,7 @@ function D(e, t, r, n, o) {
|
|
|
431
445
|
return n === "a" ? o.call(e, r) : o ? o.value = r : t.set(e, r), r;
|
|
432
446
|
}
|
|
433
447
|
|
|
434
|
-
function
|
|
448
|
+
function R(e, t) {
|
|
435
449
|
if (t === null || typeof t !== "object" && typeof t !== "function") throw new TypeError("Cannot use 'in' operator on non-object");
|
|
436
450
|
return typeof e === "function" ? t === e : e.has(t);
|
|
437
451
|
}
|
|
@@ -439,7 +453,7 @@ function I(e, t) {
|
|
|
439
453
|
function k(e, t, r) {
|
|
440
454
|
if (t !== null && t !== void 0) {
|
|
441
455
|
if (typeof t !== "object" && typeof t !== "function") throw new TypeError("Object expected.");
|
|
442
|
-
var n;
|
|
456
|
+
var n, o;
|
|
443
457
|
if (r) {
|
|
444
458
|
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
445
459
|
n = t[Symbol.asyncDispose];
|
|
@@ -447,8 +461,16 @@ function k(e, t, r) {
|
|
|
447
461
|
if (n === void 0) {
|
|
448
462
|
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
|
449
463
|
n = t[Symbol.dispose];
|
|
464
|
+
if (r) o = n;
|
|
450
465
|
}
|
|
451
466
|
if (typeof n !== "function") throw new TypeError("Object not disposable.");
|
|
467
|
+
if (o) n = function() {
|
|
468
|
+
try {
|
|
469
|
+
o.call(this);
|
|
470
|
+
} catch (e) {
|
|
471
|
+
return Promise.reject(e);
|
|
472
|
+
}
|
|
473
|
+
};
|
|
452
474
|
e.stack.push({
|
|
453
475
|
value: t,
|
|
454
476
|
dispose: n,
|
|
@@ -462,65 +484,83 @@ function k(e, t, r) {
|
|
|
462
484
|
return t;
|
|
463
485
|
}
|
|
464
486
|
|
|
465
|
-
var
|
|
487
|
+
var A = typeof SuppressedError === "function" ? SuppressedError : function(e, t, r) {
|
|
466
488
|
var n = new Error(r);
|
|
467
489
|
return n.name = "SuppressedError", n.error = e, n.suppressed = t, n;
|
|
468
490
|
};
|
|
469
491
|
|
|
470
|
-
function
|
|
492
|
+
function F(e) {
|
|
471
493
|
function t(t) {
|
|
472
|
-
e.error = e.hasError ? new
|
|
494
|
+
e.error = e.hasError ? new A(t, e.error, "An error was suppressed during disposal.") : t;
|
|
473
495
|
e.hasError = true;
|
|
474
496
|
}
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
497
|
+
var r, n = 0;
|
|
498
|
+
function o() {
|
|
499
|
+
while (r = e.stack.pop()) {
|
|
478
500
|
try {
|
|
479
|
-
|
|
480
|
-
if (
|
|
481
|
-
|
|
482
|
-
return
|
|
483
|
-
|
|
501
|
+
if (!r.async && n === 1) return n = 0, e.stack.push(r), Promise.resolve().then(o);
|
|
502
|
+
if (r.dispose) {
|
|
503
|
+
var i = r.dispose.call(r.value);
|
|
504
|
+
if (r.async) return n |= 2, Promise.resolve(i).then(o, (function(e) {
|
|
505
|
+
t(e);
|
|
506
|
+
return o();
|
|
507
|
+
}));
|
|
508
|
+
} else n |= 1;
|
|
484
509
|
} catch (e) {
|
|
485
510
|
t(e);
|
|
486
511
|
}
|
|
487
512
|
}
|
|
513
|
+
if (n === 1) return e.hasError ? Promise.reject(e.error) : Promise.resolve();
|
|
488
514
|
if (e.hasError) throw e.error;
|
|
489
515
|
}
|
|
490
|
-
return
|
|
516
|
+
return o();
|
|
491
517
|
}
|
|
492
518
|
|
|
493
|
-
|
|
519
|
+
function C(e, t) {
|
|
520
|
+
if (typeof e === "string" && /^\.\.?\//.test(e)) {
|
|
521
|
+
return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, (function(e, r, n, o, i) {
|
|
522
|
+
return r ? t ? ".jsx" : ".js" : n && (!o || !i) ? e : n + o + "." + i.toLowerCase() + "js";
|
|
523
|
+
}));
|
|
524
|
+
}
|
|
525
|
+
return e;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
const z = {
|
|
494
529
|
__extends: t,
|
|
495
530
|
__assign: r,
|
|
496
531
|
__rest: n,
|
|
497
532
|
__decorate: o,
|
|
498
|
-
__param:
|
|
499
|
-
|
|
533
|
+
__param: i,
|
|
534
|
+
__esDecorate: a,
|
|
535
|
+
__runInitializers: c,
|
|
536
|
+
__propKey: f,
|
|
537
|
+
__setFunctionName: s,
|
|
538
|
+
__metadata: u,
|
|
500
539
|
__awaiter: l,
|
|
501
540
|
__generator: p,
|
|
502
541
|
__createBinding: y,
|
|
503
542
|
__exportStar: _,
|
|
504
543
|
__values: d,
|
|
505
544
|
__read: h,
|
|
506
|
-
__spread:
|
|
507
|
-
__spreadArrays:
|
|
545
|
+
__spread: v,
|
|
546
|
+
__spreadArrays: b,
|
|
508
547
|
__spreadArray: w,
|
|
509
548
|
__await: m,
|
|
510
549
|
__asyncGenerator: g,
|
|
511
550
|
__asyncDelegator: O,
|
|
512
551
|
__asyncValues: j,
|
|
513
|
-
__makeTemplateObject:
|
|
514
|
-
__importStar:
|
|
515
|
-
__importDefault:
|
|
516
|
-
__classPrivateFieldGet:
|
|
552
|
+
__makeTemplateObject: P,
|
|
553
|
+
__importStar: x,
|
|
554
|
+
__importDefault: T,
|
|
555
|
+
__classPrivateFieldGet: I,
|
|
517
556
|
__classPrivateFieldSet: D,
|
|
518
|
-
__classPrivateFieldIn:
|
|
557
|
+
__classPrivateFieldIn: R,
|
|
519
558
|
__addDisposableResource: k,
|
|
520
|
-
__disposeResources:
|
|
559
|
+
__disposeResources: F,
|
|
560
|
+
__rewriteRelativeImportExtension: C
|
|
521
561
|
};
|
|
522
562
|
|
|
523
|
-
const
|
|
563
|
+
const G = Object.freeze(Object.defineProperty({
|
|
524
564
|
__proto__: null,
|
|
525
565
|
__addDisposableResource: k,
|
|
526
566
|
get __assign() {
|
|
@@ -531,33 +571,34 @@ const C = Object.freeze(Object.defineProperty({
|
|
|
531
571
|
__asyncValues: j,
|
|
532
572
|
__await: m,
|
|
533
573
|
__awaiter: l,
|
|
534
|
-
__classPrivateFieldGet:
|
|
535
|
-
__classPrivateFieldIn:
|
|
574
|
+
__classPrivateFieldGet: I,
|
|
575
|
+
__classPrivateFieldIn: R,
|
|
536
576
|
__classPrivateFieldSet: D,
|
|
537
577
|
__createBinding: y,
|
|
538
578
|
__decorate: o,
|
|
539
|
-
__disposeResources:
|
|
540
|
-
__esDecorate:
|
|
579
|
+
__disposeResources: F,
|
|
580
|
+
__esDecorate: a,
|
|
541
581
|
__exportStar: _,
|
|
542
582
|
__extends: t,
|
|
543
583
|
__generator: p,
|
|
544
|
-
__importDefault:
|
|
545
|
-
__importStar:
|
|
546
|
-
__makeTemplateObject:
|
|
547
|
-
__metadata:
|
|
548
|
-
__param:
|
|
584
|
+
__importDefault: T,
|
|
585
|
+
__importStar: x,
|
|
586
|
+
__makeTemplateObject: P,
|
|
587
|
+
__metadata: u,
|
|
588
|
+
__param: i,
|
|
549
589
|
__propKey: f,
|
|
550
590
|
__read: h,
|
|
551
591
|
__rest: n,
|
|
592
|
+
__rewriteRelativeImportExtension: C,
|
|
552
593
|
__runInitializers: c,
|
|
553
|
-
__setFunctionName:
|
|
554
|
-
__spread:
|
|
594
|
+
__setFunctionName: s,
|
|
595
|
+
__spread: v,
|
|
555
596
|
__spreadArray: w,
|
|
556
|
-
__spreadArrays:
|
|
597
|
+
__spreadArrays: b,
|
|
557
598
|
__values: d,
|
|
558
|
-
default:
|
|
599
|
+
default: z
|
|
559
600
|
}, Symbol.toStringTag, {
|
|
560
601
|
value: "Module"
|
|
561
602
|
}));
|
|
562
603
|
|
|
563
|
-
export { o as _,
|
|
604
|
+
export { o as _, u as a, G as t };
|
package/vendor/Package.13.cjs
CHANGED