@salesforce/core-bundle 7.3.0 → 7.3.9
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/lib/index.d.ts +1 -1
- package/lib/index.js +1449 -2006
- package/lib/pino-file.js +36 -10
- package/lib/pino-pretty.js +58 -8
- package/lib/pino-worker.js +94 -18
- package/lib/thread-stream-worker.js +14 -1
- package/lib/transformStream.js +3 -3
- package/package.json +7 -7
package/lib/index.js
CHANGED
@@ -1142,7 +1142,7 @@ var require_lodash = __commonJS({
|
|
1142
1142
|
}
|
1143
1143
|
function a(t2) {
|
1144
1144
|
return function(e2) {
|
1145
|
-
return null == e2 ?
|
1145
|
+
return null == e2 ? ie : e2[t2];
|
1146
1146
|
};
|
1147
1147
|
}
|
1148
1148
|
function f(t2, e2) {
|
@@ -1179,16 +1179,21 @@ var require_lodash = __commonJS({
|
|
1179
1179
|
n2[++e2] = t3;
|
1180
1180
|
}), n2;
|
1181
1181
|
}
|
1182
|
-
function y() {
|
1182
|
+
function y(t2) {
|
1183
|
+
for (var e2 = t2.length; e2-- && pe.test(t2.charAt(e2)); )
|
1184
|
+
;
|
1185
|
+
return e2;
|
1186
|
+
}
|
1187
|
+
function j() {
|
1183
1188
|
}
|
1184
|
-
function
|
1189
|
+
function v(t2) {
|
1185
1190
|
var e2 = -1, n2 = null == t2 ? 0 : t2.length;
|
1186
1191
|
for (this.clear(); ++e2 < n2; ) {
|
1187
1192
|
var r2 = t2[e2];
|
1188
1193
|
this.set(r2[0], r2[1]);
|
1189
1194
|
}
|
1190
1195
|
}
|
1191
|
-
function
|
1196
|
+
function g(t2) {
|
1192
1197
|
var e2 = -1, n2 = null == t2 ? 0 : t2.length;
|
1193
1198
|
for (this.clear(); ++e2 < n2; ) {
|
1194
1199
|
var r2 = t2[e2];
|
@@ -1202,16 +1207,16 @@ var require_lodash = __commonJS({
|
|
1202
1207
|
this.set(r2[0], r2[1]);
|
1203
1208
|
}
|
1204
1209
|
}
|
1205
|
-
function
|
1210
|
+
function d(t2) {
|
1206
1211
|
var e2 = -1, n2 = null == t2 ? 0 : t2.length;
|
1207
1212
|
for (this.__data__ = new _(); ++e2 < n2; )
|
1208
1213
|
this.add(t2[e2]);
|
1209
1214
|
}
|
1210
|
-
function
|
1211
|
-
this.size = (this.__data__ = new
|
1215
|
+
function A(t2) {
|
1216
|
+
this.size = (this.__data__ = new g(t2)).size;
|
1212
1217
|
}
|
1213
|
-
function
|
1214
|
-
var n2 =
|
1218
|
+
function w(t2, e2) {
|
1219
|
+
var n2 = Un(t2), r2 = !n2 && Mn(t2), o2 = !n2 && !r2 && $n(t2), u2 = !n2 && !r2 && !o2 && Ln(t2);
|
1215
1220
|
if (n2 = n2 || r2 || o2 || u2) {
|
1216
1221
|
for (var r2 = t2.length, c2 = String, i2 = -1, a2 = Array(r2); ++i2 < r2; )
|
1217
1222
|
a2[i2] = c2(i2);
|
@@ -1220,170 +1225,167 @@ var require_lodash = __commonJS({
|
|
1220
1225
|
r2 = [];
|
1221
1226
|
var f2, c2 = r2.length;
|
1222
1227
|
for (f2 in t2)
|
1223
|
-
!e2 && !
|
1228
|
+
!e2 && !Ce.call(t2, f2) || n2 && ("length" == f2 || o2 && ("offset" == f2 || "parent" == f2) || u2 && ("buffer" == f2 || "byteLength" == f2 || "byteOffset" == f2) || wt(f2, c2)) || r2.push(f2);
|
1224
1229
|
return r2;
|
1225
1230
|
}
|
1226
|
-
function w(t2, e2, n2) {
|
1227
|
-
(n2 === ue || Mt(t2[e2], n2)) && (n2 !== ue || e2 in t2) || x(t2, e2, n2);
|
1228
|
-
}
|
1229
1231
|
function m(t2, e2, n2) {
|
1232
|
+
(n2 === ie || $t(t2[e2], n2)) && (n2 !== ie || e2 in t2) || E(t2, e2, n2);
|
1233
|
+
}
|
1234
|
+
function O(t2, e2, n2) {
|
1230
1235
|
var r2 = t2[e2];
|
1231
|
-
|
1236
|
+
Ce.call(t2, e2) && $t(r2, n2) && (n2 !== ie || e2 in t2) || E(t2, e2, n2);
|
1232
1237
|
}
|
1233
|
-
function
|
1238
|
+
function S(t2, e2) {
|
1234
1239
|
for (var n2 = t2.length; n2--; )
|
1235
|
-
if (
|
1240
|
+
if ($t(t2[n2][0], e2))
|
1236
1241
|
return n2;
|
1237
1242
|
return -1;
|
1238
1243
|
}
|
1239
|
-
function
|
1240
|
-
return
|
1244
|
+
function k(t2, e2, n2, r2) {
|
1245
|
+
return mn(t2, function(t3, o2, u2) {
|
1241
1246
|
e2(r2, t3, n2(t3), u2);
|
1242
1247
|
}), r2;
|
1243
1248
|
}
|
1244
|
-
function k(t2, e2) {
|
1245
|
-
return t2 && ut(e2, Qt(e2), t2);
|
1246
|
-
}
|
1247
1249
|
function z(t2, e2) {
|
1248
|
-
return t2 &&
|
1250
|
+
return t2 && ct(e2, Yt(e2), t2);
|
1249
1251
|
}
|
1250
|
-
function x(t2, e2
|
1251
|
-
|
1252
|
+
function x(t2, e2) {
|
1253
|
+
return t2 && ct(e2, Zt(e2), t2);
|
1252
1254
|
}
|
1253
|
-
function E(t2, e2,
|
1255
|
+
function E(t2, e2, n2) {
|
1256
|
+
"__proto__" == e2 && en ? en(t2, e2, { configurable: true, enumerable: true, value: n2, writable: true }) : t2[e2] = n2;
|
1257
|
+
}
|
1258
|
+
function F(t2, e2, r2, o2, u2, c2) {
|
1254
1259
|
var i2, a2 = 1 & e2, f2 = 2 & e2, l2 = 4 & e2;
|
1255
|
-
if (r2 && (i2 = u2 ? r2(t2, o2, u2, c2) : r2(t2)), i2 !==
|
1260
|
+
if (r2 && (i2 = u2 ? r2(t2, o2, u2, c2) : r2(t2)), i2 !== ie)
|
1256
1261
|
return i2;
|
1257
|
-
if (!
|
1262
|
+
if (!Ct(t2))
|
1258
1263
|
return t2;
|
1259
|
-
if (o2 =
|
1260
|
-
if (i2 =
|
1261
|
-
return
|
1264
|
+
if (o2 = Un(t2)) {
|
1265
|
+
if (i2 = gt(t2), !a2)
|
1266
|
+
return ut(t2, i2);
|
1262
1267
|
} else {
|
1263
|
-
var s2 =
|
1264
|
-
if (
|
1265
|
-
return
|
1268
|
+
var s2 = xn(t2), b2 = "[object Function]" == s2 || "[object GeneratorFunction]" == s2;
|
1269
|
+
if ($n(t2))
|
1270
|
+
return nt(t2, a2);
|
1266
1271
|
if ("[object Object]" == s2 || "[object Arguments]" == s2 || b2 && !u2) {
|
1267
1272
|
if (i2 = f2 || b2 ? {} : _t(t2), !a2)
|
1268
|
-
return f2 ?
|
1273
|
+
return f2 ? at(t2, x(i2, t2)) : it(t2, z(i2, t2));
|
1269
1274
|
} else {
|
1270
|
-
if (!
|
1275
|
+
if (!me[s2])
|
1271
1276
|
return u2 ? t2 : {};
|
1272
|
-
i2 =
|
1277
|
+
i2 = dt(t2, s2, a2);
|
1273
1278
|
}
|
1274
1279
|
}
|
1275
|
-
if (c2 || (c2 = new
|
1280
|
+
if (c2 || (c2 = new A()), u2 = c2.get(t2))
|
1276
1281
|
return u2;
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
i2.set(o3, E(n2, e2, r2, o3, t2, c2));
|
1284
|
-
}), i2;
|
1285
|
-
var f2 = l2 ? f2 ? bt : st : f2 ? Xt : Qt, h2 = o2 ? ue : f2(t2);
|
1282
|
+
c2.set(t2, i2), Pn(t2) ? t2.forEach(function(n2) {
|
1283
|
+
i2.add(F(n2, e2, r2, n2, t2, c2));
|
1284
|
+
}) : Dn(t2) && t2.forEach(function(n2, o3) {
|
1285
|
+
i2.set(o3, F(n2, e2, r2, o3, t2, c2));
|
1286
|
+
});
|
1287
|
+
var f2 = l2 ? f2 ? ht : bt : f2 ? Zt : Yt, h2 = o2 ? ie : f2(t2);
|
1286
1288
|
return n(h2 || t2, function(n2, o3) {
|
1287
|
-
h2 && (o3 = n2, n2 = t2[o3]),
|
1289
|
+
h2 && (o3 = n2, n2 = t2[o3]), O(i2, o3, F(n2, e2, r2, o3, t2, c2));
|
1288
1290
|
}), i2;
|
1289
1291
|
}
|
1290
|
-
function
|
1292
|
+
function I(t2, e2, n2) {
|
1291
1293
|
for (var r2 = -1, o2 = t2.length; ++r2 < o2; ) {
|
1292
1294
|
var u2 = t2[r2], c2 = e2(u2);
|
1293
|
-
if (null != c2 && (i2 ===
|
1295
|
+
if (null != c2 && (i2 === ie ? c2 === c2 && !Wt(c2) : n2(c2, i2)))
|
1294
1296
|
var i2 = c2, a2 = u2;
|
1295
1297
|
}
|
1296
1298
|
return a2;
|
1297
1299
|
}
|
1298
|
-
function
|
1300
|
+
function B(t2, e2, n2, r2, o2) {
|
1299
1301
|
var c2 = -1, i2 = t2.length;
|
1300
|
-
for (n2 || (n2 =
|
1302
|
+
for (n2 || (n2 = At), o2 || (o2 = []); ++c2 < i2; ) {
|
1301
1303
|
var a2 = t2[c2];
|
1302
|
-
0 < e2 && n2(a2) ? 1 < e2 ?
|
1304
|
+
0 < e2 && n2(a2) ? 1 < e2 ? B(a2, e2 - 1, n2, r2, o2) : u(o2, a2) : r2 || (o2[o2.length] = a2);
|
1303
1305
|
}
|
1304
1306
|
return o2;
|
1305
1307
|
}
|
1306
|
-
function B(t2, e2) {
|
1307
|
-
return t2 && An(t2, e2, Qt);
|
1308
|
-
}
|
1309
1308
|
function M(t2, e2) {
|
1310
|
-
|
1309
|
+
return t2 && On(t2, e2, Yt);
|
1310
|
+
}
|
1311
|
+
function U(t2, e2) {
|
1312
|
+
e2 = et(e2, t2);
|
1311
1313
|
for (var n2 = 0, r2 = e2.length; null != t2 && n2 < r2; )
|
1312
|
-
t2 = t2[
|
1313
|
-
return n2 && n2 == r2 ? t2 :
|
1314
|
+
t2 = t2[Et(e2[n2++])];
|
1315
|
+
return n2 && n2 == r2 ? t2 : ie;
|
1314
1316
|
}
|
1315
1317
|
function $(t2, e2, n2) {
|
1316
|
-
return e2 = e2(t2),
|
1318
|
+
return e2 = e2(t2), Un(t2) ? e2 : u(e2, n2(t2));
|
1317
1319
|
}
|
1318
|
-
function
|
1320
|
+
function D(t2) {
|
1319
1321
|
if (null == t2)
|
1320
|
-
t2 = t2 ===
|
1321
|
-
else if (
|
1322
|
-
var e2 =
|
1322
|
+
t2 = t2 === ie ? "[object Undefined]" : "[object Null]";
|
1323
|
+
else if (tn && tn in Object(t2)) {
|
1324
|
+
var e2 = Ce.call(t2, tn), n2 = t2[tn];
|
1323
1325
|
try {
|
1324
|
-
t2[
|
1326
|
+
t2[tn] = ie;
|
1325
1327
|
var r2 = true;
|
1326
1328
|
} catch (t3) {
|
1327
1329
|
}
|
1328
|
-
var o2 =
|
1329
|
-
r2 && (e2 ? t2[
|
1330
|
+
var o2 = Ve.call(t2);
|
1331
|
+
r2 && (e2 ? t2[tn] = n2 : delete t2[tn]), t2 = o2;
|
1330
1332
|
} else
|
1331
|
-
t2 =
|
1333
|
+
t2 = Ve.call(t2);
|
1332
1334
|
return t2;
|
1333
1335
|
}
|
1334
|
-
function
|
1336
|
+
function P(t2, e2) {
|
1335
1337
|
return t2 > e2;
|
1336
1338
|
}
|
1337
|
-
function
|
1338
|
-
return
|
1339
|
+
function L(t2) {
|
1340
|
+
return Tt(t2) && "[object Arguments]" == D(t2);
|
1339
1341
|
}
|
1340
|
-
function
|
1342
|
+
function N(t2, e2, n2, r2, o2) {
|
1341
1343
|
if (t2 === e2)
|
1342
1344
|
e2 = true;
|
1343
|
-
else if (null == t2 || null == e2 || !
|
1345
|
+
else if (null == t2 || null == e2 || !Tt(t2) && !Tt(e2))
|
1344
1346
|
e2 = t2 !== t2 && e2 !== e2;
|
1345
1347
|
else
|
1346
1348
|
t: {
|
1347
|
-
var u2 =
|
1348
|
-
if ((a2 = i2 == a2) &&
|
1349
|
-
if (
|
1349
|
+
var u2 = Un(t2), c2 = Un(e2), i2 = u2 ? "[object Array]" : xn(t2), a2 = c2 ? "[object Array]" : xn(e2), i2 = "[object Arguments]" == i2 ? "[object Object]" : i2, a2 = "[object Arguments]" == a2 ? "[object Object]" : a2, f2 = "[object Object]" == i2, c2 = "[object Object]" == a2;
|
1350
|
+
if ((a2 = i2 == a2) && $n(t2)) {
|
1351
|
+
if (!$n(e2)) {
|
1350
1352
|
e2 = false;
|
1351
1353
|
break t;
|
1352
1354
|
}
|
1353
1355
|
u2 = true, f2 = false;
|
1354
1356
|
}
|
1355
1357
|
if (a2 && !f2)
|
1356
|
-
o2 || (o2 = new
|
1358
|
+
o2 || (o2 = new A()), e2 = u2 || Ln(t2) ? lt(t2, e2, n2, r2, N, o2) : st(t2, e2, i2, n2, r2, N, o2);
|
1357
1359
|
else {
|
1358
|
-
if (!(1 & n2) && (u2 = f2 &&
|
1359
|
-
t2 = u2 ? t2.value() : t2, e2 = i2 ? e2.value() : e2, o2 || (o2 = new
|
1360
|
+
if (!(1 & n2) && (u2 = f2 && Ce.call(t2, "__wrapped__"), i2 = c2 && Ce.call(e2, "__wrapped__"), u2 || i2)) {
|
1361
|
+
t2 = u2 ? t2.value() : t2, e2 = i2 ? e2.value() : e2, o2 || (o2 = new A()), e2 = N(t2, e2, n2, r2, o2);
|
1360
1362
|
break t;
|
1361
1363
|
}
|
1362
1364
|
if (a2)
|
1363
1365
|
e:
|
1364
|
-
if (o2 || (o2 = new
|
1365
|
-
for (
|
1366
|
-
var l2 = i2[
|
1367
|
-
if (!(u2 ? l2 in e2 :
|
1366
|
+
if (o2 || (o2 = new A()), u2 = 1 & n2, i2 = bt(t2), c2 = i2.length, a2 = bt(e2).length, c2 == a2 || u2) {
|
1367
|
+
for (a2 = c2; a2--; ) {
|
1368
|
+
var l2 = i2[a2];
|
1369
|
+
if (!(u2 ? l2 in e2 : Ce.call(e2, l2))) {
|
1368
1370
|
e2 = false;
|
1369
1371
|
break e;
|
1370
1372
|
}
|
1371
1373
|
}
|
1372
|
-
if (
|
1373
|
-
e2 =
|
1374
|
+
if (f2 = o2.get(t2), l2 = o2.get(e2), f2 && l2)
|
1375
|
+
e2 = f2 == e2 && l2 == t2;
|
1374
1376
|
else {
|
1375
|
-
|
1376
|
-
for (var s2 = u2; ++
|
1377
|
-
var l2 = i2[
|
1377
|
+
f2 = true, o2.set(t2, e2), o2.set(e2, t2);
|
1378
|
+
for (var s2 = u2; ++a2 < c2; ) {
|
1379
|
+
var l2 = i2[a2], b2 = t2[l2], h2 = e2[l2];
|
1378
1380
|
if (r2)
|
1379
1381
|
var p2 = u2 ? r2(h2, b2, l2, e2, t2, o2) : r2(b2, h2, l2, t2, e2, o2);
|
1380
|
-
if (p2 ===
|
1381
|
-
|
1382
|
+
if (p2 === ie ? b2 !== h2 && !N(b2, h2, n2, r2, o2) : !p2) {
|
1383
|
+
f2 = false;
|
1382
1384
|
break;
|
1383
1385
|
}
|
1384
1386
|
s2 || (s2 = "constructor" == l2);
|
1385
1387
|
}
|
1386
|
-
|
1388
|
+
f2 && !s2 && (n2 = t2.constructor, r2 = e2.constructor, n2 != r2 && "constructor" in t2 && "constructor" in e2 && !(typeof n2 == "function" && n2 instanceof n2 && typeof r2 == "function" && r2 instanceof r2) && (f2 = false)), o2.delete(t2), o2.delete(e2), e2 = f2;
|
1387
1389
|
}
|
1388
1390
|
} else
|
1389
1391
|
e2 = false;
|
@@ -1393,10 +1395,10 @@ var require_lodash = __commonJS({
|
|
1393
1395
|
}
|
1394
1396
|
return e2;
|
1395
1397
|
}
|
1396
|
-
function
|
1397
|
-
return
|
1398
|
+
function C(t2) {
|
1399
|
+
return Tt(t2) && "[object Map]" == xn(t2);
|
1398
1400
|
}
|
1399
|
-
function
|
1401
|
+
function T(t2, e2) {
|
1400
1402
|
var n2 = e2.length, r2 = n2;
|
1401
1403
|
if (null == t2)
|
1402
1404
|
return !r2;
|
@@ -1408,70 +1410,75 @@ var require_lodash = __commonJS({
|
|
1408
1410
|
for (; ++n2 < r2; ) {
|
1409
1411
|
var o2 = e2[n2], u2 = o2[0], c2 = t2[u2], i2 = o2[1];
|
1410
1412
|
if (o2[2]) {
|
1411
|
-
if (c2 ===
|
1413
|
+
if (c2 === ie && !(u2 in t2))
|
1412
1414
|
return false;
|
1413
|
-
} else if (o2 = new
|
1415
|
+
} else if (o2 = new A(), void 0 === ie ? !N(i2, c2, 3, void 0, o2) : 1)
|
1414
1416
|
return false;
|
1415
1417
|
}
|
1416
1418
|
return true;
|
1417
1419
|
}
|
1418
|
-
function T(t2) {
|
1419
|
-
return Nt(t2) && "[object Set]" == Sn(t2);
|
1420
|
-
}
|
1421
1420
|
function V(t2) {
|
1422
|
-
return
|
1421
|
+
return Tt(t2) && "[object Set]" == xn(t2);
|
1423
1422
|
}
|
1424
1423
|
function R(t2) {
|
1425
|
-
return
|
1424
|
+
return Tt(t2) && Nt(t2.length) && !!we[D(t2)];
|
1426
1425
|
}
|
1427
|
-
function W(t2
|
1428
|
-
return t2
|
1426
|
+
function W(t2) {
|
1427
|
+
return typeof t2 == "function" ? t2 : null == t2 ? ne : typeof t2 == "object" ? Un(t2) ? H(t2[0], t2[1]) : q(t2) : oe(t2);
|
1429
1428
|
}
|
1430
1429
|
function G(t2, e2) {
|
1431
|
-
|
1432
|
-
|
1430
|
+
return t2 < e2;
|
1431
|
+
}
|
1432
|
+
function K(t2, e2) {
|
1433
|
+
var n2 = -1, r2 = Dt(t2) ? Array(t2.length) : [];
|
1434
|
+
return mn(t2, function(t3, o2, u2) {
|
1433
1435
|
r2[++n2] = e2(t3, o2, u2);
|
1434
1436
|
}), r2;
|
1435
1437
|
}
|
1436
|
-
function
|
1437
|
-
var e2 =
|
1438
|
-
return 1 == e2.length && e2[0][2] ?
|
1439
|
-
return n2 === t2 ||
|
1438
|
+
function q(t2) {
|
1439
|
+
var e2 = jt(t2);
|
1440
|
+
return 1 == e2.length && e2[0][2] ? kt(e2[0][0], e2[0][1]) : function(n2) {
|
1441
|
+
return n2 === t2 || T(n2, e2);
|
1440
1442
|
};
|
1441
1443
|
}
|
1442
|
-
function
|
1443
|
-
return
|
1444
|
-
var r2 =
|
1445
|
-
return r2 ===
|
1444
|
+
function H(t2, e2) {
|
1445
|
+
return Ot(t2) && e2 === e2 && !Ct(e2) ? kt(Et(t2), e2) : function(n2) {
|
1446
|
+
var r2 = Qt(n2, t2);
|
1447
|
+
return r2 === ie && r2 === e2 ? Xt(n2, t2) : N(e2, r2, 3);
|
1446
1448
|
};
|
1447
1449
|
}
|
1448
|
-
function
|
1449
|
-
t2 !== e2 &&
|
1450
|
+
function J(t2, e2, n2, r2, o2) {
|
1451
|
+
t2 !== e2 && On(
|
1450
1452
|
e2,
|
1451
1453
|
function(u2, c2) {
|
1452
|
-
if (
|
1453
|
-
o2
|
1454
|
-
var i2 = o2, a2 = "__proto__" == c2 ? ue : t2[c2], f2 = "__proto__" == c2 ? ue : e2[c2], l2 = i2.get(f2);
|
1454
|
+
if (o2 || (o2 = new A()), Ct(u2)) {
|
1455
|
+
var i2 = o2, a2 = xt(t2, c2), f2 = xt(e2, c2), l2 = i2.get(f2);
|
1455
1456
|
if (l2)
|
1456
|
-
|
1457
|
+
m(t2, c2, l2);
|
1457
1458
|
else {
|
1458
|
-
var l2 = r2 ? r2(a2, f2, c2 + "", t2, e2, i2) :
|
1459
|
+
var l2 = r2 ? r2(a2, f2, c2 + "", t2, e2, i2) : ie, s2 = l2 === ie;
|
1459
1460
|
if (s2) {
|
1460
|
-
var b2 =
|
1461
|
-
b2 || h2 || p2 ?
|
1461
|
+
var b2 = Un(f2), h2 = !b2 && $n(f2), p2 = !b2 && !h2 && Ln(f2), l2 = f2;
|
1462
|
+
b2 || h2 || p2 ? Un(a2) ? l2 = a2 : Pt(a2) ? l2 = ut(a2) : h2 ? (s2 = false, l2 = nt(f2, true)) : p2 ? (s2 = false, l2 = ot(f2, true)) : l2 = [] : Vt(f2) || Mn(f2) ? (l2 = a2, Mn(a2) ? l2 = Ht(a2) : Ct(a2) && !Lt(a2) || (l2 = _t(f2))) : s2 = false;
|
1462
1463
|
}
|
1463
|
-
s2 && (i2.set(f2, l2),
|
1464
|
+
s2 && (i2.set(f2, l2), J(l2, f2, n2, r2, i2), i2.delete(f2)), m(t2, c2, l2);
|
1464
1465
|
}
|
1465
1466
|
} else
|
1466
|
-
i2 = r2 ? r2(
|
1467
|
+
i2 = r2 ? r2(xt(t2, c2), u2, c2 + "", t2, e2, o2) : ie, i2 === ie && (i2 = u2), m(t2, c2, i2);
|
1467
1468
|
},
|
1468
|
-
|
1469
|
+
Zt
|
1469
1470
|
);
|
1470
1471
|
}
|
1471
|
-
function
|
1472
|
-
var n2 = []
|
1473
|
-
|
1474
|
-
|
1472
|
+
function Q(t2, e2) {
|
1473
|
+
var n2 = [];
|
1474
|
+
e2 = e2.length ? o(e2, function(t3) {
|
1475
|
+
return Un(t3) ? function(e3) {
|
1476
|
+
return U(e3, 1 === t3.length ? t3[0] : t3);
|
1477
|
+
} : t3;
|
1478
|
+
}) : [ne];
|
1479
|
+
var r2 = -1;
|
1480
|
+
return e2 = o(e2, l(pt())), f(
|
1481
|
+
K(t2, function(t3) {
|
1475
1482
|
return {
|
1476
1483
|
a: o(e2, function(e3) {
|
1477
1484
|
return e3(t3);
|
@@ -1490,7 +1497,7 @@ var require_lodash = __commonJS({
|
|
1490
1497
|
a2 = o2[r3];
|
1491
1498
|
var f2 = u2[r3];
|
1492
1499
|
if (a2 !== f2) {
|
1493
|
-
var l2 = a2 !==
|
1500
|
+
var l2 = a2 !== ie, s2 = null === a2, b2 = a2 === a2, h2 = Wt(a2), p2 = f2 !== ie, y2 = null === f2, j2 = f2 === f2, v2 = Wt(f2);
|
1494
1501
|
if (!y2 && !v2 && !h2 && a2 > f2 || h2 && p2 && j2 && !y2 && !v2 || s2 && p2 && j2 || !l2 && j2 || !b2) {
|
1495
1502
|
a2 = 1;
|
1496
1503
|
break e;
|
@@ -1513,26 +1520,26 @@ var require_lodash = __commonJS({
|
|
1513
1520
|
}
|
1514
1521
|
);
|
1515
1522
|
}
|
1516
|
-
function
|
1523
|
+
function X(t2) {
|
1517
1524
|
return function(e2) {
|
1518
|
-
return
|
1525
|
+
return U(e2, t2);
|
1519
1526
|
};
|
1520
1527
|
}
|
1521
|
-
function X(t2) {
|
1522
|
-
return kn(kt(t2, void 0, te), t2 + "");
|
1523
|
-
}
|
1524
1528
|
function Y(t2) {
|
1529
|
+
return En(zt(t2, void 0, ne), t2 + "");
|
1530
|
+
}
|
1531
|
+
function Z(t2) {
|
1525
1532
|
if (typeof t2 == "string")
|
1526
1533
|
return t2;
|
1527
|
-
if (
|
1528
|
-
return o(t2,
|
1529
|
-
if (
|
1530
|
-
return
|
1534
|
+
if (Un(t2))
|
1535
|
+
return o(t2, Z) + "";
|
1536
|
+
if (Wt(t2))
|
1537
|
+
return An ? An.call(t2) : "";
|
1531
1538
|
var e2 = t2 + "";
|
1532
|
-
return "0" == e2 && 1 / t2 == -
|
1539
|
+
return "0" == e2 && 1 / t2 == -ae ? "-0" : e2;
|
1533
1540
|
}
|
1534
|
-
function
|
1535
|
-
e2 =
|
1541
|
+
function tt(t2, e2) {
|
1542
|
+
e2 = et(e2, t2);
|
1536
1543
|
var n2;
|
1537
1544
|
if (2 > e2.length)
|
1538
1545
|
n2 = t2;
|
@@ -1541,62 +1548,63 @@ var require_lodash = __commonJS({
|
|
1541
1548
|
var r2 = 0, o2 = -1, u2 = -1, c2 = n2.length;
|
1542
1549
|
for (0 > r2 && (r2 = -r2 > c2 ? 0 : c2 + r2), o2 = o2 > c2 ? c2 : o2, 0 > o2 && (o2 += c2), c2 = r2 > o2 ? 0 : o2 - r2 >>> 0, r2 >>>= 0, o2 = Array(c2); ++u2 < c2; )
|
1543
1550
|
o2[u2] = n2[u2 + r2];
|
1544
|
-
n2 =
|
1551
|
+
n2 = U(t2, o2);
|
1545
1552
|
}
|
1546
|
-
t2 = n2, null == t2 || delete t2[
|
1547
|
-
}
|
1548
|
-
function tt(t2, e2) {
|
1549
|
-
return In(t2) ? t2 : mt(t2, e2) ? [t2] : zn(qt(t2));
|
1553
|
+
t2 = n2, null == t2 || delete t2[Et(Bt(e2))];
|
1550
1554
|
}
|
1551
1555
|
function et(t2, e2) {
|
1556
|
+
return Un(t2) ? t2 : Ot(t2, e2) ? [t2] : Fn(Jt(t2));
|
1557
|
+
}
|
1558
|
+
function nt(t2, e2) {
|
1552
1559
|
if (e2)
|
1553
1560
|
return t2.slice();
|
1554
|
-
var n2 = t2.length, n2 =
|
1561
|
+
var n2 = t2.length, n2 = He ? He(n2) : new t2.constructor(n2);
|
1555
1562
|
return t2.copy(n2), n2;
|
1556
1563
|
}
|
1557
|
-
function
|
1564
|
+
function rt(t2) {
|
1558
1565
|
var e2 = new t2.constructor(t2.byteLength);
|
1559
|
-
return new
|
1560
|
-
}
|
1561
|
-
function rt(t2, e2) {
|
1562
|
-
return new t2.constructor(e2 ? nt(t2.buffer) : t2.buffer, t2.byteOffset, t2.length);
|
1566
|
+
return new qe(e2).set(new qe(t2)), e2;
|
1563
1567
|
}
|
1564
1568
|
function ot(t2, e2) {
|
1569
|
+
return new t2.constructor(e2 ? rt(t2.buffer) : t2.buffer, t2.byteOffset, t2.length);
|
1570
|
+
}
|
1571
|
+
function ut(t2, e2) {
|
1565
1572
|
var n2 = -1, r2 = t2.length;
|
1566
1573
|
for (e2 || (e2 = Array(r2)); ++n2 < r2; )
|
1567
1574
|
e2[n2] = t2[n2];
|
1568
1575
|
return e2;
|
1569
1576
|
}
|
1570
|
-
function
|
1577
|
+
function ct(t2, e2, n2) {
|
1571
1578
|
var r2 = !n2;
|
1572
1579
|
n2 || (n2 = {});
|
1573
1580
|
for (var o2 = -1, u2 = e2.length; ++o2 < u2; ) {
|
1574
|
-
var c2 = e2[o2], i2 =
|
1575
|
-
i2 ===
|
1581
|
+
var c2 = e2[o2], i2 = ie;
|
1582
|
+
i2 === ie && (i2 = t2[c2]), r2 ? E(n2, c2, i2) : O(n2, c2, i2);
|
1576
1583
|
}
|
1577
1584
|
return n2;
|
1578
1585
|
}
|
1579
|
-
function ct(t2, e2) {
|
1580
|
-
return ut(t2, mn(t2), e2);
|
1581
|
-
}
|
1582
1586
|
function it(t2, e2) {
|
1583
|
-
return
|
1587
|
+
return ct(t2, kn(t2), e2);
|
1588
|
+
}
|
1589
|
+
function at(t2, e2) {
|
1590
|
+
return ct(t2, zn(t2), e2);
|
1584
1591
|
}
|
1585
|
-
function
|
1586
|
-
return
|
1592
|
+
function ft(t2) {
|
1593
|
+
return Vt(t2) ? ie : t2;
|
1587
1594
|
}
|
1588
|
-
function
|
1595
|
+
function lt(t2, e2, n2, r2, o2, u2) {
|
1589
1596
|
var i2 = 1 & n2, a2 = t2.length, f2 = e2.length;
|
1590
1597
|
if (a2 != f2 && !(i2 && f2 > a2))
|
1591
1598
|
return false;
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1599
|
+
var f2 = u2.get(t2), l2 = u2.get(e2);
|
1600
|
+
if (f2 && l2)
|
1601
|
+
return f2 == e2 && l2 == t2;
|
1602
|
+
var f2 = -1, l2 = true, s2 = 2 & n2 ? new d() : ie;
|
1595
1603
|
for (u2.set(t2, e2), u2.set(e2, t2); ++f2 < a2; ) {
|
1596
1604
|
var b2 = t2[f2], h2 = e2[f2];
|
1597
1605
|
if (r2)
|
1598
1606
|
var p2 = i2 ? r2(h2, b2, f2, e2, t2, u2) : r2(b2, h2, f2, t2, e2, u2);
|
1599
|
-
if (p2 !==
|
1607
|
+
if (p2 !== ie) {
|
1600
1608
|
if (p2)
|
1601
1609
|
continue;
|
1602
1610
|
l2 = false;
|
@@ -1617,20 +1625,20 @@ var require_lodash = __commonJS({
|
|
1617
1625
|
}
|
1618
1626
|
return u2.delete(t2), u2.delete(e2), l2;
|
1619
1627
|
}
|
1620
|
-
function
|
1628
|
+
function st(t2, e2, n2, r2, o2, u2, c2) {
|
1621
1629
|
switch (n2) {
|
1622
1630
|
case "[object DataView]":
|
1623
1631
|
if (t2.byteLength != e2.byteLength || t2.byteOffset != e2.byteOffset)
|
1624
1632
|
break;
|
1625
1633
|
t2 = t2.buffer, e2 = e2.buffer;
|
1626
1634
|
case "[object ArrayBuffer]":
|
1627
|
-
if (t2.byteLength != e2.byteLength || !u2(new
|
1635
|
+
if (t2.byteLength != e2.byteLength || !u2(new qe(t2), new qe(e2)))
|
1628
1636
|
break;
|
1629
1637
|
return true;
|
1630
1638
|
case "[object Boolean]":
|
1631
1639
|
case "[object Date]":
|
1632
1640
|
case "[object Number]":
|
1633
|
-
return
|
1641
|
+
return $t(+t2, +e2);
|
1634
1642
|
case "[object Error]":
|
1635
1643
|
return t2.name == e2.name && t2.message == e2.message;
|
1636
1644
|
case "[object RegExp]":
|
@@ -1641,55 +1649,55 @@ var require_lodash = __commonJS({
|
|
1641
1649
|
case "[object Set]":
|
1642
1650
|
if (i2 || (i2 = p), t2.size != e2.size && !(1 & r2))
|
1643
1651
|
break;
|
1644
|
-
return (n2 = c2.get(t2)) ? n2 == e2 : (r2 |= 2, c2.set(t2, e2), e2 =
|
1652
|
+
return (n2 = c2.get(t2)) ? n2 == e2 : (r2 |= 2, c2.set(t2, e2), e2 = lt(i2(t2), i2(e2), r2, o2, u2, c2), c2.delete(t2), e2);
|
1645
1653
|
case "[object Symbol]":
|
1646
|
-
if (
|
1647
|
-
return
|
1654
|
+
if (dn)
|
1655
|
+
return dn.call(t2) == dn.call(e2);
|
1648
1656
|
}
|
1649
1657
|
return false;
|
1650
1658
|
}
|
1651
|
-
function st(t2) {
|
1652
|
-
return $(t2, Qt, mn);
|
1653
|
-
}
|
1654
1659
|
function bt(t2) {
|
1655
|
-
return $(t2,
|
1660
|
+
return $(t2, Yt, kn);
|
1661
|
+
}
|
1662
|
+
function ht(t2) {
|
1663
|
+
return $(t2, Zt, zn);
|
1656
1664
|
}
|
1657
|
-
function
|
1658
|
-
var t2 =
|
1665
|
+
function pt() {
|
1666
|
+
var t2 = j.iteratee || re, t2 = t2 === re ? W : t2;
|
1659
1667
|
return arguments.length ? t2(arguments[0], arguments[1]) : t2;
|
1660
1668
|
}
|
1661
|
-
function
|
1669
|
+
function yt(t2, e2) {
|
1662
1670
|
var n2 = t2.__data__, r2 = typeof e2;
|
1663
1671
|
return ("string" == r2 || "number" == r2 || "symbol" == r2 || "boolean" == r2 ? "__proto__" !== e2 : null === e2) ? n2[typeof e2 == "string" ? "string" : "hash"] : n2.map;
|
1664
1672
|
}
|
1665
|
-
function
|
1666
|
-
for (var e2 =
|
1673
|
+
function jt(t2) {
|
1674
|
+
for (var e2 = Yt(t2), n2 = e2.length; n2--; ) {
|
1667
1675
|
var r2 = e2[n2], o2 = t2[r2];
|
1668
|
-
e2[n2] = [r2, o2, o2 === o2 && !
|
1676
|
+
e2[n2] = [r2, o2, o2 === o2 && !Ct(o2)];
|
1669
1677
|
}
|
1670
1678
|
return e2;
|
1671
1679
|
}
|
1672
|
-
function
|
1673
|
-
var n2 = null == t2 ?
|
1674
|
-
return (!
|
1680
|
+
function vt(t2, e2) {
|
1681
|
+
var n2 = null == t2 ? ie : t2[e2];
|
1682
|
+
return (!Ct(n2) || Te && Te in n2 ? 0 : (Lt(n2) ? We : _e).test(Ft(n2))) ? n2 : ie;
|
1675
1683
|
}
|
1676
|
-
function
|
1684
|
+
function gt(t2) {
|
1677
1685
|
var e2 = t2.length, n2 = new t2.constructor(e2);
|
1678
|
-
return e2 && "string" == typeof t2[0] &&
|
1686
|
+
return e2 && "string" == typeof t2[0] && Ce.call(t2, "index") && (n2.index = t2.index, n2.input = t2.input), n2;
|
1679
1687
|
}
|
1680
1688
|
function _t(t2) {
|
1681
|
-
return typeof t2.constructor != "function" ||
|
1689
|
+
return typeof t2.constructor != "function" || St(t2) ? {} : wn(Je(t2));
|
1682
1690
|
}
|
1683
|
-
function
|
1691
|
+
function dt(t2, e2, n2) {
|
1684
1692
|
var r2 = t2.constructor;
|
1685
1693
|
switch (e2) {
|
1686
1694
|
case "[object ArrayBuffer]":
|
1687
|
-
return
|
1695
|
+
return rt(t2);
|
1688
1696
|
case "[object Boolean]":
|
1689
1697
|
case "[object Date]":
|
1690
1698
|
return new r2(+t2);
|
1691
1699
|
case "[object DataView]":
|
1692
|
-
return e2 = n2 ?
|
1700
|
+
return e2 = n2 ? rt(t2.buffer) : t2.buffer, new t2.constructor(e2, t2.byteOffset, t2.byteLength);
|
1693
1701
|
case "[object Float32Array]":
|
1694
1702
|
case "[object Float64Array]":
|
1695
1703
|
case "[object Int8Array]":
|
@@ -1699,191 +1707,195 @@ var require_lodash = __commonJS({
|
|
1699
1707
|
case "[object Uint8ClampedArray]":
|
1700
1708
|
case "[object Uint16Array]":
|
1701
1709
|
case "[object Uint32Array]":
|
1702
|
-
return
|
1710
|
+
return ot(t2, n2);
|
1703
1711
|
case "[object Map]":
|
1704
1712
|
return new r2();
|
1705
1713
|
case "[object Number]":
|
1706
1714
|
case "[object String]":
|
1707
1715
|
return new r2(t2);
|
1708
1716
|
case "[object RegExp]":
|
1709
|
-
return e2 = new t2.constructor(t2.source,
|
1717
|
+
return e2 = new t2.constructor(t2.source, je.exec(t2)), e2.lastIndex = t2.lastIndex, e2;
|
1710
1718
|
case "[object Set]":
|
1711
1719
|
return new r2();
|
1712
1720
|
case "[object Symbol]":
|
1713
|
-
return
|
1721
|
+
return dn ? Object(dn.call(t2)) : {};
|
1714
1722
|
}
|
1715
1723
|
}
|
1716
|
-
function
|
1717
|
-
return
|
1724
|
+
function At(t2) {
|
1725
|
+
return Un(t2) || Mn(t2) || !!(Ze && t2 && t2[Ze]);
|
1718
1726
|
}
|
1719
|
-
function
|
1727
|
+
function wt(t2, e2) {
|
1720
1728
|
var n2 = typeof t2;
|
1721
|
-
return e2 = null == e2 ? 9007199254740991 : e2, !!e2 && ("number" == n2 || "symbol" != n2 &&
|
1729
|
+
return e2 = null == e2 ? 9007199254740991 : e2, !!e2 && ("number" == n2 || "symbol" != n2 && Ae.test(t2)) && -1 < t2 && 0 == t2 % 1 && t2 < e2;
|
1722
1730
|
}
|
1723
|
-
function
|
1724
|
-
if (!
|
1731
|
+
function mt(t2, e2, n2) {
|
1732
|
+
if (!Ct(n2))
|
1725
1733
|
return false;
|
1726
1734
|
var r2 = typeof e2;
|
1727
|
-
return !!("number" == r2 ?
|
1735
|
+
return !!("number" == r2 ? Dt(n2) && wt(e2, n2.length) : "string" == r2 && e2 in n2) && $t(n2[e2], t2);
|
1728
1736
|
}
|
1729
|
-
function
|
1730
|
-
if (
|
1737
|
+
function Ot(t2, e2) {
|
1738
|
+
if (Un(t2))
|
1731
1739
|
return false;
|
1732
1740
|
var n2 = typeof t2;
|
1733
|
-
return !("number" != n2 && "symbol" != n2 && "boolean" != n2 && null != t2 && !
|
1741
|
+
return !("number" != n2 && "symbol" != n2 && "boolean" != n2 && null != t2 && !Wt(t2)) || se.test(t2) || !le.test(t2) || null != e2 && t2 in Object(e2);
|
1734
1742
|
}
|
1735
|
-
function
|
1743
|
+
function St(t2) {
|
1736
1744
|
var e2 = t2 && t2.constructor;
|
1737
|
-
return t2 === (typeof e2 == "function" && e2.prototype ||
|
1745
|
+
return t2 === (typeof e2 == "function" && e2.prototype || Pe);
|
1738
1746
|
}
|
1739
|
-
function
|
1747
|
+
function kt(t2, e2) {
|
1740
1748
|
return function(n2) {
|
1741
|
-
return null != n2 && n2[t2] === e2 && (e2 !==
|
1749
|
+
return null != n2 && n2[t2] === e2 && (e2 !== ie || t2 in Object(n2));
|
1742
1750
|
};
|
1743
1751
|
}
|
1744
|
-
function
|
1745
|
-
return n2 =
|
1746
|
-
for (var o2 = arguments, u2 = -1, c2 =
|
1752
|
+
function zt(e2, n2, r2) {
|
1753
|
+
return n2 = un(n2 === ie ? e2.length - 1 : n2, 0), function() {
|
1754
|
+
for (var o2 = arguments, u2 = -1, c2 = un(o2.length - n2, 0), i2 = Array(c2); ++u2 < c2; )
|
1747
1755
|
i2[u2] = o2[n2 + u2];
|
1748
1756
|
for (u2 = -1, c2 = Array(n2 + 1); ++u2 < n2; )
|
1749
1757
|
c2[u2] = o2[u2];
|
1750
1758
|
return c2[n2] = r2(i2), t(e2, this, c2);
|
1751
1759
|
};
|
1752
1760
|
}
|
1753
|
-
function
|
1754
|
-
if (typeof t2
|
1761
|
+
function xt(t2, e2) {
|
1762
|
+
if (("constructor" !== e2 || "function" != typeof t2[e2]) && "__proto__" != e2)
|
1763
|
+
return t2[e2];
|
1764
|
+
}
|
1765
|
+
function Et(t2) {
|
1766
|
+
if (typeof t2 == "string" || Wt(t2))
|
1755
1767
|
return t2;
|
1756
1768
|
var e2 = t2 + "";
|
1757
|
-
return "0" == e2 && 1 / t2 == -
|
1769
|
+
return "0" == e2 && 1 / t2 == -ae ? "-0" : e2;
|
1758
1770
|
}
|
1759
|
-
function
|
1771
|
+
function Ft(t2) {
|
1760
1772
|
if (null != t2) {
|
1761
1773
|
try {
|
1762
|
-
return
|
1774
|
+
return Ne.call(t2);
|
1763
1775
|
} catch (t3) {
|
1764
1776
|
}
|
1765
1777
|
return t2 + "";
|
1766
1778
|
}
|
1767
1779
|
return "";
|
1768
1780
|
}
|
1769
|
-
function
|
1770
|
-
return (null == t2 ? 0 : t2.length) ?
|
1781
|
+
function It(t2) {
|
1782
|
+
return (null == t2 ? 0 : t2.length) ? B(t2, 1) : [];
|
1771
1783
|
}
|
1772
|
-
function
|
1784
|
+
function Bt(t2) {
|
1773
1785
|
var e2 = null == t2 ? 0 : t2.length;
|
1774
|
-
return e2 ? t2[e2 - 1] :
|
1786
|
+
return e2 ? t2[e2 - 1] : ie;
|
1775
1787
|
}
|
1776
|
-
function
|
1788
|
+
function Mt(t2, e2) {
|
1777
1789
|
var n2;
|
1778
1790
|
if (typeof e2 != "function")
|
1779
1791
|
throw new TypeError("Expected a function");
|
1780
|
-
return t2 =
|
1781
|
-
return 0 < --t2 && (n2 = e2.apply(this, arguments)), 1 >= t2 && (e2 =
|
1792
|
+
return t2 = Kt(t2), function() {
|
1793
|
+
return 0 < --t2 && (n2 = e2.apply(this, arguments)), 1 >= t2 && (e2 = ie), n2;
|
1782
1794
|
};
|
1783
1795
|
}
|
1784
|
-
function
|
1796
|
+
function Ut(t2, e2) {
|
1785
1797
|
function n2() {
|
1786
1798
|
var r2 = arguments, o2 = e2 ? e2.apply(this, r2) : r2[0], u2 = n2.cache;
|
1787
1799
|
return u2.has(o2) ? u2.get(o2) : (r2 = t2.apply(this, r2), n2.cache = u2.set(o2, r2) || u2, r2);
|
1788
1800
|
}
|
1789
1801
|
if (typeof t2 != "function" || null != e2 && typeof e2 != "function")
|
1790
1802
|
throw new TypeError("Expected a function");
|
1791
|
-
return n2.cache = new (
|
1803
|
+
return n2.cache = new (Ut.Cache || _)(), n2;
|
1792
1804
|
}
|
1793
|
-
function
|
1805
|
+
function $t(t2, e2) {
|
1794
1806
|
return t2 === e2 || t2 !== t2 && e2 !== e2;
|
1795
1807
|
}
|
1796
|
-
function $t(t2) {
|
1797
|
-
return null != t2 && Pt(t2.length) && !Dt(t2);
|
1798
|
-
}
|
1799
|
-
function Ut(t2) {
|
1800
|
-
return Nt(t2) && $t(t2);
|
1801
|
-
}
|
1802
1808
|
function Dt(t2) {
|
1803
|
-
return
|
1809
|
+
return null != t2 && Nt(t2.length) && !Lt(t2);
|
1804
1810
|
}
|
1805
1811
|
function Pt(t2) {
|
1806
|
-
return
|
1812
|
+
return Tt(t2) && Dt(t2);
|
1807
1813
|
}
|
1808
1814
|
function Lt(t2) {
|
1809
|
-
|
1810
|
-
return null != t2 && ("object" == e2 || "function" == e2);
|
1815
|
+
return !!Ct(t2) && (t2 = D(t2), "[object Function]" == t2 || "[object GeneratorFunction]" == t2 || "[object AsyncFunction]" == t2 || "[object Proxy]" == t2);
|
1811
1816
|
}
|
1812
1817
|
function Nt(t2) {
|
1813
|
-
return
|
1818
|
+
return typeof t2 == "number" && -1 < t2 && 0 == t2 % 1 && 9007199254740991 >= t2;
|
1814
1819
|
}
|
1815
1820
|
function Ct(t2) {
|
1816
|
-
|
1821
|
+
var e2 = typeof t2;
|
1822
|
+
return null != t2 && ("object" == e2 || "function" == e2);
|
1817
1823
|
}
|
1818
1824
|
function Tt(t2) {
|
1819
|
-
return
|
1825
|
+
return null != t2 && typeof t2 == "object";
|
1820
1826
|
}
|
1821
1827
|
function Vt(t2) {
|
1822
|
-
return
|
1828
|
+
return !(!Tt(t2) || "[object Object]" != D(t2)) && (t2 = Je(t2), null === t2 || (t2 = Ce.call(t2, "constructor") && t2.constructor, typeof t2 == "function" && t2 instanceof t2 && Ne.call(t2) == Re));
|
1823
1829
|
}
|
1824
1830
|
function Rt(t2) {
|
1825
|
-
return t2
|
1831
|
+
return typeof t2 == "string" || !Un(t2) && Tt(t2) && "[object String]" == D(t2);
|
1826
1832
|
}
|
1827
1833
|
function Wt(t2) {
|
1828
|
-
t2
|
1834
|
+
return typeof t2 == "symbol" || Tt(t2) && "[object Symbol]" == D(t2);
|
1835
|
+
}
|
1836
|
+
function Gt(t2) {
|
1837
|
+
return t2 ? (t2 = qt(t2), t2 === ae || t2 === -ae ? 17976931348623157e292 * (0 > t2 ? -1 : 1) : t2 === t2 ? t2 : 0) : 0 === t2 ? t2 : 0;
|
1838
|
+
}
|
1839
|
+
function Kt(t2) {
|
1840
|
+
t2 = Gt(t2);
|
1829
1841
|
var e2 = t2 % 1;
|
1830
1842
|
return t2 === t2 ? e2 ? t2 - e2 : t2 : 0;
|
1831
1843
|
}
|
1832
|
-
function
|
1844
|
+
function qt(t2) {
|
1833
1845
|
if (typeof t2 == "number")
|
1834
1846
|
return t2;
|
1835
|
-
if (
|
1836
|
-
return
|
1837
|
-
if (
|
1847
|
+
if (Wt(t2))
|
1848
|
+
return fe;
|
1849
|
+
if (Ct(t2) && (t2 = typeof t2.valueOf == "function" ? t2.valueOf() : t2, t2 = Ct(t2) ? t2 + "" : t2), typeof t2 != "string")
|
1838
1850
|
return 0 === t2 ? t2 : +t2;
|
1839
|
-
t2 = t2.replace(
|
1840
|
-
var e2 =
|
1841
|
-
return e2 ||
|
1851
|
+
t2 = t2 ? t2.slice(0, y(t2) + 1).replace(he, "") : t2;
|
1852
|
+
var e2 = ge.test(t2);
|
1853
|
+
return e2 || de.test(t2) ? Oe(t2.slice(2), e2 ? 2 : 8) : ve.test(t2) ? fe : +t2;
|
1842
1854
|
}
|
1843
|
-
function
|
1844
|
-
return
|
1855
|
+
function Ht(t2) {
|
1856
|
+
return ct(t2, Zt(t2));
|
1845
1857
|
}
|
1846
|
-
function
|
1847
|
-
return null == t2 ? "" :
|
1858
|
+
function Jt(t2) {
|
1859
|
+
return null == t2 ? "" : Z(t2);
|
1848
1860
|
}
|
1849
|
-
function
|
1850
|
-
return t2 = null == t2 ?
|
1861
|
+
function Qt(t2, e2, n2) {
|
1862
|
+
return t2 = null == t2 ? ie : U(t2, e2), t2 === ie ? n2 : t2;
|
1851
1863
|
}
|
1852
|
-
function
|
1864
|
+
function Xt(t2, e2) {
|
1853
1865
|
var n2;
|
1854
1866
|
if (n2 = null != t2) {
|
1855
1867
|
n2 = t2;
|
1856
1868
|
var r2;
|
1857
|
-
r2 =
|
1869
|
+
r2 = et(e2, n2);
|
1858
1870
|
for (var o2 = -1, u2 = r2.length, c2 = false; ++o2 < u2; ) {
|
1859
|
-
var i2 =
|
1871
|
+
var i2 = Et(r2[o2]);
|
1860
1872
|
if (!(c2 = null != n2 && null != n2 && i2 in Object(n2)))
|
1861
1873
|
break;
|
1862
1874
|
n2 = n2[i2];
|
1863
1875
|
}
|
1864
|
-
c2 || ++o2 != u2 ? n2 = c2 : (u2 = null == n2 ? 0 : n2.length, n2 = !!u2 &&
|
1876
|
+
c2 || ++o2 != u2 ? n2 = c2 : (u2 = null == n2 ? 0 : n2.length, n2 = !!u2 && Nt(u2) && wt(i2, u2) && (Un(n2) || Mn(n2)));
|
1865
1877
|
}
|
1866
1878
|
return n2;
|
1867
1879
|
}
|
1868
|
-
function
|
1869
|
-
if (
|
1870
|
-
t2 =
|
1871
|
-
else if (
|
1880
|
+
function Yt(t2) {
|
1881
|
+
if (Dt(t2))
|
1882
|
+
t2 = w(t2);
|
1883
|
+
else if (St(t2)) {
|
1872
1884
|
var e2, n2 = [];
|
1873
1885
|
for (e2 in Object(t2))
|
1874
|
-
|
1886
|
+
Ce.call(t2, e2) && "constructor" != e2 && n2.push(e2);
|
1875
1887
|
t2 = n2;
|
1876
1888
|
} else
|
1877
|
-
t2 =
|
1889
|
+
t2 = on(t2);
|
1878
1890
|
return t2;
|
1879
1891
|
}
|
1880
|
-
function
|
1881
|
-
if (
|
1882
|
-
t2 =
|
1883
|
-
else if (
|
1884
|
-
var e2, n2 =
|
1892
|
+
function Zt(t2) {
|
1893
|
+
if (Dt(t2))
|
1894
|
+
t2 = w(t2, true);
|
1895
|
+
else if (Ct(t2)) {
|
1896
|
+
var e2, n2 = St(t2), r2 = [];
|
1885
1897
|
for (e2 in t2)
|
1886
|
-
("constructor" != e2 || !n2 &&
|
1898
|
+
("constructor" != e2 || !n2 && Ce.call(t2, e2)) && r2.push(e2);
|
1887
1899
|
t2 = r2;
|
1888
1900
|
} else {
|
1889
1901
|
if (e2 = [], null != t2)
|
@@ -1893,131 +1905,132 @@ var require_lodash = __commonJS({
|
|
1893
1905
|
}
|
1894
1906
|
return t2;
|
1895
1907
|
}
|
1896
|
-
function
|
1897
|
-
return null == t2 ? [] : s(t2,
|
1908
|
+
function te(t2) {
|
1909
|
+
return null == t2 ? [] : s(t2, Yt(t2));
|
1898
1910
|
}
|
1899
|
-
function
|
1911
|
+
function ee(t2) {
|
1900
1912
|
return function() {
|
1901
1913
|
return t2;
|
1902
1914
|
};
|
1903
1915
|
}
|
1904
|
-
function
|
1916
|
+
function ne(t2) {
|
1905
1917
|
return t2;
|
1906
1918
|
}
|
1907
|
-
function
|
1908
|
-
return
|
1919
|
+
function re(t2) {
|
1920
|
+
return W(typeof t2 == "function" ? t2 : F(t2, 1));
|
1909
1921
|
}
|
1910
|
-
function
|
1911
|
-
return
|
1922
|
+
function oe(t2) {
|
1923
|
+
return Ot(t2) ? a(Et(t2)) : X(t2);
|
1912
1924
|
}
|
1913
|
-
function
|
1925
|
+
function ue() {
|
1914
1926
|
return [];
|
1915
1927
|
}
|
1916
|
-
function
|
1928
|
+
function ce() {
|
1917
1929
|
return false;
|
1918
1930
|
}
|
1919
|
-
var
|
1920
|
-
|
1921
|
-
var
|
1922
|
-
|
1923
|
-
var
|
1924
|
-
t: {
|
1931
|
+
var ie, ae = 1 / 0, fe = NaN, le = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, se = /^\w*$/, be = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, he = /^\s+/, pe = /\s/, ye = /\\(\\)?/g, je = /\w*$/, ve = /^[-+]0x[0-9a-f]+$/i, ge = /^0b[01]+$/i, _e = /^\[object .+?Constructor\]$/, de = /^0o[0-7]+$/i, Ae = /^(?:0|[1-9]\d*)$/, we = {};
|
1932
|
+
we["[object Float32Array]"] = we["[object Float64Array]"] = we["[object Int8Array]"] = we["[object Int16Array]"] = we["[object Int32Array]"] = we["[object Uint8Array]"] = we["[object Uint8ClampedArray]"] = we["[object Uint16Array]"] = we["[object Uint32Array]"] = true, we["[object Arguments]"] = we["[object Array]"] = we["[object ArrayBuffer]"] = we["[object Boolean]"] = we["[object DataView]"] = we["[object Date]"] = we["[object Error]"] = we["[object Function]"] = we["[object Map]"] = we["[object Number]"] = we["[object Object]"] = we["[object RegExp]"] = we["[object Set]"] = we["[object String]"] = we["[object WeakMap]"] = false;
|
1933
|
+
var me = {};
|
1934
|
+
me["[object Arguments]"] = me["[object Array]"] = me["[object ArrayBuffer]"] = me["[object DataView]"] = me["[object Boolean]"] = me["[object Date]"] = me["[object Float32Array]"] = me["[object Float64Array]"] = me["[object Int8Array]"] = me["[object Int16Array]"] = me["[object Int32Array]"] = me["[object Map]"] = me["[object Number]"] = me["[object Object]"] = me["[object RegExp]"] = me["[object Set]"] = me["[object String]"] = me["[object Symbol]"] = me["[object Uint8Array]"] = me["[object Uint8ClampedArray]"] = me["[object Uint16Array]"] = me["[object Uint32Array]"] = true, me["[object Error]"] = me["[object Function]"] = me["[object WeakMap]"] = false;
|
1935
|
+
var Oe = parseInt, Se = typeof global == "object" && global && global.Object === Object && global, ke = typeof self == "object" && self && self.Object === Object && self, ze = Se || ke || Function("return this")(), xe = typeof exports2 == "object" && exports2 && !exports2.nodeType && exports2, Ee = xe && typeof module2 == "object" && module2 && !module2.nodeType && module2, Fe = Ee && Ee.exports === xe, Ie = Fe && Se.process, Be = function() {
|
1925
1936
|
try {
|
1926
|
-
|
1927
|
-
|
1928
|
-
} catch (
|
1937
|
+
var t2 = Ee && Ee.f && Ee.f("util").types;
|
1938
|
+
return t2 ? t2 : Ie && Ie.binding && Ie.binding("util");
|
1939
|
+
} catch (t3) {
|
1929
1940
|
}
|
1930
|
-
|
1931
|
-
|
1932
|
-
var Fe = Ae && Ae.isMap, Ie = Ae && Ae.isSet, Be = Ae && Ae.isTypedArray, Me = Array.prototype, $e = Object.prototype, Ue = Se["__core-js_shared__"], De = Function.prototype.toString, Pe = $e.hasOwnProperty, Le = function() {
|
1933
|
-
var t2 = /[^.]+$/.exec(Ue && Ue.keys && Ue.keys.IE_PROTO || "");
|
1941
|
+
}(), Me = Be && Be.isMap, Ue = Be && Be.isSet, $e = Be && Be.isTypedArray, De = Array.prototype, Pe = Object.prototype, Le = ze["__core-js_shared__"], Ne = Function.prototype.toString, Ce = Pe.hasOwnProperty, Te = function() {
|
1942
|
+
var t2 = /[^.]+$/.exec(Le && Le.keys && Le.keys.IE_PROTO || "");
|
1934
1943
|
return t2 ? "Symbol(src)_1." + t2 : "";
|
1935
|
-
}(),
|
1936
|
-
"^" +
|
1937
|
-
),
|
1944
|
+
}(), Ve = Pe.toString, Re = Ne.call(Object), We = RegExp(
|
1945
|
+
"^" + Ne.call(Ce).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
1946
|
+
), Ge = Fe ? ze.Buffer : ie, Ke = ze.Symbol, qe = ze.Uint8Array, He = Ge ? Ge.g : ie, Je = h(Object.getPrototypeOf), Qe = Object.create, Xe = Pe.propertyIsEnumerable, Ye = De.splice, Ze = Ke ? Ke.isConcatSpreadable : ie, tn = Ke ? Ke.toStringTag : ie, en = function() {
|
1938
1947
|
try {
|
1939
|
-
var t2 =
|
1948
|
+
var t2 = vt(Object, "defineProperty");
|
1940
1949
|
return t2({}, "", {}), t2;
|
1941
1950
|
} catch (t3) {
|
1942
1951
|
}
|
1943
|
-
}(),
|
1952
|
+
}(), nn = Object.getOwnPropertySymbols, rn = Ge ? Ge.isBuffer : ie, on = h(Object.keys), un = Math.max, cn = Date.now, an = vt(ze, "DataView"), fn = vt(ze, "Map"), ln = vt(ze, "Promise"), sn = vt(ze, "Set"), bn = vt(ze, "WeakMap"), hn = vt(Object, "create"), pn = Ft(an), yn = Ft(fn), jn = Ft(ln), vn = Ft(sn), gn = Ft(bn), _n = Ke ? Ke.prototype : ie, dn = _n ? _n.valueOf : ie, An = _n ? _n.toString : ie, wn = /* @__PURE__ */ function() {
|
1944
1953
|
function t2() {
|
1945
1954
|
}
|
1946
1955
|
return function(e2) {
|
1947
|
-
return
|
1956
|
+
return Ct(e2) ? Qe ? Qe(e2) : (t2.prototype = e2, e2 = new t2(), t2.prototype = ie, e2) : {};
|
1948
1957
|
};
|
1949
1958
|
}();
|
1950
|
-
|
1951
|
-
this.__data__ =
|
1952
|
-
},
|
1959
|
+
v.prototype.clear = function() {
|
1960
|
+
this.__data__ = hn ? hn(null) : {}, this.size = 0;
|
1961
|
+
}, v.prototype.delete = function(t2) {
|
1953
1962
|
return t2 = this.has(t2) && delete this.__data__[t2], this.size -= t2 ? 1 : 0, t2;
|
1954
|
-
},
|
1963
|
+
}, v.prototype.get = function(t2) {
|
1955
1964
|
var e2 = this.__data__;
|
1956
|
-
return
|
1957
|
-
},
|
1965
|
+
return hn ? (t2 = e2[t2], "__lodash_hash_undefined__" === t2 ? ie : t2) : Ce.call(e2, t2) ? e2[t2] : ie;
|
1966
|
+
}, v.prototype.has = function(t2) {
|
1958
1967
|
var e2 = this.__data__;
|
1959
|
-
return
|
1960
|
-
},
|
1968
|
+
return hn ? e2[t2] !== ie : Ce.call(e2, t2);
|
1969
|
+
}, v.prototype.set = function(t2, e2) {
|
1961
1970
|
var n2 = this.__data__;
|
1962
|
-
return this.size += this.has(t2) ? 0 : 1, n2[t2] =
|
1963
|
-
},
|
1971
|
+
return this.size += this.has(t2) ? 0 : 1, n2[t2] = hn && e2 === ie ? "__lodash_hash_undefined__" : e2, this;
|
1972
|
+
}, g.prototype.clear = function() {
|
1964
1973
|
this.__data__ = [], this.size = 0;
|
1965
|
-
},
|
1974
|
+
}, g.prototype.delete = function(t2) {
|
1966
1975
|
var e2 = this.__data__;
|
1967
|
-
return t2 =
|
1968
|
-
},
|
1976
|
+
return t2 = S(e2, t2), !(0 > t2) && (t2 == e2.length - 1 ? e2.pop() : Ye.call(e2, t2, 1), --this.size, true);
|
1977
|
+
}, g.prototype.get = function(t2) {
|
1969
1978
|
var e2 = this.__data__;
|
1970
|
-
return t2 =
|
1971
|
-
},
|
1972
|
-
return -1 <
|
1973
|
-
},
|
1974
|
-
var n2 = this.__data__, r2 =
|
1979
|
+
return t2 = S(e2, t2), 0 > t2 ? ie : e2[t2][1];
|
1980
|
+
}, g.prototype.has = function(t2) {
|
1981
|
+
return -1 < S(this.__data__, t2);
|
1982
|
+
}, g.prototype.set = function(t2, e2) {
|
1983
|
+
var n2 = this.__data__, r2 = S(n2, t2);
|
1975
1984
|
return 0 > r2 ? (++this.size, n2.push([t2, e2])) : n2[r2][1] = e2, this;
|
1976
1985
|
}, _.prototype.clear = function() {
|
1977
|
-
this.size = 0, this.__data__ = {
|
1986
|
+
this.size = 0, this.__data__ = {
|
1987
|
+
hash: new v(),
|
1988
|
+
map: new (fn || g)(),
|
1989
|
+
string: new v()
|
1990
|
+
};
|
1978
1991
|
}, _.prototype.delete = function(t2) {
|
1979
|
-
return t2 =
|
1992
|
+
return t2 = yt(this, t2).delete(t2), this.size -= t2 ? 1 : 0, t2;
|
1980
1993
|
}, _.prototype.get = function(t2) {
|
1981
|
-
return
|
1994
|
+
return yt(this, t2).get(t2);
|
1982
1995
|
}, _.prototype.has = function(t2) {
|
1983
|
-
return
|
1996
|
+
return yt(this, t2).has(t2);
|
1984
1997
|
}, _.prototype.set = function(t2, e2) {
|
1985
|
-
var n2 =
|
1998
|
+
var n2 = yt(this, t2), r2 = n2.size;
|
1986
1999
|
return n2.set(t2, e2), this.size += n2.size == r2 ? 0 : 1, this;
|
1987
|
-
},
|
2000
|
+
}, d.prototype.add = d.prototype.push = function(t2) {
|
1988
2001
|
return this.__data__.set(t2, "__lodash_hash_undefined__"), this;
|
1989
|
-
},
|
2002
|
+
}, d.prototype.has = function(t2) {
|
1990
2003
|
return this.__data__.has(t2);
|
1991
|
-
},
|
1992
|
-
this.__data__ = new
|
1993
|
-
},
|
2004
|
+
}, A.prototype.clear = function() {
|
2005
|
+
this.__data__ = new g(), this.size = 0;
|
2006
|
+
}, A.prototype.delete = function(t2) {
|
1994
2007
|
var e2 = this.__data__;
|
1995
2008
|
return t2 = e2.delete(t2), this.size = e2.size, t2;
|
1996
|
-
},
|
2009
|
+
}, A.prototype.get = function(t2) {
|
1997
2010
|
return this.__data__.get(t2);
|
1998
|
-
},
|
2011
|
+
}, A.prototype.has = function(t2) {
|
1999
2012
|
return this.__data__.has(t2);
|
2000
|
-
},
|
2013
|
+
}, A.prototype.set = function(t2, e2) {
|
2001
2014
|
var n2 = this.__data__;
|
2002
|
-
if (n2 instanceof
|
2015
|
+
if (n2 instanceof g) {
|
2003
2016
|
var r2 = n2.__data__;
|
2004
|
-
if (!
|
2017
|
+
if (!fn || 199 > r2.length)
|
2005
2018
|
return r2.push([t2, e2]), this.size = ++n2.size, this;
|
2006
2019
|
n2 = this.__data__ = new _(r2);
|
2007
2020
|
}
|
2008
2021
|
return n2.set(t2, e2), this.size = n2.size, this;
|
2009
2022
|
};
|
2010
|
-
var
|
2023
|
+
var mn = /* @__PURE__ */ function(t2, e2) {
|
2011
2024
|
return function(n2, r2) {
|
2012
2025
|
if (null == n2)
|
2013
2026
|
return n2;
|
2014
|
-
if (
|
2027
|
+
if (!Dt(n2))
|
2015
2028
|
return t2(n2, r2);
|
2016
2029
|
for (var o2 = n2.length, u2 = e2 ? o2 : -1, c2 = Object(n2); (e2 ? u2-- : ++u2 < o2) && false !== r2(c2[u2], u2, c2); )
|
2017
2030
|
;
|
2018
2031
|
return n2;
|
2019
2032
|
};
|
2020
|
-
}(
|
2033
|
+
}(M), On = /* @__PURE__ */ function(t2) {
|
2021
2034
|
return function(e2, n2, r2) {
|
2022
2035
|
var o2 = -1, u2 = Object(e2);
|
2023
2036
|
r2 = r2(e2);
|
@@ -2028,132 +2041,134 @@ var require_lodash = __commonJS({
|
|
2028
2041
|
}
|
2029
2042
|
return e2;
|
2030
2043
|
};
|
2031
|
-
}(),
|
2032
|
-
return
|
2033
|
-
} :
|
2034
|
-
return null == t2 ? [] : (t2 = Object(t2), r(
|
2035
|
-
return
|
2044
|
+
}(), Sn = en ? function(t2, e2) {
|
2045
|
+
return en(t2, "toString", { configurable: true, enumerable: false, value: ee(e2), writable: true });
|
2046
|
+
} : ne, kn = nn ? function(t2) {
|
2047
|
+
return null == t2 ? [] : (t2 = Object(t2), r(nn(t2), function(e2) {
|
2048
|
+
return Xe.call(t2, e2);
|
2036
2049
|
}));
|
2037
|
-
} :
|
2050
|
+
} : ue, zn = nn ? function(t2) {
|
2038
2051
|
for (var e2 = []; t2; )
|
2039
|
-
u(e2,
|
2052
|
+
u(e2, kn(t2)), t2 = Je(t2);
|
2040
2053
|
return e2;
|
2041
|
-
} :
|
2042
|
-
(
|
2043
|
-
var e2 =
|
2044
|
-
if (t2 = (t2 = "[object Object]" == e2 ? t2.constructor :
|
2054
|
+
} : ue, xn = D;
|
2055
|
+
(an && "[object DataView]" != xn(new an(new ArrayBuffer(1))) || fn && "[object Map]" != xn(new fn()) || ln && "[object Promise]" != xn(ln.resolve()) || sn && "[object Set]" != xn(new sn()) || bn && "[object WeakMap]" != xn(new bn())) && (xn = function(t2) {
|
2056
|
+
var e2 = D(t2);
|
2057
|
+
if (t2 = (t2 = "[object Object]" == e2 ? t2.constructor : ie) ? Ft(t2) : "")
|
2045
2058
|
switch (t2) {
|
2046
|
-
case
|
2059
|
+
case pn:
|
2047
2060
|
return "[object DataView]";
|
2048
|
-
case
|
2061
|
+
case yn:
|
2049
2062
|
return "[object Map]";
|
2050
|
-
case
|
2063
|
+
case jn:
|
2051
2064
|
return "[object Promise]";
|
2052
|
-
case
|
2065
|
+
case vn:
|
2053
2066
|
return "[object Set]";
|
2054
|
-
case
|
2067
|
+
case gn:
|
2055
2068
|
return "[object WeakMap]";
|
2056
2069
|
}
|
2057
2070
|
return e2;
|
2058
2071
|
});
|
2059
|
-
var
|
2072
|
+
var En = /* @__PURE__ */ function(t2) {
|
2060
2073
|
var e2 = 0, n2 = 0;
|
2061
2074
|
return function() {
|
2062
|
-
var r2 =
|
2075
|
+
var r2 = cn(), o2 = 16 - (r2 - n2);
|
2063
2076
|
if (n2 = r2, 0 < o2) {
|
2064
2077
|
if (800 <= ++e2)
|
2065
2078
|
return arguments[0];
|
2066
2079
|
} else
|
2067
2080
|
e2 = 0;
|
2068
|
-
return t2.apply(
|
2081
|
+
return t2.apply(ie, arguments);
|
2069
2082
|
};
|
2070
|
-
}(
|
2071
|
-
t2 =
|
2083
|
+
}(Sn), Fn = function(t2) {
|
2084
|
+
t2 = Ut(t2, function(t3) {
|
2072
2085
|
return 500 === e2.size && e2.clear(), t3;
|
2073
2086
|
});
|
2074
2087
|
var e2 = t2.cache;
|
2075
2088
|
return t2;
|
2076
2089
|
}(function(t2) {
|
2077
2090
|
var e2 = [];
|
2078
|
-
return 46 === t2.charCodeAt(0) && e2.push(""), t2.replace(
|
2079
|
-
e2.push(r2 ? o2.replace(
|
2091
|
+
return 46 === t2.charCodeAt(0) && e2.push(""), t2.replace(be, function(t3, n2, r2, o2) {
|
2092
|
+
e2.push(r2 ? o2.replace(ye, "$1") : n2 || t3);
|
2080
2093
|
}), e2;
|
2081
|
-
}),
|
2094
|
+
}), In = /* @__PURE__ */ function(t2, n2) {
|
2082
2095
|
return function(r2, o2) {
|
2083
|
-
var u2 =
|
2084
|
-
return u2(r2, t2,
|
2096
|
+
var u2 = Un(r2) ? e : k, c2 = n2 ? n2() : {};
|
2097
|
+
return u2(r2, t2, pt(o2, 2), c2);
|
2085
2098
|
};
|
2086
2099
|
}(function(t2, e2, n2) {
|
2087
|
-
|
2088
|
-
}),
|
2100
|
+
E(t2, n2, e2);
|
2101
|
+
}), Bn = Y(function(t2, e2) {
|
2089
2102
|
if (null == t2)
|
2090
2103
|
return [];
|
2091
2104
|
var n2 = e2.length;
|
2092
|
-
return 1 < n2 &&
|
2105
|
+
return 1 < n2 && mt(t2, e2[0], e2[1]) ? e2 = [] : 2 < n2 && mt(e2[0], e2[1], e2[2]) && (e2 = [e2[0]]), Q(t2, B(e2, 1));
|
2093
2106
|
});
|
2094
|
-
|
2095
|
-
var
|
2107
|
+
Ut.Cache = _;
|
2108
|
+
var Mn = L(
|
2096
2109
|
/* @__PURE__ */ function() {
|
2097
2110
|
return arguments;
|
2098
2111
|
}()
|
2099
|
-
) ?
|
2100
|
-
return
|
2101
|
-
},
|
2112
|
+
) ? L : function(t2) {
|
2113
|
+
return Tt(t2) && Ce.call(t2, "callee") && !Xe.call(t2, "callee");
|
2114
|
+
}, Un = Array.isArray, $n = rn || ce, Dn = Me ? l(Me) : C, Pn = Ue ? l(Ue) : V, Ln = $e ? l($e) : R, Nn = Y(function(t2, e2) {
|
2102
2115
|
t2 = Object(t2);
|
2103
|
-
var n2 = -1, r2 = e2.length, o2 = 2 < r2 ? e2[2] :
|
2104
|
-
for (o2 &&
|
2105
|
-
for (var o2 = e2[n2], u2 =
|
2116
|
+
var n2 = -1, r2 = e2.length, o2 = 2 < r2 ? e2[2] : ie;
|
2117
|
+
for (o2 && mt(e2[0], e2[1], o2) && (r2 = 1); ++n2 < r2; )
|
2118
|
+
for (var o2 = e2[n2], u2 = Zt(o2), c2 = -1, i2 = u2.length; ++c2 < i2; ) {
|
2106
2119
|
var a2 = u2[c2], f2 = t2[a2];
|
2107
|
-
(f2 ===
|
2120
|
+
(f2 === ie || $t(f2, Pe[a2]) && !Ce.call(t2, a2)) && (t2[a2] = o2[a2]);
|
2108
2121
|
}
|
2109
2122
|
return t2;
|
2110
|
-
}),
|
2111
|
-
return
|
2112
|
-
var r2 = -1, o2 = n2.length, u2 = 1 < o2 ? n2[o2 - 1] :
|
2113
|
-
for (c2 &&
|
2123
|
+
}), Cn = function(t2) {
|
2124
|
+
return Y(function(e2, n2) {
|
2125
|
+
var r2 = -1, o2 = n2.length, u2 = 1 < o2 ? n2[o2 - 1] : ie, c2 = 2 < o2 ? n2[2] : ie, u2 = 3 < t2.length && typeof u2 == "function" ? (o2--, u2) : ie;
|
2126
|
+
for (c2 && mt(n2[0], n2[1], c2) && (u2 = 3 > o2 ? ie : u2, o2 = 1), e2 = Object(e2); ++r2 < o2; )
|
2114
2127
|
(c2 = n2[r2]) && t2(e2, c2, r2, u2);
|
2115
2128
|
return e2;
|
2116
2129
|
});
|
2117
2130
|
}(function(t2, e2, n2) {
|
2118
|
-
|
2119
|
-
}),
|
2120
|
-
return
|
2131
|
+
J(t2, e2, n2);
|
2132
|
+
}), Tn = function(t2) {
|
2133
|
+
return En(zt(t2, ie, It), t2 + "");
|
2121
2134
|
}(function(t2, e2) {
|
2122
2135
|
var n2 = {};
|
2123
2136
|
if (null == t2)
|
2124
2137
|
return n2;
|
2125
2138
|
var r2 = false;
|
2126
2139
|
e2 = o(e2, function(e3) {
|
2127
|
-
return e3 =
|
2128
|
-
}),
|
2140
|
+
return e3 = et(e3, t2), r2 || (r2 = 1 < e3.length), e3;
|
2141
|
+
}), ct(t2, ht(t2), n2), r2 && (n2 = F(n2, 7, ft));
|
2129
2142
|
for (var u2 = e2.length; u2--; )
|
2130
|
-
|
2143
|
+
tt(n2, e2[u2]);
|
2131
2144
|
return n2;
|
2132
2145
|
});
|
2133
|
-
|
2146
|
+
j.before = Mt, j.constant = ee, j.defaults = Nn, j.flatten = It, j.iteratee = re, j.keyBy = In, j.keys = Yt, j.keysIn = Zt, j.mapKeys = function(t2, e2) {
|
2134
2147
|
var n2 = {};
|
2135
|
-
return e2 =
|
2136
|
-
|
2148
|
+
return e2 = pt(e2, 3), M(t2, function(t3, r2, o2) {
|
2149
|
+
E(n2, e2(t3, r2, o2), t3);
|
2137
2150
|
}), n2;
|
2138
|
-
},
|
2139
|
-
return
|
2140
|
-
},
|
2141
|
-
if (null != t2 &&
|
2142
|
-
e2 =
|
2151
|
+
}, j.memoize = Ut, j.merge = Cn, j.omit = Tn, j.once = function(t2) {
|
2152
|
+
return Mt(2, t2);
|
2153
|
+
}, j.property = oe, j.set = function(t2, e2, n2) {
|
2154
|
+
if (null != t2 && Ct(t2)) {
|
2155
|
+
e2 = et(e2, t2);
|
2143
2156
|
for (var r2 = -1, o2 = e2.length, u2 = o2 - 1, c2 = t2; null != c2 && ++r2 < o2; ) {
|
2144
|
-
var i2 =
|
2157
|
+
var i2 = Et(e2[r2]), a2 = n2;
|
2158
|
+
if ("__proto__" === i2 || "constructor" === i2 || "prototype" === i2)
|
2159
|
+
break;
|
2145
2160
|
if (r2 != u2) {
|
2146
|
-
var f2 = c2[i2], a2 =
|
2147
|
-
a2 ===
|
2161
|
+
var f2 = c2[i2], a2 = ie;
|
2162
|
+
a2 === ie && (a2 = Ct(f2) ? f2 : wt(e2[r2 + 1]) ? [] : {});
|
2148
2163
|
}
|
2149
|
-
|
2164
|
+
O(c2, i2, a2), c2 = c2[i2];
|
2150
2165
|
}
|
2151
2166
|
}
|
2152
2167
|
return t2;
|
2153
|
-
},
|
2154
|
-
return i(t2,
|
2155
|
-
},
|
2156
|
-
if (t2 =
|
2168
|
+
}, j.sortBy = Bn, j.toPlainObject = Ht, j.values = te, j.eq = $t, j.findKey = function(t2, e2) {
|
2169
|
+
return i(t2, pt(e2, 3), M);
|
2170
|
+
}, j.get = Qt, j.hasIn = Xt, j.identity = ne, j.includes = function(t2, e2, n2, r2) {
|
2171
|
+
if (t2 = Dt(t2) ? t2 : te(t2), n2 = n2 && !r2 ? Kt(n2) : 0, r2 = t2.length, 0 > n2 && (n2 = un(r2 + n2, 0)), Rt(t2))
|
2157
2172
|
t2 = n2 <= r2 && -1 < t2.indexOf(e2, n2);
|
2158
2173
|
else {
|
2159
2174
|
if (r2 = !!r2) {
|
@@ -2180,11 +2195,11 @@ var require_lodash = __commonJS({
|
|
2180
2195
|
t2 = r2;
|
2181
2196
|
}
|
2182
2197
|
return t2;
|
2183
|
-
},
|
2184
|
-
return t2 && t2.length ?
|
2185
|
-
},
|
2186
|
-
return t2 && t2.length ?
|
2187
|
-
},
|
2198
|
+
}, j.isArguments = Mn, j.isArray = Un, j.isArrayLike = Dt, j.isArrayLikeObject = Pt, j.isBuffer = $n, j.isFunction = Lt, j.isLength = Nt, j.isMap = Dn, j.isObject = Ct, j.isObjectLike = Tt, j.isPlainObject = Vt, j.isSet = Pn, j.isString = Rt, j.isSymbol = Wt, j.isTypedArray = Ln, j.last = Bt, j.maxBy = function(t2, e2) {
|
2199
|
+
return t2 && t2.length ? I(t2, pt(e2, 2), P) : ie;
|
2200
|
+
}, j.minBy = function(t2, e2) {
|
2201
|
+
return t2 && t2.length ? I(t2, pt(e2, 2), G) : ie;
|
2202
|
+
}, j.stubArray = ue, j.stubFalse = ce, j.toFinite = Gt, j.toInteger = Kt, j.toNumber = qt, j.toString = Jt, j.VERSION = "4.17.21", Ee && ((Ee.exports = j)._ = j, xe._ = j);
|
2188
2203
|
}).call(exports2);
|
2189
2204
|
}
|
2190
2205
|
});
|
@@ -5359,7 +5374,7 @@ var require_package = __commonJS({
|
|
5359
5374
|
"node_modules/thread-stream/package.json"(exports2, module2) {
|
5360
5375
|
module2.exports = {
|
5361
5376
|
name: "thread-stream",
|
5362
|
-
version: "2.
|
5377
|
+
version: "2.7.0",
|
5363
5378
|
description: "A streaming way to send data to a Node.js Worker Thread",
|
5364
5379
|
main: "index.js",
|
5365
5380
|
types: "index.d.ts",
|
@@ -5367,28 +5382,34 @@ var require_package = __commonJS({
|
|
5367
5382
|
"real-require": "^0.2.0"
|
5368
5383
|
},
|
5369
5384
|
devDependencies: {
|
5370
|
-
"@types/node": "^
|
5385
|
+
"@types/node": "^20.1.0",
|
5371
5386
|
"@types/tap": "^15.0.0",
|
5387
|
+
"@yao-pkg/pkg": "^5.11.5",
|
5372
5388
|
desm: "^1.3.0",
|
5373
5389
|
fastbench: "^1.0.1",
|
5374
|
-
husky: "^
|
5390
|
+
husky: "^9.0.6",
|
5391
|
+
"pino-elasticsearch": "^8.0.0",
|
5375
5392
|
"sonic-boom": "^3.0.0",
|
5376
5393
|
standard: "^17.0.0",
|
5377
5394
|
tap: "^16.2.0",
|
5378
5395
|
"ts-node": "^10.8.0",
|
5379
|
-
typescript: "^
|
5396
|
+
typescript: "^5.3.2",
|
5380
5397
|
"why-is-node-running": "^2.2.2"
|
5381
5398
|
},
|
5382
5399
|
scripts: {
|
5383
|
-
test:
|
5400
|
+
test: 'standard && npm run transpile && tap "test/**/*.test.*js" && tap --ts test/*.test.*ts',
|
5384
5401
|
"test:ci": "standard && npm run transpile && npm run test:ci:js && npm run test:ci:ts",
|
5385
|
-
"test:ci:js": 'tap --no-check-coverage --coverage-report=lcovonly "test/**/*.test.*js"',
|
5402
|
+
"test:ci:js": 'tap --no-check-coverage --timeout=120 --coverage-report=lcovonly "test/**/*.test.*js"',
|
5386
5403
|
"test:ci:ts": 'tap --ts --no-check-coverage --coverage-report=lcovonly "test/**/*.test.*ts"',
|
5387
5404
|
"test:yarn": 'npm run transpile && tap "test/**/*.test.js" --no-check-coverage',
|
5388
5405
|
transpile: "sh ./test/ts/transpile.sh",
|
5389
5406
|
prepare: "husky install"
|
5390
5407
|
},
|
5391
|
-
standard: {
|
5408
|
+
standard: {
|
5409
|
+
ignore: [
|
5410
|
+
"test/ts/**/*"
|
5411
|
+
]
|
5412
|
+
},
|
5392
5413
|
repository: {
|
5393
5414
|
type: "git",
|
5394
5415
|
url: "git+https://github.com/mcollina/thread-stream.git"
|
@@ -5508,13 +5529,14 @@ var require_thread_stream = __commonJS({
|
|
5508
5529
|
return this._value;
|
5509
5530
|
}
|
5510
5531
|
};
|
5511
|
-
var
|
5532
|
+
var FakeFinalizationRegistry = class {
|
5512
5533
|
register() {
|
5513
5534
|
}
|
5514
5535
|
unregister() {
|
5515
5536
|
}
|
5516
5537
|
};
|
5517
|
-
var
|
5538
|
+
var FinalizationRegistry2 = process.env.NODE_V8_COVERAGE ? FakeFinalizationRegistry : global.FinalizationRegistry || FakeFinalizationRegistry;
|
5539
|
+
var WeakRef2 = process.env.NODE_V8_COVERAGE ? FakeWeakRef : global.WeakRef || FakeWeakRef;
|
5518
5540
|
var registry = new FinalizationRegistry2((worker) => {
|
5519
5541
|
if (worker.exited) {
|
5520
5542
|
return;
|
@@ -5625,6 +5647,9 @@ var require_thread_stream = __commonJS({
|
|
5625
5647
|
stream.emit(msg.name, msg.args);
|
5626
5648
|
}
|
5627
5649
|
break;
|
5650
|
+
case "WARNING":
|
5651
|
+
process.emitWarning(msg.err);
|
5652
|
+
break;
|
5628
5653
|
default:
|
5629
5654
|
destroy(stream, new Error("this should not happen: " + msg.code));
|
5630
5655
|
}
|
@@ -5662,6 +5687,9 @@ var require_thread_stream = __commonJS({
|
|
5662
5687
|
this[kImpl].closed = false;
|
5663
5688
|
this[kImpl].buf = "";
|
5664
5689
|
this.worker = createWorker(this, opts);
|
5690
|
+
this.on("message", (message, transferList) => {
|
5691
|
+
this.worker.postMessage(message, transferList);
|
5692
|
+
});
|
5665
5693
|
}
|
5666
5694
|
write(data) {
|
5667
5695
|
if (this[kImpl].destroyed) {
|
@@ -5985,6 +6013,7 @@ var require_transport = __commonJS({
|
|
5985
6013
|
if (dedupe) {
|
5986
6014
|
options.dedupe = dedupe;
|
5987
6015
|
}
|
6016
|
+
options.pinoWillSendConfig = true;
|
5988
6017
|
return buildStream(fixTarget(target), options, worker);
|
5989
6018
|
function fixTarget(origin) {
|
5990
6019
|
origin = bundlerOverrides[origin] || origin;
|
@@ -6559,7 +6588,7 @@ var require_levels = __commonJS({
|
|
6559
6588
|
var require_meta = __commonJS({
|
6560
6589
|
"node_modules/pino/lib/meta.js"(exports2, module2) {
|
6561
6590
|
"use strict";
|
6562
|
-
module2.exports = { version: "8.
|
6591
|
+
module2.exports = { version: "8.21.0" };
|
6563
6592
|
}
|
6564
6593
|
});
|
6565
6594
|
|
@@ -7377,6 +7406,7 @@ var require_multistream = __commonJS({
|
|
7377
7406
|
const res = {
|
7378
7407
|
write,
|
7379
7408
|
add,
|
7409
|
+
emit,
|
7380
7410
|
flushSync,
|
7381
7411
|
end,
|
7382
7412
|
minLevel: 0,
|
@@ -7422,6 +7452,13 @@ var require_multistream = __commonJS({
|
|
7422
7452
|
}
|
7423
7453
|
}
|
7424
7454
|
}
|
7455
|
+
function emit(...args) {
|
7456
|
+
for (const { stream } of this.streams) {
|
7457
|
+
if (typeof stream.emit === "function") {
|
7458
|
+
stream.emit(...args);
|
7459
|
+
}
|
7460
|
+
}
|
7461
|
+
}
|
7425
7462
|
function flushSync() {
|
7426
7463
|
for (const { stream } of this.streams) {
|
7427
7464
|
if (typeof stream.flushSync === "function") {
|
@@ -7482,6 +7519,7 @@ var require_multistream = __commonJS({
|
|
7482
7519
|
minLevel: level,
|
7483
7520
|
streams,
|
7484
7521
|
clone,
|
7522
|
+
emit,
|
7485
7523
|
flushSync,
|
7486
7524
|
[metadata]: true
|
7487
7525
|
};
|
@@ -7664,6 +7702,9 @@ var require_pino = __commonJS({
|
|
7664
7702
|
throw Error(`Unknown msgPrefix type "${typeof msgPrefix}" - expected "string"`);
|
7665
7703
|
assertDefaultLevelFound(level, customLevels, useOnlyCustomLevels);
|
7666
7704
|
const levels = mappings(customLevels, useOnlyCustomLevels);
|
7705
|
+
if (typeof stream.emit === "function") {
|
7706
|
+
stream.emit("message", { code: "PINO_CONFIG", config: { levels, messageKey, errorKey } });
|
7707
|
+
}
|
7667
7708
|
assertLevelComparison(levelComparison);
|
7668
7709
|
const levelCompFunc = genLevelComparison(levelComparison);
|
7669
7710
|
Object.assign(instance, {
|
@@ -7785,7 +7826,8 @@ var require_filters = __commonJS({
|
|
7785
7826
|
{ name: "Authorization" },
|
7786
7827
|
// Any json attribute that contains the words "refresh" and "token" will have the attribute/value hidden
|
7787
7828
|
{ name: "refresh_token", regex: `refresh[^'"]*token` },
|
7788
|
-
{ name: "clientsecret" }
|
7829
|
+
{ name: "clientsecret" },
|
7830
|
+
{ name: "authcode" }
|
7789
7831
|
];
|
7790
7832
|
var FILTERED_KEYS_FOR_PROCESSING = FILTERED_KEYS.map((key) => ({
|
7791
7833
|
...key,
|
@@ -7801,7 +7843,9 @@ var require_filters = __commonJS({
|
|
7801
7843
|
]).concat([
|
7802
7844
|
// plus any "generalized" functions that are matching contents regardless of keys
|
7803
7845
|
// use these for secrets with known patterns
|
7804
|
-
(input) => input.replace(new RegExp(sfdc_1.accessTokenRegex, "g"), "<REDACTED ACCESS TOKEN>").replace(new RegExp(sfdc_1.sfdxAuthUrlRegex, "g"), "<REDACTED AUTH URL TOKEN>")
|
7846
|
+
(input) => input.replace(new RegExp(sfdc_1.accessTokenRegex, "g"), "<REDACTED ACCESS TOKEN>").replace(new RegExp(sfdc_1.sfdxAuthUrlRegex, "g"), "<REDACTED AUTH URL TOKEN>"),
|
7847
|
+
// conditional replacement for clientId: leave the value if it's the PlatformCLI, otherwise redact it
|
7848
|
+
(input) => input.replace(/(['"]client.*Id['"])\s*:\s*(['"][^'"]*['"])/gi, (all, key, value) => value.includes("PlatformCLI") ? `${key}:${value}` : `${key}:"<REDACTED CLIENT ID>"`)
|
7805
7849
|
]);
|
7806
7850
|
var fullReplacementChain = compose(...replacementFunctions);
|
7807
7851
|
var filterSecrets = (...args) => args.map((arg) => {
|
@@ -10441,7 +10485,7 @@ var require_semver = __commonJS({
|
|
10441
10485
|
do {
|
10442
10486
|
const a = this.build[i];
|
10443
10487
|
const b = other.build[i];
|
10444
|
-
debug("
|
10488
|
+
debug("build compare", i, a, b);
|
10445
10489
|
if (a === void 0 && b === void 0) {
|
10446
10490
|
return 0;
|
10447
10491
|
} else if (b === void 0) {
|
@@ -10912,654 +10956,38 @@ var require_coerce2 = __commonJS({
|
|
10912
10956
|
}
|
10913
10957
|
});
|
10914
10958
|
|
10915
|
-
// node_modules/
|
10916
|
-
var
|
10917
|
-
"node_modules/
|
10918
|
-
"use strict";
|
10919
|
-
module2.exports = function(Yallist) {
|
10920
|
-
Yallist.prototype[Symbol.iterator] = function* () {
|
10921
|
-
for (let walker = this.head; walker; walker = walker.next) {
|
10922
|
-
yield walker.value;
|
10923
|
-
}
|
10924
|
-
};
|
10925
|
-
};
|
10926
|
-
}
|
10927
|
-
});
|
10928
|
-
|
10929
|
-
// node_modules/yallist/yallist.js
|
10930
|
-
var require_yallist = __commonJS({
|
10931
|
-
"node_modules/yallist/yallist.js"(exports2, module2) {
|
10932
|
-
"use strict";
|
10933
|
-
module2.exports = Yallist;
|
10934
|
-
Yallist.Node = Node;
|
10935
|
-
Yallist.create = Yallist;
|
10936
|
-
function Yallist(list) {
|
10937
|
-
var self2 = this;
|
10938
|
-
if (!(self2 instanceof Yallist)) {
|
10939
|
-
self2 = new Yallist();
|
10940
|
-
}
|
10941
|
-
self2.tail = null;
|
10942
|
-
self2.head = null;
|
10943
|
-
self2.length = 0;
|
10944
|
-
if (list && typeof list.forEach === "function") {
|
10945
|
-
list.forEach(function(item) {
|
10946
|
-
self2.push(item);
|
10947
|
-
});
|
10948
|
-
} else if (arguments.length > 0) {
|
10949
|
-
for (var i = 0, l = arguments.length; i < l; i++) {
|
10950
|
-
self2.push(arguments[i]);
|
10951
|
-
}
|
10952
|
-
}
|
10953
|
-
return self2;
|
10954
|
-
}
|
10955
|
-
Yallist.prototype.removeNode = function(node) {
|
10956
|
-
if (node.list !== this) {
|
10957
|
-
throw new Error("removing node which does not belong to this list");
|
10958
|
-
}
|
10959
|
-
var next = node.next;
|
10960
|
-
var prev = node.prev;
|
10961
|
-
if (next) {
|
10962
|
-
next.prev = prev;
|
10963
|
-
}
|
10964
|
-
if (prev) {
|
10965
|
-
prev.next = next;
|
10966
|
-
}
|
10967
|
-
if (node === this.head) {
|
10968
|
-
this.head = next;
|
10969
|
-
}
|
10970
|
-
if (node === this.tail) {
|
10971
|
-
this.tail = prev;
|
10972
|
-
}
|
10973
|
-
node.list.length--;
|
10974
|
-
node.next = null;
|
10975
|
-
node.prev = null;
|
10976
|
-
node.list = null;
|
10977
|
-
return next;
|
10978
|
-
};
|
10979
|
-
Yallist.prototype.unshiftNode = function(node) {
|
10980
|
-
if (node === this.head) {
|
10981
|
-
return;
|
10982
|
-
}
|
10983
|
-
if (node.list) {
|
10984
|
-
node.list.removeNode(node);
|
10985
|
-
}
|
10986
|
-
var head = this.head;
|
10987
|
-
node.list = this;
|
10988
|
-
node.next = head;
|
10989
|
-
if (head) {
|
10990
|
-
head.prev = node;
|
10991
|
-
}
|
10992
|
-
this.head = node;
|
10993
|
-
if (!this.tail) {
|
10994
|
-
this.tail = node;
|
10995
|
-
}
|
10996
|
-
this.length++;
|
10997
|
-
};
|
10998
|
-
Yallist.prototype.pushNode = function(node) {
|
10999
|
-
if (node === this.tail) {
|
11000
|
-
return;
|
11001
|
-
}
|
11002
|
-
if (node.list) {
|
11003
|
-
node.list.removeNode(node);
|
11004
|
-
}
|
11005
|
-
var tail = this.tail;
|
11006
|
-
node.list = this;
|
11007
|
-
node.prev = tail;
|
11008
|
-
if (tail) {
|
11009
|
-
tail.next = node;
|
11010
|
-
}
|
11011
|
-
this.tail = node;
|
11012
|
-
if (!this.head) {
|
11013
|
-
this.head = node;
|
11014
|
-
}
|
11015
|
-
this.length++;
|
11016
|
-
};
|
11017
|
-
Yallist.prototype.push = function() {
|
11018
|
-
for (var i = 0, l = arguments.length; i < l; i++) {
|
11019
|
-
push(this, arguments[i]);
|
11020
|
-
}
|
11021
|
-
return this.length;
|
11022
|
-
};
|
11023
|
-
Yallist.prototype.unshift = function() {
|
11024
|
-
for (var i = 0, l = arguments.length; i < l; i++) {
|
11025
|
-
unshift(this, arguments[i]);
|
11026
|
-
}
|
11027
|
-
return this.length;
|
11028
|
-
};
|
11029
|
-
Yallist.prototype.pop = function() {
|
11030
|
-
if (!this.tail) {
|
11031
|
-
return void 0;
|
11032
|
-
}
|
11033
|
-
var res = this.tail.value;
|
11034
|
-
this.tail = this.tail.prev;
|
11035
|
-
if (this.tail) {
|
11036
|
-
this.tail.next = null;
|
11037
|
-
} else {
|
11038
|
-
this.head = null;
|
11039
|
-
}
|
11040
|
-
this.length--;
|
11041
|
-
return res;
|
11042
|
-
};
|
11043
|
-
Yallist.prototype.shift = function() {
|
11044
|
-
if (!this.head) {
|
11045
|
-
return void 0;
|
11046
|
-
}
|
11047
|
-
var res = this.head.value;
|
11048
|
-
this.head = this.head.next;
|
11049
|
-
if (this.head) {
|
11050
|
-
this.head.prev = null;
|
11051
|
-
} else {
|
11052
|
-
this.tail = null;
|
11053
|
-
}
|
11054
|
-
this.length--;
|
11055
|
-
return res;
|
11056
|
-
};
|
11057
|
-
Yallist.prototype.forEach = function(fn, thisp) {
|
11058
|
-
thisp = thisp || this;
|
11059
|
-
for (var walker = this.head, i = 0; walker !== null; i++) {
|
11060
|
-
fn.call(thisp, walker.value, i, this);
|
11061
|
-
walker = walker.next;
|
11062
|
-
}
|
11063
|
-
};
|
11064
|
-
Yallist.prototype.forEachReverse = function(fn, thisp) {
|
11065
|
-
thisp = thisp || this;
|
11066
|
-
for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {
|
11067
|
-
fn.call(thisp, walker.value, i, this);
|
11068
|
-
walker = walker.prev;
|
11069
|
-
}
|
11070
|
-
};
|
11071
|
-
Yallist.prototype.get = function(n) {
|
11072
|
-
for (var i = 0, walker = this.head; walker !== null && i < n; i++) {
|
11073
|
-
walker = walker.next;
|
11074
|
-
}
|
11075
|
-
if (i === n && walker !== null) {
|
11076
|
-
return walker.value;
|
11077
|
-
}
|
11078
|
-
};
|
11079
|
-
Yallist.prototype.getReverse = function(n) {
|
11080
|
-
for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {
|
11081
|
-
walker = walker.prev;
|
11082
|
-
}
|
11083
|
-
if (i === n && walker !== null) {
|
11084
|
-
return walker.value;
|
11085
|
-
}
|
11086
|
-
};
|
11087
|
-
Yallist.prototype.map = function(fn, thisp) {
|
11088
|
-
thisp = thisp || this;
|
11089
|
-
var res = new Yallist();
|
11090
|
-
for (var walker = this.head; walker !== null; ) {
|
11091
|
-
res.push(fn.call(thisp, walker.value, this));
|
11092
|
-
walker = walker.next;
|
11093
|
-
}
|
11094
|
-
return res;
|
11095
|
-
};
|
11096
|
-
Yallist.prototype.mapReverse = function(fn, thisp) {
|
11097
|
-
thisp = thisp || this;
|
11098
|
-
var res = new Yallist();
|
11099
|
-
for (var walker = this.tail; walker !== null; ) {
|
11100
|
-
res.push(fn.call(thisp, walker.value, this));
|
11101
|
-
walker = walker.prev;
|
11102
|
-
}
|
11103
|
-
return res;
|
11104
|
-
};
|
11105
|
-
Yallist.prototype.reduce = function(fn, initial) {
|
11106
|
-
var acc;
|
11107
|
-
var walker = this.head;
|
11108
|
-
if (arguments.length > 1) {
|
11109
|
-
acc = initial;
|
11110
|
-
} else if (this.head) {
|
11111
|
-
walker = this.head.next;
|
11112
|
-
acc = this.head.value;
|
11113
|
-
} else {
|
11114
|
-
throw new TypeError("Reduce of empty list with no initial value");
|
11115
|
-
}
|
11116
|
-
for (var i = 0; walker !== null; i++) {
|
11117
|
-
acc = fn(acc, walker.value, i);
|
11118
|
-
walker = walker.next;
|
11119
|
-
}
|
11120
|
-
return acc;
|
11121
|
-
};
|
11122
|
-
Yallist.prototype.reduceReverse = function(fn, initial) {
|
11123
|
-
var acc;
|
11124
|
-
var walker = this.tail;
|
11125
|
-
if (arguments.length > 1) {
|
11126
|
-
acc = initial;
|
11127
|
-
} else if (this.tail) {
|
11128
|
-
walker = this.tail.prev;
|
11129
|
-
acc = this.tail.value;
|
11130
|
-
} else {
|
11131
|
-
throw new TypeError("Reduce of empty list with no initial value");
|
11132
|
-
}
|
11133
|
-
for (var i = this.length - 1; walker !== null; i--) {
|
11134
|
-
acc = fn(acc, walker.value, i);
|
11135
|
-
walker = walker.prev;
|
11136
|
-
}
|
11137
|
-
return acc;
|
11138
|
-
};
|
11139
|
-
Yallist.prototype.toArray = function() {
|
11140
|
-
var arr = new Array(this.length);
|
11141
|
-
for (var i = 0, walker = this.head; walker !== null; i++) {
|
11142
|
-
arr[i] = walker.value;
|
11143
|
-
walker = walker.next;
|
11144
|
-
}
|
11145
|
-
return arr;
|
11146
|
-
};
|
11147
|
-
Yallist.prototype.toArrayReverse = function() {
|
11148
|
-
var arr = new Array(this.length);
|
11149
|
-
for (var i = 0, walker = this.tail; walker !== null; i++) {
|
11150
|
-
arr[i] = walker.value;
|
11151
|
-
walker = walker.prev;
|
11152
|
-
}
|
11153
|
-
return arr;
|
11154
|
-
};
|
11155
|
-
Yallist.prototype.slice = function(from, to) {
|
11156
|
-
to = to || this.length;
|
11157
|
-
if (to < 0) {
|
11158
|
-
to += this.length;
|
11159
|
-
}
|
11160
|
-
from = from || 0;
|
11161
|
-
if (from < 0) {
|
11162
|
-
from += this.length;
|
11163
|
-
}
|
11164
|
-
var ret = new Yallist();
|
11165
|
-
if (to < from || to < 0) {
|
11166
|
-
return ret;
|
11167
|
-
}
|
11168
|
-
if (from < 0) {
|
11169
|
-
from = 0;
|
11170
|
-
}
|
11171
|
-
if (to > this.length) {
|
11172
|
-
to = this.length;
|
11173
|
-
}
|
11174
|
-
for (var i = 0, walker = this.head; walker !== null && i < from; i++) {
|
11175
|
-
walker = walker.next;
|
11176
|
-
}
|
11177
|
-
for (; walker !== null && i < to; i++, walker = walker.next) {
|
11178
|
-
ret.push(walker.value);
|
11179
|
-
}
|
11180
|
-
return ret;
|
11181
|
-
};
|
11182
|
-
Yallist.prototype.sliceReverse = function(from, to) {
|
11183
|
-
to = to || this.length;
|
11184
|
-
if (to < 0) {
|
11185
|
-
to += this.length;
|
11186
|
-
}
|
11187
|
-
from = from || 0;
|
11188
|
-
if (from < 0) {
|
11189
|
-
from += this.length;
|
11190
|
-
}
|
11191
|
-
var ret = new Yallist();
|
11192
|
-
if (to < from || to < 0) {
|
11193
|
-
return ret;
|
11194
|
-
}
|
11195
|
-
if (from < 0) {
|
11196
|
-
from = 0;
|
11197
|
-
}
|
11198
|
-
if (to > this.length) {
|
11199
|
-
to = this.length;
|
11200
|
-
}
|
11201
|
-
for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {
|
11202
|
-
walker = walker.prev;
|
11203
|
-
}
|
11204
|
-
for (; walker !== null && i > from; i--, walker = walker.prev) {
|
11205
|
-
ret.push(walker.value);
|
11206
|
-
}
|
11207
|
-
return ret;
|
11208
|
-
};
|
11209
|
-
Yallist.prototype.splice = function(start, deleteCount, ...nodes) {
|
11210
|
-
if (start > this.length) {
|
11211
|
-
start = this.length - 1;
|
11212
|
-
}
|
11213
|
-
if (start < 0) {
|
11214
|
-
start = this.length + start;
|
11215
|
-
}
|
11216
|
-
for (var i = 0, walker = this.head; walker !== null && i < start; i++) {
|
11217
|
-
walker = walker.next;
|
11218
|
-
}
|
11219
|
-
var ret = [];
|
11220
|
-
for (var i = 0; walker && i < deleteCount; i++) {
|
11221
|
-
ret.push(walker.value);
|
11222
|
-
walker = this.removeNode(walker);
|
11223
|
-
}
|
11224
|
-
if (walker === null) {
|
11225
|
-
walker = this.tail;
|
11226
|
-
}
|
11227
|
-
if (walker !== this.head && walker !== this.tail) {
|
11228
|
-
walker = walker.prev;
|
11229
|
-
}
|
11230
|
-
for (var i = 0; i < nodes.length; i++) {
|
11231
|
-
walker = insert(this, walker, nodes[i]);
|
11232
|
-
}
|
11233
|
-
return ret;
|
11234
|
-
};
|
11235
|
-
Yallist.prototype.reverse = function() {
|
11236
|
-
var head = this.head;
|
11237
|
-
var tail = this.tail;
|
11238
|
-
for (var walker = head; walker !== null; walker = walker.prev) {
|
11239
|
-
var p = walker.prev;
|
11240
|
-
walker.prev = walker.next;
|
11241
|
-
walker.next = p;
|
11242
|
-
}
|
11243
|
-
this.head = tail;
|
11244
|
-
this.tail = head;
|
11245
|
-
return this;
|
11246
|
-
};
|
11247
|
-
function insert(self2, node, value) {
|
11248
|
-
var inserted = node === self2.head ? new Node(value, null, node, self2) : new Node(value, node, node.next, self2);
|
11249
|
-
if (inserted.next === null) {
|
11250
|
-
self2.tail = inserted;
|
11251
|
-
}
|
11252
|
-
if (inserted.prev === null) {
|
11253
|
-
self2.head = inserted;
|
11254
|
-
}
|
11255
|
-
self2.length++;
|
11256
|
-
return inserted;
|
11257
|
-
}
|
11258
|
-
function push(self2, item) {
|
11259
|
-
self2.tail = new Node(item, self2.tail, null, self2);
|
11260
|
-
if (!self2.head) {
|
11261
|
-
self2.head = self2.tail;
|
11262
|
-
}
|
11263
|
-
self2.length++;
|
11264
|
-
}
|
11265
|
-
function unshift(self2, item) {
|
11266
|
-
self2.head = new Node(item, null, self2.head, self2);
|
11267
|
-
if (!self2.tail) {
|
11268
|
-
self2.tail = self2.head;
|
11269
|
-
}
|
11270
|
-
self2.length++;
|
11271
|
-
}
|
11272
|
-
function Node(value, prev, next, list) {
|
11273
|
-
if (!(this instanceof Node)) {
|
11274
|
-
return new Node(value, prev, next, list);
|
11275
|
-
}
|
11276
|
-
this.list = list;
|
11277
|
-
this.value = value;
|
11278
|
-
if (prev) {
|
11279
|
-
prev.next = this;
|
11280
|
-
this.prev = prev;
|
11281
|
-
} else {
|
11282
|
-
this.prev = null;
|
11283
|
-
}
|
11284
|
-
if (next) {
|
11285
|
-
next.prev = this;
|
11286
|
-
this.next = next;
|
11287
|
-
} else {
|
11288
|
-
this.next = null;
|
11289
|
-
}
|
11290
|
-
}
|
11291
|
-
try {
|
11292
|
-
require_iterator()(Yallist);
|
11293
|
-
} catch (er) {
|
11294
|
-
}
|
11295
|
-
}
|
11296
|
-
});
|
11297
|
-
|
11298
|
-
// node_modules/lru-cache/index.js
|
11299
|
-
var require_lru_cache = __commonJS({
|
11300
|
-
"node_modules/lru-cache/index.js"(exports2, module2) {
|
11301
|
-
"use strict";
|
11302
|
-
var Yallist = require_yallist();
|
11303
|
-
var MAX = Symbol("max");
|
11304
|
-
var LENGTH = Symbol("length");
|
11305
|
-
var LENGTH_CALCULATOR = Symbol("lengthCalculator");
|
11306
|
-
var ALLOW_STALE = Symbol("allowStale");
|
11307
|
-
var MAX_AGE = Symbol("maxAge");
|
11308
|
-
var DISPOSE = Symbol("dispose");
|
11309
|
-
var NO_DISPOSE_ON_SET = Symbol("noDisposeOnSet");
|
11310
|
-
var LRU_LIST = Symbol("lruList");
|
11311
|
-
var CACHE = Symbol("cache");
|
11312
|
-
var UPDATE_AGE_ON_GET = Symbol("updateAgeOnGet");
|
11313
|
-
var naiveLength = () => 1;
|
10959
|
+
// node_modules/semver/internal/lrucache.js
|
10960
|
+
var require_lrucache = __commonJS({
|
10961
|
+
"node_modules/semver/internal/lrucache.js"(exports2, module2) {
|
11314
10962
|
var LRUCache = class {
|
11315
|
-
constructor(
|
11316
|
-
|
11317
|
-
|
11318
|
-
if (!options)
|
11319
|
-
options = {};
|
11320
|
-
if (options.max && (typeof options.max !== "number" || options.max < 0))
|
11321
|
-
throw new TypeError("max must be a non-negative number");
|
11322
|
-
const max = this[MAX] = options.max || Infinity;
|
11323
|
-
const lc = options.length || naiveLength;
|
11324
|
-
this[LENGTH_CALCULATOR] = typeof lc !== "function" ? naiveLength : lc;
|
11325
|
-
this[ALLOW_STALE] = options.stale || false;
|
11326
|
-
if (options.maxAge && typeof options.maxAge !== "number")
|
11327
|
-
throw new TypeError("maxAge must be a number");
|
11328
|
-
this[MAX_AGE] = options.maxAge || 0;
|
11329
|
-
this[DISPOSE] = options.dispose;
|
11330
|
-
this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;
|
11331
|
-
this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;
|
11332
|
-
this.reset();
|
11333
|
-
}
|
11334
|
-
// resize the cache when the max changes.
|
11335
|
-
set max(mL) {
|
11336
|
-
if (typeof mL !== "number" || mL < 0)
|
11337
|
-
throw new TypeError("max must be a non-negative number");
|
11338
|
-
this[MAX] = mL || Infinity;
|
11339
|
-
trim(this);
|
11340
|
-
}
|
11341
|
-
get max() {
|
11342
|
-
return this[MAX];
|
11343
|
-
}
|
11344
|
-
set allowStale(allowStale) {
|
11345
|
-
this[ALLOW_STALE] = !!allowStale;
|
11346
|
-
}
|
11347
|
-
get allowStale() {
|
11348
|
-
return this[ALLOW_STALE];
|
11349
|
-
}
|
11350
|
-
set maxAge(mA) {
|
11351
|
-
if (typeof mA !== "number")
|
11352
|
-
throw new TypeError("maxAge must be a non-negative number");
|
11353
|
-
this[MAX_AGE] = mA;
|
11354
|
-
trim(this);
|
11355
|
-
}
|
11356
|
-
get maxAge() {
|
11357
|
-
return this[MAX_AGE];
|
11358
|
-
}
|
11359
|
-
// resize the cache when the lengthCalculator changes.
|
11360
|
-
set lengthCalculator(lC) {
|
11361
|
-
if (typeof lC !== "function")
|
11362
|
-
lC = naiveLength;
|
11363
|
-
if (lC !== this[LENGTH_CALCULATOR]) {
|
11364
|
-
this[LENGTH_CALCULATOR] = lC;
|
11365
|
-
this[LENGTH] = 0;
|
11366
|
-
this[LRU_LIST].forEach((hit) => {
|
11367
|
-
hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key);
|
11368
|
-
this[LENGTH] += hit.length;
|
11369
|
-
});
|
11370
|
-
}
|
11371
|
-
trim(this);
|
11372
|
-
}
|
11373
|
-
get lengthCalculator() {
|
11374
|
-
return this[LENGTH_CALCULATOR];
|
11375
|
-
}
|
11376
|
-
get length() {
|
11377
|
-
return this[LENGTH];
|
11378
|
-
}
|
11379
|
-
get itemCount() {
|
11380
|
-
return this[LRU_LIST].length;
|
11381
|
-
}
|
11382
|
-
rforEach(fn, thisp) {
|
11383
|
-
thisp = thisp || this;
|
11384
|
-
for (let walker = this[LRU_LIST].tail; walker !== null; ) {
|
11385
|
-
const prev = walker.prev;
|
11386
|
-
forEachStep(this, fn, walker, thisp);
|
11387
|
-
walker = prev;
|
11388
|
-
}
|
11389
|
-
}
|
11390
|
-
forEach(fn, thisp) {
|
11391
|
-
thisp = thisp || this;
|
11392
|
-
for (let walker = this[LRU_LIST].head; walker !== null; ) {
|
11393
|
-
const next = walker.next;
|
11394
|
-
forEachStep(this, fn, walker, thisp);
|
11395
|
-
walker = next;
|
11396
|
-
}
|
11397
|
-
}
|
11398
|
-
keys() {
|
11399
|
-
return this[LRU_LIST].toArray().map((k) => k.key);
|
11400
|
-
}
|
11401
|
-
values() {
|
11402
|
-
return this[LRU_LIST].toArray().map((k) => k.value);
|
11403
|
-
}
|
11404
|
-
reset() {
|
11405
|
-
if (this[DISPOSE] && this[LRU_LIST] && this[LRU_LIST].length) {
|
11406
|
-
this[LRU_LIST].forEach((hit) => this[DISPOSE](hit.key, hit.value));
|
11407
|
-
}
|
11408
|
-
this[CACHE] = /* @__PURE__ */ new Map();
|
11409
|
-
this[LRU_LIST] = new Yallist();
|
11410
|
-
this[LENGTH] = 0;
|
11411
|
-
}
|
11412
|
-
dump() {
|
11413
|
-
return this[LRU_LIST].map((hit) => isStale(this, hit) ? false : {
|
11414
|
-
k: hit.key,
|
11415
|
-
v: hit.value,
|
11416
|
-
e: hit.now + (hit.maxAge || 0)
|
11417
|
-
}).toArray().filter((h) => h);
|
11418
|
-
}
|
11419
|
-
dumpLru() {
|
11420
|
-
return this[LRU_LIST];
|
11421
|
-
}
|
11422
|
-
set(key, value, maxAge) {
|
11423
|
-
maxAge = maxAge || this[MAX_AGE];
|
11424
|
-
if (maxAge && typeof maxAge !== "number")
|
11425
|
-
throw new TypeError("maxAge must be a number");
|
11426
|
-
const now = maxAge ? Date.now() : 0;
|
11427
|
-
const len = this[LENGTH_CALCULATOR](value, key);
|
11428
|
-
if (this[CACHE].has(key)) {
|
11429
|
-
if (len > this[MAX]) {
|
11430
|
-
del(this, this[CACHE].get(key));
|
11431
|
-
return false;
|
11432
|
-
}
|
11433
|
-
const node = this[CACHE].get(key);
|
11434
|
-
const item = node.value;
|
11435
|
-
if (this[DISPOSE]) {
|
11436
|
-
if (!this[NO_DISPOSE_ON_SET])
|
11437
|
-
this[DISPOSE](key, item.value);
|
11438
|
-
}
|
11439
|
-
item.now = now;
|
11440
|
-
item.maxAge = maxAge;
|
11441
|
-
item.value = value;
|
11442
|
-
this[LENGTH] += len - item.length;
|
11443
|
-
item.length = len;
|
11444
|
-
this.get(key);
|
11445
|
-
trim(this);
|
11446
|
-
return true;
|
11447
|
-
}
|
11448
|
-
const hit = new Entry(key, value, len, now, maxAge);
|
11449
|
-
if (hit.length > this[MAX]) {
|
11450
|
-
if (this[DISPOSE])
|
11451
|
-
this[DISPOSE](key, value);
|
11452
|
-
return false;
|
11453
|
-
}
|
11454
|
-
this[LENGTH] += hit.length;
|
11455
|
-
this[LRU_LIST].unshift(hit);
|
11456
|
-
this[CACHE].set(key, this[LRU_LIST].head);
|
11457
|
-
trim(this);
|
11458
|
-
return true;
|
11459
|
-
}
|
11460
|
-
has(key) {
|
11461
|
-
if (!this[CACHE].has(key))
|
11462
|
-
return false;
|
11463
|
-
const hit = this[CACHE].get(key).value;
|
11464
|
-
return !isStale(this, hit);
|
10963
|
+
constructor() {
|
10964
|
+
this.max = 1e3;
|
10965
|
+
this.map = /* @__PURE__ */ new Map();
|
11465
10966
|
}
|
11466
10967
|
get(key) {
|
11467
|
-
|
11468
|
-
|
11469
|
-
|
11470
|
-
|
11471
|
-
|
11472
|
-
|
11473
|
-
|
11474
|
-
if (!node)
|
11475
|
-
return null;
|
11476
|
-
del(this, node);
|
11477
|
-
return node.value;
|
11478
|
-
}
|
11479
|
-
del(key) {
|
11480
|
-
del(this, this[CACHE].get(key));
|
11481
|
-
}
|
11482
|
-
load(arr) {
|
11483
|
-
this.reset();
|
11484
|
-
const now = Date.now();
|
11485
|
-
for (let l = arr.length - 1; l >= 0; l--) {
|
11486
|
-
const hit = arr[l];
|
11487
|
-
const expiresAt = hit.e || 0;
|
11488
|
-
if (expiresAt === 0)
|
11489
|
-
this.set(hit.k, hit.v);
|
11490
|
-
else {
|
11491
|
-
const maxAge = expiresAt - now;
|
11492
|
-
if (maxAge > 0) {
|
11493
|
-
this.set(hit.k, hit.v, maxAge);
|
11494
|
-
}
|
11495
|
-
}
|
10968
|
+
const value = this.map.get(key);
|
10969
|
+
if (value === void 0) {
|
10970
|
+
return void 0;
|
10971
|
+
} else {
|
10972
|
+
this.map.delete(key);
|
10973
|
+
this.map.set(key, value);
|
10974
|
+
return value;
|
11496
10975
|
}
|
11497
10976
|
}
|
11498
|
-
|
11499
|
-
this
|
10977
|
+
delete(key) {
|
10978
|
+
return this.map.delete(key);
|
11500
10979
|
}
|
11501
|
-
|
11502
|
-
|
11503
|
-
|
11504
|
-
|
11505
|
-
|
11506
|
-
|
11507
|
-
del(self2, node);
|
11508
|
-
if (!self2[ALLOW_STALE])
|
11509
|
-
return void 0;
|
11510
|
-
} else {
|
11511
|
-
if (doUse) {
|
11512
|
-
if (self2[UPDATE_AGE_ON_GET])
|
11513
|
-
node.value.now = Date.now();
|
11514
|
-
self2[LRU_LIST].unshiftNode(node);
|
10980
|
+
set(key, value) {
|
10981
|
+
const deleted = this.delete(key);
|
10982
|
+
if (!deleted && value !== void 0) {
|
10983
|
+
if (this.map.size >= this.max) {
|
10984
|
+
const firstKey = this.map.keys().next().value;
|
10985
|
+
this.delete(firstKey);
|
11515
10986
|
}
|
10987
|
+
this.map.set(key, value);
|
11516
10988
|
}
|
11517
|
-
return
|
11518
|
-
}
|
11519
|
-
};
|
11520
|
-
var isStale = (self2, hit) => {
|
11521
|
-
if (!hit || !hit.maxAge && !self2[MAX_AGE])
|
11522
|
-
return false;
|
11523
|
-
const diff = Date.now() - hit.now;
|
11524
|
-
return hit.maxAge ? diff > hit.maxAge : self2[MAX_AGE] && diff > self2[MAX_AGE];
|
11525
|
-
};
|
11526
|
-
var trim = (self2) => {
|
11527
|
-
if (self2[LENGTH] > self2[MAX]) {
|
11528
|
-
for (let walker = self2[LRU_LIST].tail; self2[LENGTH] > self2[MAX] && walker !== null; ) {
|
11529
|
-
const prev = walker.prev;
|
11530
|
-
del(self2, walker);
|
11531
|
-
walker = prev;
|
11532
|
-
}
|
11533
|
-
}
|
11534
|
-
};
|
11535
|
-
var del = (self2, node) => {
|
11536
|
-
if (node) {
|
11537
|
-
const hit = node.value;
|
11538
|
-
if (self2[DISPOSE])
|
11539
|
-
self2[DISPOSE](hit.key, hit.value);
|
11540
|
-
self2[LENGTH] -= hit.length;
|
11541
|
-
self2[CACHE].delete(hit.key);
|
11542
|
-
self2[LRU_LIST].removeNode(node);
|
11543
|
-
}
|
11544
|
-
};
|
11545
|
-
var Entry = class {
|
11546
|
-
constructor(key, value, length, now, maxAge) {
|
11547
|
-
this.key = key;
|
11548
|
-
this.value = value;
|
11549
|
-
this.length = length;
|
11550
|
-
this.now = now;
|
11551
|
-
this.maxAge = maxAge || 0;
|
11552
|
-
}
|
11553
|
-
};
|
11554
|
-
var forEachStep = (self2, fn, node, thisp) => {
|
11555
|
-
let hit = node.value;
|
11556
|
-
if (isStale(self2, hit)) {
|
11557
|
-
del(self2, node);
|
11558
|
-
if (!self2[ALLOW_STALE])
|
11559
|
-
hit = void 0;
|
10989
|
+
return this;
|
11560
10990
|
}
|
11561
|
-
if (hit)
|
11562
|
-
fn.call(thisp, hit.value, hit.key, self2);
|
11563
10991
|
};
|
11564
10992
|
module2.exports = LRUCache;
|
11565
10993
|
}
|
@@ -11690,8 +11118,8 @@ var require_range = __commonJS({
|
|
11690
11118
|
}
|
11691
11119
|
};
|
11692
11120
|
module2.exports = Range;
|
11693
|
-
var LRU =
|
11694
|
-
var cache = new LRU(
|
11121
|
+
var LRU = require_lrucache();
|
11122
|
+
var cache = new LRU();
|
11695
11123
|
var parseOptions = require_parse_options();
|
11696
11124
|
var Comparator = require_comparator();
|
11697
11125
|
var debug = require_debug();
|
@@ -11869,7 +11297,7 @@ var require_range = __commonJS({
|
|
11869
11297
|
debug("replaceGTE0", comp, options);
|
11870
11298
|
return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
|
11871
11299
|
};
|
11872
|
-
var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr
|
11300
|
+
var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
|
11873
11301
|
if (isX(fM)) {
|
11874
11302
|
from = "";
|
11875
11303
|
} else if (isX(fm)) {
|
@@ -12595,7 +12023,7 @@ var require_package2 = __commonJS({
|
|
12595
12023
|
"package.json"(exports2, module2) {
|
12596
12024
|
module2.exports = {
|
12597
12025
|
name: "@salesforce/core-bundle",
|
12598
|
-
version: "7.3.
|
12026
|
+
version: "7.3.9",
|
12599
12027
|
description: "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
12600
12028
|
main: "lib/index",
|
12601
12029
|
types: "lib/index.d.ts",
|
@@ -12631,22 +12059,22 @@ var require_package2 = __commonJS({
|
|
12631
12059
|
"messageTransformer/messageTransformer.ts"
|
12632
12060
|
],
|
12633
12061
|
dependencies: {
|
12634
|
-
"@jsforce/jsforce-node": "^3.
|
12635
|
-
"@salesforce/kit": "^3.1.
|
12636
|
-
"@salesforce/schemas": "^1.
|
12062
|
+
"@jsforce/jsforce-node": "^3.2.0",
|
12063
|
+
"@salesforce/kit": "^3.1.1",
|
12064
|
+
"@salesforce/schemas": "^1.9.0",
|
12637
12065
|
"@salesforce/ts-types": "^2.0.9",
|
12638
|
-
ajv: "^8.
|
12066
|
+
ajv: "^8.13.0",
|
12639
12067
|
"change-case": "^4.1.2",
|
12640
12068
|
faye: "^1.4.0",
|
12641
12069
|
"form-data": "^4.0.0",
|
12642
12070
|
js2xmlparser: "^4.0.1",
|
12643
12071
|
jsonwebtoken: "9.0.2",
|
12644
12072
|
jszip: "3.10.1",
|
12645
|
-
pino: "^8.
|
12073
|
+
pino: "^8.21.0",
|
12646
12074
|
"pino-abstract-transport": "^1.1.0",
|
12647
12075
|
"pino-pretty": "^10.3.1",
|
12648
12076
|
"proper-lockfile": "^4.1.2",
|
12649
|
-
semver: "^7.6.
|
12077
|
+
semver: "^7.6.2",
|
12650
12078
|
"ts-retry-promise": "^0.7.1"
|
12651
12079
|
},
|
12652
12080
|
devDependencies: {
|
@@ -31716,13 +31144,45 @@ var require_dist17 = __commonJS({
|
|
31716
31144
|
var require_request = __commonJS({
|
31717
31145
|
"node_modules/@jsforce/jsforce-node/lib/request.js"(exports2) {
|
31718
31146
|
"use strict";
|
31147
|
+
var __createBinding3 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
31148
|
+
if (k2 === void 0)
|
31149
|
+
k2 = k;
|
31150
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
31151
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
31152
|
+
desc = { enumerable: true, get: function() {
|
31153
|
+
return m[k];
|
31154
|
+
} };
|
31155
|
+
}
|
31156
|
+
Object.defineProperty(o, k2, desc);
|
31157
|
+
} : function(o, m, k, k2) {
|
31158
|
+
if (k2 === void 0)
|
31159
|
+
k2 = k;
|
31160
|
+
o[k2] = m[k];
|
31161
|
+
});
|
31162
|
+
var __setModuleDefault2 = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
|
31163
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
31164
|
+
} : function(o, v) {
|
31165
|
+
o["default"] = v;
|
31166
|
+
});
|
31167
|
+
var __importStar2 = exports2 && exports2.__importStar || function(mod) {
|
31168
|
+
if (mod && mod.__esModule)
|
31169
|
+
return mod;
|
31170
|
+
var result = {};
|
31171
|
+
if (mod != null) {
|
31172
|
+
for (var k in mod)
|
31173
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
31174
|
+
__createBinding3(result, mod, k);
|
31175
|
+
}
|
31176
|
+
__setModuleDefault2(result, mod);
|
31177
|
+
return result;
|
31178
|
+
};
|
31719
31179
|
var __importDefault3 = exports2 && exports2.__importDefault || function(mod) {
|
31720
31180
|
return mod && mod.__esModule ? mod : { "default": mod };
|
31721
31181
|
};
|
31722
31182
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
31723
31183
|
exports2.setDefaults = void 0;
|
31724
31184
|
var stream_1 = require("stream");
|
31725
|
-
var node_fetch_1 =
|
31185
|
+
var node_fetch_1 = __importStar2(require_lib4());
|
31726
31186
|
var abort_controller_1 = __importDefault3(require_abort_controller());
|
31727
31187
|
var https_proxy_agent_1 = __importDefault3(require_dist16());
|
31728
31188
|
var request_helper_1 = require_request_helper();
|
@@ -31741,7 +31201,10 @@ var require_request = __commonJS({
|
|
31741
31201
|
const controller = new abort_controller_1.default();
|
31742
31202
|
let retryCount = 0;
|
31743
31203
|
const retryOpts = {
|
31204
|
+
statusCodes: options.retry?.statusCodes ?? [429, 500, 502, 503, 504],
|
31744
31205
|
maxRetries: options.retry?.maxRetries ?? 5,
|
31206
|
+
minTimeout: options.retry?.minTimeout ?? 500,
|
31207
|
+
timeoutFactor: options.retry?.timeoutFactor ?? 2,
|
31745
31208
|
errorCodes: options.retry?.errorCodes ?? [
|
31746
31209
|
"ECONNRESET",
|
31747
31210
|
"ECONNREFUSED",
|
@@ -31761,6 +31224,34 @@ var require_request = __commonJS({
|
|
31761
31224
|
"DELETE"
|
31762
31225
|
]
|
31763
31226
|
};
|
31227
|
+
const shouldRetryRequest = (maxRetry, resOrErr) => {
|
31228
|
+
if (!retryOpts.methods.includes(request2.method))
|
31229
|
+
return false;
|
31230
|
+
if (resOrErr instanceof node_fetch_1.Response) {
|
31231
|
+
if (retryOpts.statusCodes.includes(resOrErr.status)) {
|
31232
|
+
if (maxRetry === retryCount) {
|
31233
|
+
const err = new Error("Request failed");
|
31234
|
+
err.name = "RequestRetryError";
|
31235
|
+
throw err;
|
31236
|
+
} else {
|
31237
|
+
return true;
|
31238
|
+
}
|
31239
|
+
}
|
31240
|
+
return false;
|
31241
|
+
} else {
|
31242
|
+
if (maxRetry === retryCount)
|
31243
|
+
return false;
|
31244
|
+
if (resOrErr.name != "FetchError")
|
31245
|
+
return false;
|
31246
|
+
if (is_1.default.nodeStream(body) && stream_1.Readable.isDisturbed(body)) {
|
31247
|
+
logger.debug("Body of type stream was read, unable to retry request.");
|
31248
|
+
return false;
|
31249
|
+
}
|
31250
|
+
if ("code" in resOrErr && resOrErr.code && retryOpts?.errorCodes?.includes(resOrErr.code))
|
31251
|
+
return true;
|
31252
|
+
return false;
|
31253
|
+
}
|
31254
|
+
};
|
31764
31255
|
const fetchWithRetries = async (maxRetry = retryOpts?.maxRetries) => {
|
31765
31256
|
const fetchOpts = {
|
31766
31257
|
...rrequest,
|
@@ -31770,37 +31261,38 @@ var require_request = __commonJS({
|
|
31770
31261
|
agent
|
31771
31262
|
};
|
31772
31263
|
try {
|
31773
|
-
|
31264
|
+
const res2 = await (0, node_fetch_1.default)(url, fetchOpts);
|
31265
|
+
if (shouldRetryRequest(retryOpts.maxRetries, res2)) {
|
31266
|
+
logger.debug(`retrying for the ${retryCount + 1} time`);
|
31267
|
+
logger.debug(`reason: statusCode match`);
|
31268
|
+
await sleep(retryCount === 0 ? retryOpts.minTimeout : retryOpts.minTimeout * retryOpts.timeoutFactor ** retryCount);
|
31269
|
+
emitter.emit("retry", retryCount);
|
31270
|
+
retryCount++;
|
31271
|
+
return await fetchWithRetries(maxRetry);
|
31272
|
+
}
|
31273
|
+
return res2;
|
31774
31274
|
} catch (err) {
|
31775
31275
|
logger.debug(`Request failed`);
|
31776
31276
|
const error = err;
|
31777
31277
|
if (error.name === "AbortError") {
|
31778
31278
|
throw error;
|
31779
31279
|
}
|
31780
|
-
|
31781
|
-
if (error.name != "FetchError")
|
31782
|
-
return false;
|
31783
|
-
if (retryCount === maxRetry)
|
31784
|
-
return false;
|
31785
|
-
if (!retryOpts?.methods?.includes(request2.method))
|
31786
|
-
return false;
|
31787
|
-
if (is_1.default.nodeStream(body) && stream_1.Readable.isDisturbed(body)) {
|
31788
|
-
logger.debug("Body of type stream was read, unable to retry request.");
|
31789
|
-
return false;
|
31790
|
-
}
|
31791
|
-
if ("code" in error && error.code && retryOpts?.errorCodes?.includes(error.code))
|
31792
|
-
return true;
|
31793
|
-
return false;
|
31794
|
-
};
|
31795
|
-
if (shouldRetry()) {
|
31280
|
+
if (shouldRetryRequest(retryOpts.maxRetries, error)) {
|
31796
31281
|
logger.debug(`retrying for the ${retryCount + 1} time`);
|
31797
31282
|
logger.debug(`Error: ${error}`);
|
31283
|
+
await sleep(retryCount === 0 ? retryOpts.minTimeout : retryOpts.minTimeout * retryOpts.timeoutFactor ** retryCount);
|
31798
31284
|
emitter.emit("retry", retryCount);
|
31799
31285
|
retryCount++;
|
31800
31286
|
return await fetchWithRetries(maxRetry);
|
31801
31287
|
}
|
31802
31288
|
logger.debug("Skipping retry...");
|
31803
|
-
|
31289
|
+
if (maxRetry === retryCount) {
|
31290
|
+
const error2 = new Error("Request failed", { cause: err });
|
31291
|
+
error2.name = "RequestRetryError";
|
31292
|
+
throw error2;
|
31293
|
+
} else {
|
31294
|
+
throw err;
|
31295
|
+
}
|
31804
31296
|
}
|
31805
31297
|
};
|
31806
31298
|
let res;
|
@@ -31836,6 +31328,7 @@ var require_request = __commonJS({
|
|
31836
31328
|
return stream;
|
31837
31329
|
}
|
31838
31330
|
exports2.default = request;
|
31331
|
+
var sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
31839
31332
|
}
|
31840
31333
|
});
|
31841
31334
|
|
@@ -85932,7 +85425,7 @@ var require_scope = __commonJS({
|
|
85932
85425
|
(function(UsedValueState2) {
|
85933
85426
|
UsedValueState2[UsedValueState2["Started"] = 0] = "Started";
|
85934
85427
|
UsedValueState2[UsedValueState2["Completed"] = 1] = "Completed";
|
85935
|
-
})(UsedValueState
|
85428
|
+
})(UsedValueState || (exports2.UsedValueState = UsedValueState = {}));
|
85936
85429
|
exports2.varKinds = {
|
85937
85430
|
const: new code_1.Name("const"),
|
85938
85431
|
let: new code_1.Name("let"),
|
@@ -86926,7 +86419,7 @@ var require_util2 = __commonJS({
|
|
86926
86419
|
(function(Type2) {
|
86927
86420
|
Type2[Type2["Num"] = 0] = "Num";
|
86928
86421
|
Type2[Type2["Str"] = 1] = "Str";
|
86929
|
-
})(Type
|
86422
|
+
})(Type || (exports2.Type = Type = {}));
|
86930
86423
|
function getErrorPath(dataProp, dataPropType, jsPropertySyntax) {
|
86931
86424
|
if (dataProp instanceof codegen_1.Name) {
|
86932
86425
|
const isNumber = dataPropType === Type.Num;
|
@@ -86956,16 +86449,22 @@ var require_names = __commonJS({
|
|
86956
86449
|
var names = {
|
86957
86450
|
// validation function arguments
|
86958
86451
|
data: new codegen_1.Name("data"),
|
86452
|
+
// data passed to validation function
|
86959
86453
|
// args passed from referencing schema
|
86960
86454
|
valCxt: new codegen_1.Name("valCxt"),
|
86455
|
+
// validation/data context - should not be used directly, it is destructured to the names below
|
86961
86456
|
instancePath: new codegen_1.Name("instancePath"),
|
86962
86457
|
parentData: new codegen_1.Name("parentData"),
|
86963
86458
|
parentDataProperty: new codegen_1.Name("parentDataProperty"),
|
86964
86459
|
rootData: new codegen_1.Name("rootData"),
|
86460
|
+
// root data - same as the data passed to the first/top validation function
|
86965
86461
|
dynamicAnchors: new codegen_1.Name("dynamicAnchors"),
|
86462
|
+
// used to support recursiveRef and dynamicRef
|
86966
86463
|
// function scoped variables
|
86967
86464
|
vErrors: new codegen_1.Name("vErrors"),
|
86465
|
+
// null or array of validation errors
|
86968
86466
|
errors: new codegen_1.Name("errors"),
|
86467
|
+
// counter of validation errors
|
86969
86468
|
this: new codegen_1.Name("this"),
|
86970
86469
|
// "globals"
|
86971
86470
|
self: new codegen_1.Name("self"),
|
@@ -87053,6 +86552,7 @@ var require_errors4 = __commonJS({
|
|
87053
86552
|
var E = {
|
87054
86553
|
keyword: new codegen_1.Name("keyword"),
|
87055
86554
|
schemaPath: new codegen_1.Name("schemaPath"),
|
86555
|
+
// also used in JTD errors
|
87056
86556
|
params: new codegen_1.Name("params"),
|
87057
86557
|
propertyName: new codegen_1.Name("propertyName"),
|
87058
86558
|
message: new codegen_1.Name("message"),
|
@@ -87221,7 +86721,7 @@ var require_dataType = __commonJS({
|
|
87221
86721
|
(function(DataType2) {
|
87222
86722
|
DataType2[DataType2["Correct"] = 0] = "Correct";
|
87223
86723
|
DataType2[DataType2["Wrong"] = 1] = "Wrong";
|
87224
|
-
})(DataType
|
86724
|
+
})(DataType || (exports2.DataType = DataType = {}));
|
87225
86725
|
function getSchemaTypes(schema) {
|
87226
86726
|
const types = getJSONTypes(schema.type);
|
87227
86727
|
const hasNull = types.includes("null");
|
@@ -88002,15 +87502,15 @@ var require_resolve = __commonJS({
|
|
88002
87502
|
if (parentJsonPtr === void 0)
|
88003
87503
|
return;
|
88004
87504
|
const fullPath = pathPrefix + jsonPtr;
|
88005
|
-
let
|
87505
|
+
let innerBaseId = baseIds[parentJsonPtr];
|
88006
87506
|
if (typeof sch[schemaId] == "string")
|
88007
|
-
|
87507
|
+
innerBaseId = addRef.call(this, sch[schemaId]);
|
88008
87508
|
addAnchor.call(this, sch.$anchor);
|
88009
87509
|
addAnchor.call(this, sch.$dynamicAnchor);
|
88010
|
-
baseIds[jsonPtr] =
|
87510
|
+
baseIds[jsonPtr] = innerBaseId;
|
88011
87511
|
function addRef(ref) {
|
88012
87512
|
const _resolve = this.opts.uriResolver.resolve;
|
88013
|
-
ref = normalizeId(
|
87513
|
+
ref = normalizeId(innerBaseId ? _resolve(innerBaseId, ref) : ref);
|
88014
87514
|
if (schemaRefs.has(ref))
|
88015
87515
|
throw ambiguos(ref);
|
88016
87516
|
schemaRefs.add(ref);
|
@@ -88648,6 +88148,7 @@ var require_compile = __commonJS({
|
|
88648
88148
|
parentDataProperty: names_1.default.parentDataProperty,
|
88649
88149
|
dataNames: [names_1.default.data],
|
88650
88150
|
dataPathArr: [codegen_1.nil],
|
88151
|
+
// TODO can its length be used as dataLevel if nil is removed?
|
88651
88152
|
dataLevel: 0,
|
88652
88153
|
dataTypes: [],
|
88653
88154
|
definedProperties: /* @__PURE__ */ new Set(),
|
@@ -90358,9 +89859,9 @@ var require_core2 = __commonJS({
|
|
90358
89859
|
}
|
90359
89860
|
}
|
90360
89861
|
};
|
90361
|
-
exports2.default = Ajv;
|
90362
89862
|
Ajv.ValidationError = validation_error_1.default;
|
90363
89863
|
Ajv.MissingRefError = ref_error_1.default;
|
89864
|
+
exports2.default = Ajv;
|
90364
89865
|
function checkOptions(checkOpts, options, msg, log = "error") {
|
90365
89866
|
for (const key in checkOpts) {
|
90366
89867
|
const opt = key;
|
@@ -92184,7 +91685,7 @@ var require_types3 = __commonJS({
|
|
92184
91685
|
(function(DiscrError2) {
|
92185
91686
|
DiscrError2["Tag"] = "tag";
|
92186
91687
|
DiscrError2["Mapping"] = "mapping";
|
92187
|
-
})(DiscrError
|
91688
|
+
})(DiscrError || (exports2.DiscrError = DiscrError = {}));
|
92188
91689
|
}
|
92189
91690
|
});
|
92190
91691
|
|
@@ -92451,7 +91952,7 @@ var require_ajv = __commonJS({
|
|
92451
91952
|
"node_modules/ajv/dist/ajv.js"(exports2, module2) {
|
92452
91953
|
"use strict";
|
92453
91954
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
92454
|
-
exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
|
91955
|
+
exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
|
92455
91956
|
var core_1 = require_core2();
|
92456
91957
|
var draft7_1 = require_draft7();
|
92457
91958
|
var discriminator_1 = require_discriminator();
|
@@ -92477,7 +91978,9 @@ var require_ajv = __commonJS({
|
|
92477
91978
|
return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : void 0);
|
92478
91979
|
}
|
92479
91980
|
};
|
91981
|
+
exports2.Ajv = Ajv;
|
92480
91982
|
module2.exports = exports2 = Ajv;
|
91983
|
+
module2.exports.Ajv = Ajv;
|
92481
91984
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
92482
91985
|
exports2.default = Ajv;
|
92483
91986
|
var validate_1 = require_validate();
|
@@ -92743,390 +92246,141 @@ __export(sfdx_project_schema_exports, {
|
|
92743
92246
|
title: () => title,
|
92744
92247
|
type: () => type
|
92745
92248
|
});
|
92746
|
-
var $
|
92249
|
+
var $id, $schema, additionalProperties, definitions, description, properties, required, title, type, sfdx_project_schema_default;
|
92747
92250
|
var init_sfdx_project_schema = __esm({
|
92748
92251
|
"node_modules/@salesforce/schemas/sfdx-project.schema.json"() {
|
92749
|
-
$schema = "http://json-schema.org/draft-07/schema#";
|
92750
92252
|
$id = "http://schemas.salesforce.com/sfdx-project.json";
|
92751
|
-
|
92752
|
-
description = "The properties and shape of the SFDX project";
|
92753
|
-
type = "object";
|
92253
|
+
$schema = "http://json-schema.org/draft-07/schema#";
|
92754
92254
|
additionalProperties = false;
|
92755
|
-
|
92756
|
-
|
92757
|
-
|
92758
|
-
|
92759
|
-
|
92760
|
-
|
92761
|
-
|
92762
|
-
description: "Package directories indicate which directories to target when syncing source to and from the scratch org. These directories can contain source from your managed package, unmanaged package, or unpackaged source, for example, ant tool or change set.",
|
92763
|
-
$comment: "The properties ancestorId & ancestorVersion cannot be included together, but this schema optimizes for VS Code code completion rather than pure validation.",
|
92764
|
-
minItems: 1,
|
92765
|
-
items: {
|
92766
|
-
type: "object",
|
92767
|
-
dependencies: {
|
92768
|
-
ancestorId: [
|
92769
|
-
"package",
|
92770
|
-
"versionNumber"
|
92771
|
-
],
|
92772
|
-
ancestorVersion: [
|
92773
|
-
"package",
|
92774
|
-
"versionNumber"
|
92775
|
-
],
|
92776
|
-
apexTestAccess: [
|
92777
|
-
"package",
|
92778
|
-
"versionNumber"
|
92779
|
-
],
|
92780
|
-
packageMetadataAccess: [
|
92781
|
-
"package",
|
92782
|
-
"versionNumber"
|
92783
|
-
],
|
92784
|
-
definitionFile: [
|
92785
|
-
"package",
|
92786
|
-
"versionNumber"
|
92787
|
-
],
|
92788
|
-
dependencies: [
|
92789
|
-
"package",
|
92790
|
-
"versionNumber"
|
92791
|
-
],
|
92792
|
-
functions: [
|
92793
|
-
"package",
|
92794
|
-
"versionNumber"
|
92795
|
-
],
|
92796
|
-
package: [
|
92797
|
-
"versionNumber"
|
92798
|
-
],
|
92799
|
-
postInstallScript: [
|
92800
|
-
"package",
|
92801
|
-
"versionNumber"
|
92802
|
-
],
|
92803
|
-
postInstallUrl: [
|
92804
|
-
"package",
|
92805
|
-
"versionNumber"
|
92806
|
-
],
|
92807
|
-
releaseNotesUrl: [
|
92808
|
-
"package",
|
92809
|
-
"versionNumber"
|
92810
|
-
],
|
92811
|
-
seedMetadata: [
|
92812
|
-
"package",
|
92813
|
-
"versionNumber"
|
92814
|
-
],
|
92815
|
-
uninstallScript: [
|
92816
|
-
"package",
|
92817
|
-
"versionNumber"
|
92818
|
-
],
|
92819
|
-
unpackagedMetadata: [
|
92820
|
-
"package",
|
92821
|
-
"versionNumber"
|
92822
|
-
],
|
92823
|
-
versionDescription: [
|
92824
|
-
"package",
|
92825
|
-
"versionNumber"
|
92826
|
-
],
|
92827
|
-
versionName: [
|
92828
|
-
"package",
|
92829
|
-
"versionNumber"
|
92830
|
-
],
|
92831
|
-
versionNumber: [
|
92832
|
-
"package"
|
92833
|
-
]
|
92834
|
-
},
|
92835
|
-
required: [
|
92836
|
-
"path"
|
92837
|
-
],
|
92838
|
-
additionalProperties: false,
|
92839
|
-
properties: {
|
92840
|
-
ancestorId: {
|
92841
|
-
$ref: "#/definitions/packageDirectory.ancestorId"
|
92842
|
-
},
|
92843
|
-
ancestorVersion: {
|
92844
|
-
$ref: "#/definitions/packageDirectory.ancestorVersion"
|
92845
|
-
},
|
92846
|
-
apexTestAccess: {
|
92847
|
-
$ref: "#/definitions/packageDirectory.apexTestAccess"
|
92848
|
-
},
|
92849
|
-
packageMetadataAccess: {
|
92850
|
-
$ref: "#/definitions/packageDirectory.packageMetadataAccess"
|
92851
|
-
},
|
92852
|
-
default: {
|
92853
|
-
$ref: "#/definitions/packageDirectory.default"
|
92854
|
-
},
|
92855
|
-
definitionFile: {
|
92856
|
-
$ref: "#/definitions/packageDirectory.definitionFile"
|
92857
|
-
},
|
92858
|
-
dependencies: {
|
92859
|
-
$ref: "#/definitions/packageDirectory.dependencies"
|
92860
|
-
},
|
92861
|
-
functions: {
|
92862
|
-
$ref: "#/definitions/packageDirectory.functions"
|
92863
|
-
},
|
92864
|
-
includeProfileUserLicenses: {
|
92865
|
-
$ref: "#/definitions/packageDirectory.includeProfileUserLicenses"
|
92866
|
-
},
|
92867
|
-
package: {
|
92868
|
-
$ref: "#/definitions/packageDirectory.package"
|
92869
|
-
},
|
92870
|
-
path: {
|
92871
|
-
$ref: "#/definitions/packageDirectory.path"
|
92872
|
-
},
|
92873
|
-
postInstallScript: {
|
92874
|
-
$ref: "#/definitions/packageDirectory.postInstallScript"
|
92875
|
-
},
|
92876
|
-
postInstallUrl: {
|
92877
|
-
$ref: "#/definitions/packageDirectory.postInstallUrl"
|
92878
|
-
},
|
92879
|
-
releaseNotesUrl: {
|
92880
|
-
$ref: "#/definitions/packageDirectory.releaseNotesUrl"
|
92881
|
-
},
|
92882
|
-
scopeProfiles: {
|
92883
|
-
$ref: "#/definitions/packageDirectory.scopeProfiles"
|
92884
|
-
},
|
92885
|
-
seedMetadata: {
|
92886
|
-
$ref: "#/definitions/packageDirectory.seedMetadata"
|
92887
|
-
},
|
92888
|
-
uninstallScript: {
|
92889
|
-
$ref: "#/definitions/packageDirectory.uninstallScript"
|
92890
|
-
},
|
92891
|
-
unpackagedMetadata: {
|
92892
|
-
$ref: "#/definitions/packageDirectory.unpackagedMetadata"
|
92893
|
-
},
|
92894
|
-
versionDescription: {
|
92895
|
-
$ref: "#/definitions/packageDirectory.versionDescription"
|
92255
|
+
definitions = {
|
92256
|
+
MetadataRegistry: {
|
92257
|
+
additionalProperties: false,
|
92258
|
+
properties: {
|
92259
|
+
childTypes: {
|
92260
|
+
additionalProperties: {
|
92261
|
+
type: "string"
|
92896
92262
|
},
|
92897
|
-
|
92898
|
-
|
92263
|
+
type: "object"
|
92264
|
+
},
|
92265
|
+
strictDirectoryNames: {
|
92266
|
+
additionalProperties: {
|
92267
|
+
type: "string"
|
92899
92268
|
},
|
92900
|
-
|
92901
|
-
|
92269
|
+
type: "object"
|
92270
|
+
},
|
92271
|
+
suffixes: {
|
92272
|
+
additionalProperties: {
|
92273
|
+
type: "string"
|
92902
92274
|
},
|
92903
|
-
|
92904
|
-
|
92905
|
-
}
|
92906
|
-
}
|
92907
|
-
}
|
92908
|
-
},
|
92909
|
-
name: {
|
92910
|
-
title: "name",
|
92911
|
-
type: "string",
|
92912
|
-
description: "The name of your Salesforce project."
|
92913
|
-
},
|
92914
|
-
namespace: {
|
92915
|
-
title: "Namespace",
|
92916
|
-
type: "string",
|
92917
|
-
description: "A namespace is an alphanumeric identifier that distinguishes your package and its contents from other packages in your customer\u2019s org. For steps on how to register a namespace and link it to your Dev Hub org, see Create and Register Your Namespace for Second-Generation Managed Packages on developer.salesforce.com. If you\u2019re creating an unlocked package, you can create it without a namespace."
|
92918
|
-
},
|
92919
|
-
sourceApiVersion: {
|
92920
|
-
title: "Source API Version",
|
92921
|
-
type: "string",
|
92922
|
-
description: "The API version that the source is compatible with. By default it matches the API version.",
|
92923
|
-
default: "48.0"
|
92924
|
-
},
|
92925
|
-
sfdcLoginUrl: {
|
92926
|
-
title: "SFDC Login URL",
|
92927
|
-
type: "string",
|
92928
|
-
description: "The login URL that the force:auth commands use. If not specified, the default is login.salesforce.com. Override the default value if you want users to authorize to a specific Salesforce instance. For example, if you want to authorize into a sandbox org, set this parameter to test.salesforce.com.",
|
92929
|
-
default: "https://login.salesforce.com"
|
92930
|
-
},
|
92931
|
-
signupTargetLoginUrl: {
|
92932
|
-
type: "string",
|
92933
|
-
description: "The url that is used when creating new scratch orgs. This is typically only used for testing prerelease environments."
|
92934
|
-
},
|
92935
|
-
oauthLocalPort: {
|
92936
|
-
type: "number",
|
92937
|
-
description: "By default, the OAuth port is 1717. However, change this port if this port is already in use, and you plan to create a connected app in your Dev Hub org to support JWT-based authorization."
|
92938
|
-
},
|
92939
|
-
plugins: {
|
92940
|
-
title: "CLI Plugins custom settings",
|
92941
|
-
type: "object",
|
92942
|
-
description: "Salesforce CLI plugin configurations used with this project.",
|
92943
|
-
additionalProperties: true
|
92944
|
-
},
|
92945
|
-
packageAliases: {
|
92946
|
-
title: "Aliases for packaging ids",
|
92947
|
-
type: "object",
|
92948
|
-
description: "The Salesforce CLI updates this file with the aliases when you create a package or package version. You can also manually update this section for existing packages or package versions. You can use the alias instead of the cryptic package ID when running CLI force:package commands.",
|
92949
|
-
patternProperties: {
|
92950
|
-
"^[ -~]+$": {
|
92951
|
-
type: "string",
|
92952
|
-
pattern: "^(0Ho|033|05i|04t)([a-zA-Z0-9]{15}|[a-zA-Z0-9]{12})$"
|
92953
|
-
}
|
92954
|
-
}
|
92955
|
-
},
|
92956
|
-
registryCustomizations: {
|
92957
|
-
type: "object",
|
92958
|
-
properties: {
|
92275
|
+
type: "object"
|
92276
|
+
},
|
92959
92277
|
types: {
|
92960
|
-
type: "object",
|
92961
92278
|
additionalProperties: {
|
92962
|
-
|
92279
|
+
additionalProperties: false,
|
92963
92280
|
properties: {
|
92964
|
-
|
92281
|
+
aliasFor: {
|
92965
92282
|
type: "string"
|
92966
92283
|
},
|
92967
|
-
|
92968
|
-
|
92284
|
+
children: {
|
92285
|
+
additionalProperties: false,
|
92286
|
+
properties: {
|
92287
|
+
directories: {
|
92288
|
+
additionalProperties: {
|
92289
|
+
type: "string"
|
92290
|
+
},
|
92291
|
+
type: "object"
|
92292
|
+
},
|
92293
|
+
suffixes: {
|
92294
|
+
additionalProperties: {
|
92295
|
+
type: "string"
|
92296
|
+
},
|
92297
|
+
type: "object"
|
92298
|
+
},
|
92299
|
+
types: {
|
92300
|
+
$ref: "#/definitions/alias-147831185-257-1138-147831185-0-1202"
|
92301
|
+
}
|
92302
|
+
},
|
92303
|
+
required: [
|
92304
|
+
"types",
|
92305
|
+
"suffixes"
|
92306
|
+
],
|
92307
|
+
type: "object"
|
92969
92308
|
},
|
92970
92309
|
directoryName: {
|
92971
92310
|
type: "string"
|
92972
92311
|
},
|
92973
|
-
suffix: {
|
92974
|
-
type: "string"
|
92975
|
-
},
|
92976
|
-
strictDirectoryName: {
|
92977
|
-
type: "boolean"
|
92978
|
-
},
|
92979
|
-
ignoreParsedFullName: {
|
92980
|
-
type: "boolean"
|
92981
|
-
},
|
92982
92312
|
folderContentType: {
|
92983
92313
|
type: "string"
|
92984
92314
|
},
|
92985
92315
|
folderType: {
|
92986
92316
|
type: "string"
|
92987
92317
|
},
|
92988
|
-
|
92989
|
-
type: "string"
|
92990
|
-
},
|
92991
|
-
uniqueIdElement: {
|
92318
|
+
id: {
|
92992
92319
|
type: "string"
|
92993
92320
|
},
|
92994
|
-
|
92995
|
-
type: "boolean"
|
92996
|
-
},
|
92997
|
-
unaddressableWithoutParent: {
|
92998
|
-
type: "boolean"
|
92999
|
-
},
|
93000
|
-
supportsWildcardAndName: {
|
92321
|
+
ignoreParsedFullName: {
|
93001
92322
|
type: "boolean"
|
93002
92323
|
},
|
93003
|
-
|
92324
|
+
isAddressable: {
|
93004
92325
|
type: "boolean"
|
93005
92326
|
},
|
93006
|
-
|
92327
|
+
name: {
|
93007
92328
|
type: "string"
|
93008
92329
|
},
|
93009
|
-
children: {
|
93010
|
-
type: "object",
|
93011
|
-
additionalProperties: {
|
93012
|
-
type: "object",
|
93013
|
-
properties: {
|
93014
|
-
id: {
|
93015
|
-
type: "string"
|
93016
|
-
},
|
93017
|
-
name: {
|
93018
|
-
type: "string"
|
93019
|
-
},
|
93020
|
-
directoryName: {
|
93021
|
-
type: "string"
|
93022
|
-
},
|
93023
|
-
suffix: {
|
93024
|
-
type: "string"
|
93025
|
-
},
|
93026
|
-
strictDirectoryName: {
|
93027
|
-
type: "boolean"
|
93028
|
-
},
|
93029
|
-
ignoreParsedFullName: {
|
93030
|
-
type: "boolean"
|
93031
|
-
},
|
93032
|
-
folderContentType: {
|
93033
|
-
type: "string"
|
93034
|
-
},
|
93035
|
-
folderType: {
|
93036
|
-
type: "string"
|
93037
|
-
},
|
93038
|
-
xmlElementName: {
|
93039
|
-
type: "string"
|
93040
|
-
},
|
93041
|
-
uniqueIdElement: {
|
93042
|
-
type: "string"
|
93043
|
-
},
|
93044
|
-
isAddressable: {
|
93045
|
-
type: "boolean"
|
93046
|
-
},
|
93047
|
-
unaddressableWithoutParent: {
|
93048
|
-
type: "boolean"
|
93049
|
-
},
|
93050
|
-
supportsWildcardAndName: {
|
93051
|
-
type: "boolean"
|
93052
|
-
},
|
93053
|
-
supportsPartialDelete: {
|
93054
|
-
type: "boolean"
|
93055
|
-
},
|
93056
|
-
aliasFor: {
|
93057
|
-
type: "string"
|
93058
|
-
},
|
93059
|
-
strategies: {
|
93060
|
-
type: "object",
|
93061
|
-
properties: {
|
93062
|
-
adapter: {
|
93063
|
-
type: "string",
|
93064
|
-
enum: [
|
93065
|
-
"mixedContent",
|
93066
|
-
"matchingContentFile",
|
93067
|
-
"decomposed",
|
93068
|
-
"bundle",
|
93069
|
-
"default"
|
93070
|
-
]
|
93071
|
-
},
|
93072
|
-
transformer: {
|
93073
|
-
type: "string",
|
93074
|
-
enum: [
|
93075
|
-
"decomposed",
|
93076
|
-
"staticResource",
|
93077
|
-
"standard"
|
93078
|
-
]
|
93079
|
-
},
|
93080
|
-
decomposition: {
|
93081
|
-
type: "string",
|
93082
|
-
enum: [
|
93083
|
-
"topLevel",
|
93084
|
-
"folderPerType"
|
93085
|
-
]
|
93086
|
-
}
|
93087
|
-
},
|
93088
|
-
required: [
|
93089
|
-
"adapter"
|
93090
|
-
],
|
93091
|
-
additionalProperties: false
|
93092
|
-
}
|
93093
|
-
},
|
93094
|
-
additionalProperties: true
|
93095
|
-
}
|
93096
|
-
},
|
93097
92330
|
strategies: {
|
93098
|
-
|
92331
|
+
additionalProperties: false,
|
93099
92332
|
properties: {
|
93100
92333
|
adapter: {
|
93101
|
-
type: "string",
|
93102
92334
|
enum: [
|
93103
92335
|
"mixedContent",
|
93104
92336
|
"matchingContentFile",
|
93105
92337
|
"decomposed",
|
93106
92338
|
"bundle",
|
93107
92339
|
"default"
|
93108
|
-
]
|
92340
|
+
],
|
92341
|
+
type: "string"
|
92342
|
+
},
|
92343
|
+
decomposition: {
|
92344
|
+
enum: [
|
92345
|
+
"topLevel",
|
92346
|
+
"folderPerType"
|
92347
|
+
],
|
92348
|
+
type: "string"
|
93109
92349
|
},
|
93110
92350
|
transformer: {
|
93111
|
-
type: "string",
|
93112
92351
|
enum: [
|
93113
92352
|
"decomposed",
|
93114
92353
|
"staticResource",
|
93115
92354
|
"standard"
|
93116
|
-
]
|
93117
|
-
|
93118
|
-
decomposition: {
|
93119
|
-
type: "string",
|
93120
|
-
enum: [
|
93121
|
-
"topLevel",
|
93122
|
-
"folderPerType"
|
93123
|
-
]
|
92355
|
+
],
|
92356
|
+
type: "string"
|
93124
92357
|
}
|
93125
92358
|
},
|
93126
92359
|
required: [
|
93127
92360
|
"adapter"
|
93128
92361
|
],
|
93129
|
-
|
92362
|
+
type: "object"
|
92363
|
+
},
|
92364
|
+
strictDirectoryName: {
|
92365
|
+
type: "boolean"
|
92366
|
+
},
|
92367
|
+
suffix: {
|
92368
|
+
type: "string"
|
92369
|
+
},
|
92370
|
+
supportsPartialDelete: {
|
92371
|
+
type: "boolean"
|
92372
|
+
},
|
92373
|
+
supportsWildcardAndName: {
|
92374
|
+
type: "boolean"
|
92375
|
+
},
|
92376
|
+
unaddressableWithoutParent: {
|
92377
|
+
type: "boolean"
|
92378
|
+
},
|
92379
|
+
uniqueIdElement: {
|
92380
|
+
type: "string"
|
92381
|
+
},
|
92382
|
+
xmlElementName: {
|
92383
|
+
type: "string"
|
93130
92384
|
}
|
93131
92385
|
},
|
93132
92386
|
required: [
|
@@ -93134,26 +92388,9 @@ var init_sfdx_project_schema = __esm({
|
|
93134
92388
|
"name",
|
93135
92389
|
"directoryName"
|
93136
92390
|
],
|
93137
|
-
|
93138
|
-
}
|
93139
|
-
|
93140
|
-
suffixes: {
|
93141
|
-
type: "object",
|
93142
|
-
additionalProperties: {
|
93143
|
-
type: "string"
|
93144
|
-
}
|
93145
|
-
},
|
93146
|
-
strictDirectoryNames: {
|
93147
|
-
type: "object",
|
93148
|
-
additionalProperties: {
|
93149
|
-
type: "string"
|
93150
|
-
}
|
93151
|
-
},
|
93152
|
-
childTypes: {
|
93153
|
-
type: "object",
|
93154
|
-
additionalProperties: {
|
93155
|
-
type: "string"
|
93156
|
-
}
|
92391
|
+
type: "object"
|
92392
|
+
},
|
92393
|
+
type: "object"
|
93157
92394
|
}
|
93158
92395
|
},
|
93159
92396
|
required: [
|
@@ -93162,628 +92399,824 @@ var init_sfdx_project_schema = __esm({
|
|
93162
92399
|
"strictDirectoryNames",
|
93163
92400
|
"childTypes"
|
93164
92401
|
],
|
93165
|
-
|
93166
|
-
title: "Fully customizable controls over how metadata types are decomposed",
|
93167
|
-
description: "Gives full control to the user to specify everything they can for controlling metadata type's decomposition"
|
92402
|
+
type: "object"
|
93168
92403
|
},
|
93169
|
-
|
93170
|
-
|
93171
|
-
|
93172
|
-
|
93173
|
-
|
93174
|
-
|
93175
|
-
|
92404
|
+
PackageDir: {
|
92405
|
+
anyOf: [
|
92406
|
+
{
|
92407
|
+
additionalProperties: false,
|
92408
|
+
description: "type required just for projects, regardless of 1gp/2gp package use",
|
92409
|
+
properties: {
|
92410
|
+
default: {
|
92411
|
+
default: true,
|
92412
|
+
description: "If you have specified more than one path, include this parameter for the default path to indicate which is the default package directory.",
|
92413
|
+
title: "default",
|
92414
|
+
type: "boolean"
|
92415
|
+
},
|
92416
|
+
path: {
|
92417
|
+
description: "If you don\u2019t specify a path, the Salesforce CLI uses a placeholder when you create a package.",
|
92418
|
+
title: "Path",
|
92419
|
+
type: "string"
|
92420
|
+
}
|
92421
|
+
},
|
92422
|
+
required: [
|
92423
|
+
"path"
|
92424
|
+
],
|
92425
|
+
type: "object"
|
92426
|
+
},
|
92427
|
+
{
|
92428
|
+
$ref: "#/definitions/PackagePackageDir"
|
92429
|
+
}
|
92430
|
+
]
|
93176
92431
|
},
|
93177
|
-
|
93178
|
-
|
93179
|
-
type: "
|
93180
|
-
|
93181
|
-
|
93182
|
-
|
93183
|
-
|
93184
|
-
|
93185
|
-
|
93186
|
-
|
93187
|
-
|
93188
|
-
|
93189
|
-
|
93190
|
-
|
93191
|
-
|
93192
|
-
|
93193
|
-
|
93194
|
-
|
93195
|
-
|
93196
|
-
|
93197
|
-
|
93198
|
-
|
93199
|
-
|
93200
|
-
|
93201
|
-
|
93202
|
-
|
93203
|
-
|
93204
|
-
|
93205
|
-
|
93206
|
-
|
92432
|
+
PackageDirDependency: {
|
92433
|
+
additionalProperties: {},
|
92434
|
+
description: "from packaging library. Where does this go? export type PackageDescriptorJson = Partial<NamedPackageDir> & Partial<{ - id: string; - features: string[]; - orgPreferences: string[]; - snapshot: string; apexTestAccess: { permissionSets: string[] | string; permissionSetLicenses: string[] | string }; - permissionSetNames: string[]; - permissionSetLicenseDeveloperNames: string[]; - branch: string; subscriberPackageVersionId: string; packageId: string; versionName: string; language?: string; }>;",
|
92435
|
+
properties: {
|
92436
|
+
branch: {
|
92437
|
+
type: "string"
|
92438
|
+
},
|
92439
|
+
package: {
|
92440
|
+
type: "string"
|
92441
|
+
},
|
92442
|
+
versionNumber: {
|
92443
|
+
type: "string"
|
92444
|
+
}
|
92445
|
+
},
|
92446
|
+
required: [
|
92447
|
+
"package"
|
92448
|
+
],
|
92449
|
+
type: "object"
|
92450
|
+
},
|
92451
|
+
PackagePackageDir: {
|
92452
|
+
additionalProperties: false,
|
92453
|
+
description: 'has the "full" info used for packaging.',
|
92454
|
+
properties: {
|
92455
|
+
ancestorId: {
|
92456
|
+
description: "The ancestor that\u2019s the immediate parent of the version that you\u2019re creating. The package version ID to supply starts with '05i'.",
|
92457
|
+
title: "Ancestor ID",
|
92458
|
+
type: "string"
|
92459
|
+
},
|
92460
|
+
ancestorVersion: {
|
92461
|
+
description: "The ancestor that\u2019s the immediate parent of the version that you\u2019re creating. The ancestor version uses the format major.minor.patch.build.",
|
92462
|
+
title: "Ancestor Version",
|
92463
|
+
type: "string"
|
92464
|
+
},
|
92465
|
+
apexTestAccess: {
|
92466
|
+
additionalProperties: false,
|
92467
|
+
description: "Additional access that should be granted to the user when running package Apex tests",
|
92468
|
+
properties: {
|
92469
|
+
permissionSetLicenses: {
|
92470
|
+
anyOf: [
|
92471
|
+
{
|
92472
|
+
items: {
|
92473
|
+
type: "string"
|
93207
92474
|
},
|
93208
|
-
|
93209
|
-
|
93210
|
-
|
93211
|
-
|
93212
|
-
additionalProperties: false
|
92475
|
+
type: "array"
|
92476
|
+
},
|
92477
|
+
{
|
92478
|
+
type: "string"
|
93213
92479
|
}
|
93214
|
-
|
92480
|
+
],
|
92481
|
+
description: "The list of permission sets licenses to enable while running Apex tests",
|
92482
|
+
title: "Permission Set Licenses"
|
93215
92483
|
},
|
93216
|
-
|
93217
|
-
|
93218
|
-
|
93219
|
-
|
93220
|
-
|
93221
|
-
},
|
93222
|
-
{
|
93223
|
-
type: "object",
|
93224
|
-
additionalProperties: false,
|
93225
|
-
properties: {
|
93226
|
-
replaceWithEnv: {
|
93227
|
-
type: "string"
|
93228
|
-
},
|
93229
|
-
allowUnsetEnvVariable: {
|
93230
|
-
type: "boolean"
|
93231
|
-
},
|
93232
|
-
stringToReplace: {
|
93233
|
-
type: "string"
|
93234
|
-
},
|
93235
|
-
filename: {
|
93236
|
-
type: "string"
|
93237
|
-
},
|
93238
|
-
replaceWhenEnv: {
|
93239
|
-
type: "array",
|
93240
|
-
items: {
|
93241
|
-
type: "object",
|
93242
|
-
properties: {
|
93243
|
-
env: {
|
93244
|
-
type: "string"
|
93245
|
-
},
|
93246
|
-
value: {
|
93247
|
-
type: "string"
|
93248
|
-
}
|
92484
|
+
permissionSets: {
|
92485
|
+
anyOf: [
|
92486
|
+
{
|
92487
|
+
items: {
|
92488
|
+
type: "string"
|
93249
92489
|
},
|
93250
|
-
|
93251
|
-
|
93252
|
-
|
93253
|
-
|
93254
|
-
additionalProperties: false
|
92490
|
+
type: "array"
|
92491
|
+
},
|
92492
|
+
{
|
92493
|
+
type: "string"
|
93255
92494
|
}
|
93256
|
-
|
93257
|
-
|
93258
|
-
|
93259
|
-
|
93260
|
-
"replaceWithEnv",
|
93261
|
-
"stringToReplace"
|
93262
|
-
]
|
92495
|
+
],
|
92496
|
+
description: "The list of permission sets to enable while running Apex tests",
|
92497
|
+
title: "Permission Sets"
|
92498
|
+
}
|
93263
92499
|
},
|
93264
|
-
|
93265
|
-
|
93266
|
-
|
93267
|
-
|
93268
|
-
|
93269
|
-
|
93270
|
-
|
93271
|
-
|
93272
|
-
|
93273
|
-
|
93274
|
-
|
93275
|
-
|
93276
|
-
|
93277
|
-
|
93278
|
-
|
93279
|
-
|
93280
|
-
|
93281
|
-
|
93282
|
-
|
93283
|
-
|
93284
|
-
|
93285
|
-
|
93286
|
-
|
93287
|
-
|
92500
|
+
required: [
|
92501
|
+
"permissionSets",
|
92502
|
+
"permissionSetLicenses"
|
92503
|
+
],
|
92504
|
+
type: "object"
|
92505
|
+
},
|
92506
|
+
default: {
|
92507
|
+
default: true,
|
92508
|
+
description: "If you have specified more than one path, include this parameter for the default path to indicate which is the default package directory.",
|
92509
|
+
title: "default",
|
92510
|
+
type: "boolean"
|
92511
|
+
},
|
92512
|
+
definitionFile: {
|
92513
|
+
description: "Reference an external .json file to specify the features and org preferences required for the metadata of your package, such as the scratch org definition.",
|
92514
|
+
title: "Definition File",
|
92515
|
+
type: "string"
|
92516
|
+
},
|
92517
|
+
dependencies: {
|
92518
|
+
description: "To specify dependencies for 2GP within the same Dev Hub, use either the package version alias or a combination of the package name and the version number.",
|
92519
|
+
items: {
|
92520
|
+
$ref: "#/definitions/PackageDirDependency"
|
92521
|
+
},
|
92522
|
+
type: "array"
|
92523
|
+
},
|
92524
|
+
functions: {
|
92525
|
+
deprecated: true,
|
92526
|
+
items: {
|
92527
|
+
type: "string"
|
92528
|
+
},
|
92529
|
+
type: "array"
|
92530
|
+
},
|
92531
|
+
includeProfileUserLicenses: {
|
92532
|
+
default: false,
|
92533
|
+
description: "Whether to include <userLicense> elements in profile metadata. Defaults to false.",
|
92534
|
+
title: "Include Profile User Licenses",
|
92535
|
+
type: "boolean"
|
92536
|
+
},
|
92537
|
+
package: {
|
92538
|
+
description: "The package name you specified when creating the package.",
|
92539
|
+
title: "Package Identifier",
|
92540
|
+
type: "string"
|
92541
|
+
},
|
92542
|
+
packageMetadataAccess: {
|
92543
|
+
additionalProperties: false,
|
92544
|
+
description: "Additional access that should be granted to the user while deploying package metadata, available in Salesforce API version 61.0 and above",
|
92545
|
+
properties: {
|
92546
|
+
permissionSetLicenses: {
|
92547
|
+
anyOf: [
|
92548
|
+
{
|
92549
|
+
type: "string"
|
92550
|
+
},
|
92551
|
+
{
|
92552
|
+
items: {
|
92553
|
+
type: "string"
|
93288
92554
|
},
|
93289
|
-
|
93290
|
-
"env",
|
93291
|
-
"value"
|
93292
|
-
],
|
93293
|
-
additionalProperties: false
|
92555
|
+
type: "array"
|
93294
92556
|
}
|
93295
|
-
|
92557
|
+
],
|
92558
|
+
description: "The list of permission set licenses to enable while deploying package metadata",
|
92559
|
+
title: "Permission Set Licenses"
|
93296
92560
|
},
|
93297
|
-
|
93298
|
-
|
93299
|
-
|
93300
|
-
|
93301
|
-
|
93302
|
-
|
93303
|
-
|
93304
|
-
|
93305
|
-
additionalProperties: false,
|
93306
|
-
properties: {
|
93307
|
-
replaceWithEnv: {
|
93308
|
-
type: "string"
|
93309
|
-
},
|
93310
|
-
allowUnsetEnvVariable: {
|
93311
|
-
type: "boolean"
|
93312
|
-
},
|
93313
|
-
regexToReplace: {
|
93314
|
-
type: "string"
|
93315
|
-
},
|
93316
|
-
filename: {
|
93317
|
-
type: "string"
|
93318
|
-
},
|
93319
|
-
replaceWhenEnv: {
|
93320
|
-
type: "array",
|
93321
|
-
items: {
|
93322
|
-
type: "object",
|
93323
|
-
properties: {
|
93324
|
-
env: {
|
93325
|
-
type: "string"
|
93326
|
-
},
|
93327
|
-
value: {
|
93328
|
-
type: "string"
|
93329
|
-
}
|
92561
|
+
permissionSets: {
|
92562
|
+
anyOf: [
|
92563
|
+
{
|
92564
|
+
type: "string"
|
92565
|
+
},
|
92566
|
+
{
|
92567
|
+
items: {
|
92568
|
+
type: "string"
|
93330
92569
|
},
|
93331
|
-
|
93332
|
-
"env",
|
93333
|
-
"value"
|
93334
|
-
],
|
93335
|
-
additionalProperties: false
|
92570
|
+
type: "array"
|
93336
92571
|
}
|
93337
|
-
|
93338
|
-
|
93339
|
-
|
93340
|
-
|
93341
|
-
"regexToReplace",
|
93342
|
-
"replaceWithEnv"
|
93343
|
-
]
|
92572
|
+
],
|
92573
|
+
description: "The list of permission sets to enable while deploying package metadata",
|
92574
|
+
title: "Permission Sets"
|
92575
|
+
}
|
93344
92576
|
},
|
93345
|
-
|
93346
|
-
|
93347
|
-
|
93348
|
-
|
93349
|
-
|
93350
|
-
|
93351
|
-
|
93352
|
-
|
93353
|
-
|
92577
|
+
required: [
|
92578
|
+
"permissionSets",
|
92579
|
+
"permissionSetLicenses"
|
92580
|
+
],
|
92581
|
+
title: "Package Metadata Access",
|
92582
|
+
type: "object"
|
92583
|
+
},
|
92584
|
+
path: {
|
92585
|
+
description: "If you don\u2019t specify a path, the Salesforce CLI uses a placeholder when you create a package.",
|
92586
|
+
title: "Path",
|
92587
|
+
type: "string"
|
92588
|
+
},
|
92589
|
+
postInstallScript: {
|
92590
|
+
description: "The post install script.",
|
92591
|
+
title: "Post Install Script",
|
92592
|
+
type: "string"
|
92593
|
+
},
|
92594
|
+
postInstallUrl: {
|
92595
|
+
description: "The post install url.",
|
92596
|
+
title: "Post Install Url",
|
92597
|
+
type: "string"
|
92598
|
+
},
|
92599
|
+
releaseNotesUrl: {
|
92600
|
+
description: "The release notes url.",
|
92601
|
+
title: "Release Notes Url",
|
92602
|
+
type: "string"
|
92603
|
+
},
|
92604
|
+
scopeProfiles: {
|
92605
|
+
default: false,
|
92606
|
+
description: "Determines whether to include profile settings from only the directory being packaged (true), or whether to include profile settings from all package directories (false). If not specified, the default is false.",
|
92607
|
+
title: "Scope Profiles",
|
92608
|
+
type: "boolean"
|
92609
|
+
},
|
92610
|
+
seedMetadata: {
|
92611
|
+
additionalProperties: false,
|
92612
|
+
description: "Metadata not meant to be packaged, but deployed before deploying packaged metadata",
|
92613
|
+
properties: {
|
92614
|
+
path: {
|
92615
|
+
description: "The path name of the package directory containing the seed metadata",
|
92616
|
+
title: "Path",
|
92617
|
+
type: "string"
|
92618
|
+
}
|
92619
|
+
},
|
92620
|
+
required: [
|
92621
|
+
"path"
|
92622
|
+
],
|
92623
|
+
title: "Seed Metadata",
|
92624
|
+
type: "object"
|
92625
|
+
},
|
92626
|
+
uninstallScript: {
|
92627
|
+
description: "The uninstall script.",
|
92628
|
+
title: "Uninstall Script",
|
92629
|
+
type: "string"
|
92630
|
+
},
|
92631
|
+
unpackagedMetadata: {
|
92632
|
+
additionalProperties: false,
|
92633
|
+
description: "Metadata not meant to be packaged, but deployed when testing packaged metadata",
|
92634
|
+
properties: {
|
92635
|
+
path: {
|
92636
|
+
description: "The path name of the package directory containing the unpackaged metadata",
|
92637
|
+
title: "Path",
|
92638
|
+
type: "string"
|
92639
|
+
}
|
92640
|
+
},
|
92641
|
+
required: [
|
92642
|
+
"path"
|
92643
|
+
],
|
92644
|
+
title: "Unpackaged Metadata",
|
92645
|
+
type: "object"
|
92646
|
+
},
|
92647
|
+
versionDescription: {
|
92648
|
+
description: "Human readable version information, format not specified.",
|
92649
|
+
title: "Version Description",
|
92650
|
+
type: "string"
|
92651
|
+
},
|
92652
|
+
versionName: {
|
92653
|
+
description: "If not specified, the CLI uses versionNumber as the version name.",
|
92654
|
+
title: "Version Name",
|
92655
|
+
type: "string"
|
92656
|
+
},
|
92657
|
+
versionNumber: {
|
92658
|
+
description: "Version numbers are formatted as major.minor.patch.build. For example, 1.2.1.8.",
|
92659
|
+
title: "Version Number",
|
92660
|
+
type: "string"
|
92661
|
+
}
|
92662
|
+
},
|
92663
|
+
required: [
|
92664
|
+
"package",
|
92665
|
+
"path",
|
92666
|
+
"versionNumber"
|
92667
|
+
],
|
92668
|
+
type: "object"
|
92669
|
+
},
|
92670
|
+
RegistryPresets: {
|
92671
|
+
items: {
|
92672
|
+
type: "string"
|
92673
|
+
},
|
92674
|
+
type: "array"
|
92675
|
+
},
|
92676
|
+
Replacements: {
|
92677
|
+
anyOf: [
|
92678
|
+
{
|
92679
|
+
additionalProperties: false,
|
92680
|
+
properties: {
|
92681
|
+
filename: {
|
92682
|
+
type: "string"
|
92683
|
+
},
|
92684
|
+
replaceWhenEnv: {
|
92685
|
+
items: {
|
92686
|
+
additionalProperties: false,
|
92687
|
+
properties: {
|
92688
|
+
env: {
|
92689
|
+
type: "string"
|
92690
|
+
},
|
92691
|
+
value: {
|
92692
|
+
type: "string"
|
92693
|
+
}
|
92694
|
+
},
|
92695
|
+
required: [
|
92696
|
+
"env",
|
92697
|
+
"value"
|
92698
|
+
],
|
92699
|
+
type: "object"
|
93354
92700
|
},
|
93355
|
-
|
93356
|
-
|
92701
|
+
type: "array"
|
92702
|
+
},
|
92703
|
+
replaceWithFile: {
|
92704
|
+
type: "string"
|
92705
|
+
},
|
92706
|
+
stringToReplace: {
|
92707
|
+
type: "string"
|
92708
|
+
}
|
92709
|
+
},
|
92710
|
+
required: [
|
92711
|
+
"filename",
|
92712
|
+
"replaceWithFile",
|
92713
|
+
"stringToReplace"
|
92714
|
+
],
|
92715
|
+
type: "object"
|
92716
|
+
},
|
92717
|
+
{
|
92718
|
+
additionalProperties: false,
|
92719
|
+
properties: {
|
92720
|
+
allowUnsetEnvVariable: {
|
92721
|
+
type: "boolean"
|
92722
|
+
},
|
92723
|
+
filename: {
|
92724
|
+
type: "string"
|
92725
|
+
},
|
92726
|
+
replaceWhenEnv: {
|
92727
|
+
items: {
|
92728
|
+
additionalProperties: false,
|
92729
|
+
properties: {
|
92730
|
+
env: {
|
92731
|
+
type: "string"
|
92732
|
+
},
|
92733
|
+
value: {
|
92734
|
+
type: "string"
|
92735
|
+
}
|
92736
|
+
},
|
92737
|
+
required: [
|
92738
|
+
"env",
|
92739
|
+
"value"
|
92740
|
+
],
|
92741
|
+
type: "object"
|
93357
92742
|
},
|
93358
|
-
|
93359
|
-
|
93360
|
-
|
93361
|
-
|
93362
|
-
|
93363
|
-
|
93364
|
-
|
93365
|
-
|
93366
|
-
|
93367
|
-
|
93368
|
-
|
92743
|
+
type: "array"
|
92744
|
+
},
|
92745
|
+
replaceWithEnv: {
|
92746
|
+
type: "string"
|
92747
|
+
},
|
92748
|
+
stringToReplace: {
|
92749
|
+
type: "string"
|
92750
|
+
}
|
92751
|
+
},
|
92752
|
+
required: [
|
92753
|
+
"filename",
|
92754
|
+
"replaceWithEnv",
|
92755
|
+
"stringToReplace"
|
92756
|
+
],
|
92757
|
+
type: "object"
|
92758
|
+
},
|
92759
|
+
{
|
92760
|
+
additionalProperties: false,
|
92761
|
+
properties: {
|
92762
|
+
filename: {
|
92763
|
+
type: "string"
|
92764
|
+
},
|
92765
|
+
regexToReplace: {
|
92766
|
+
type: "string"
|
92767
|
+
},
|
92768
|
+
replaceWhenEnv: {
|
92769
|
+
items: {
|
92770
|
+
additionalProperties: false,
|
92771
|
+
properties: {
|
92772
|
+
env: {
|
92773
|
+
type: "string"
|
93369
92774
|
},
|
93370
|
-
|
93371
|
-
"
|
93372
|
-
|
93373
|
-
|
93374
|
-
|
93375
|
-
|
93376
|
-
|
92775
|
+
value: {
|
92776
|
+
type: "string"
|
92777
|
+
}
|
92778
|
+
},
|
92779
|
+
required: [
|
92780
|
+
"env",
|
92781
|
+
"value"
|
92782
|
+
],
|
92783
|
+
type: "object"
|
92784
|
+
},
|
92785
|
+
type: "array"
|
93377
92786
|
},
|
93378
|
-
|
93379
|
-
"
|
93380
|
-
|
93381
|
-
"stringToReplace"
|
93382
|
-
]
|
92787
|
+
replaceWithFile: {
|
92788
|
+
type: "string"
|
92789
|
+
}
|
93383
92790
|
},
|
93384
|
-
|
93385
|
-
|
93386
|
-
|
93387
|
-
|
93388
|
-
|
93389
|
-
|
92791
|
+
required: [
|
92792
|
+
"filename",
|
92793
|
+
"regexToReplace",
|
92794
|
+
"replaceWithFile"
|
92795
|
+
],
|
92796
|
+
type: "object"
|
92797
|
+
},
|
92798
|
+
{
|
92799
|
+
additionalProperties: false,
|
92800
|
+
properties: {
|
92801
|
+
allowUnsetEnvVariable: {
|
92802
|
+
type: "boolean"
|
92803
|
+
},
|
92804
|
+
filename: {
|
92805
|
+
type: "string"
|
92806
|
+
},
|
92807
|
+
regexToReplace: {
|
92808
|
+
type: "string"
|
92809
|
+
},
|
92810
|
+
replaceWhenEnv: {
|
92811
|
+
items: {
|
92812
|
+
additionalProperties: false,
|
92813
|
+
properties: {
|
92814
|
+
env: {
|
92815
|
+
type: "string"
|
92816
|
+
},
|
92817
|
+
value: {
|
92818
|
+
type: "string"
|
92819
|
+
}
|
92820
|
+
},
|
92821
|
+
required: [
|
92822
|
+
"env",
|
92823
|
+
"value"
|
92824
|
+
],
|
92825
|
+
type: "object"
|
93390
92826
|
},
|
93391
|
-
|
93392
|
-
|
92827
|
+
type: "array"
|
92828
|
+
},
|
92829
|
+
replaceWithEnv: {
|
92830
|
+
type: "string"
|
92831
|
+
}
|
92832
|
+
},
|
92833
|
+
required: [
|
92834
|
+
"filename",
|
92835
|
+
"regexToReplace",
|
92836
|
+
"replaceWithEnv"
|
92837
|
+
],
|
92838
|
+
type: "object"
|
92839
|
+
},
|
92840
|
+
{
|
92841
|
+
additionalProperties: false,
|
92842
|
+
properties: {
|
92843
|
+
glob: {
|
92844
|
+
type: "string"
|
92845
|
+
},
|
92846
|
+
replaceWhenEnv: {
|
92847
|
+
items: {
|
92848
|
+
additionalProperties: false,
|
92849
|
+
properties: {
|
92850
|
+
env: {
|
92851
|
+
type: "string"
|
92852
|
+
},
|
92853
|
+
value: {
|
92854
|
+
type: "string"
|
92855
|
+
}
|
92856
|
+
},
|
92857
|
+
required: [
|
92858
|
+
"env",
|
92859
|
+
"value"
|
92860
|
+
],
|
92861
|
+
type: "object"
|
93393
92862
|
},
|
93394
|
-
|
93395
|
-
|
92863
|
+
type: "array"
|
92864
|
+
},
|
92865
|
+
replaceWithFile: {
|
92866
|
+
type: "string"
|
92867
|
+
},
|
92868
|
+
stringToReplace: {
|
92869
|
+
type: "string"
|
92870
|
+
}
|
92871
|
+
},
|
92872
|
+
required: [
|
92873
|
+
"glob",
|
92874
|
+
"replaceWithFile",
|
92875
|
+
"stringToReplace"
|
92876
|
+
],
|
92877
|
+
type: "object"
|
92878
|
+
},
|
92879
|
+
{
|
92880
|
+
additionalProperties: false,
|
92881
|
+
properties: {
|
92882
|
+
allowUnsetEnvVariable: {
|
92883
|
+
type: "boolean"
|
92884
|
+
},
|
92885
|
+
glob: {
|
92886
|
+
type: "string"
|
92887
|
+
},
|
92888
|
+
replaceWhenEnv: {
|
92889
|
+
items: {
|
92890
|
+
additionalProperties: false,
|
92891
|
+
properties: {
|
92892
|
+
env: {
|
92893
|
+
type: "string"
|
92894
|
+
},
|
92895
|
+
value: {
|
92896
|
+
type: "string"
|
92897
|
+
}
|
92898
|
+
},
|
92899
|
+
required: [
|
92900
|
+
"env",
|
92901
|
+
"value"
|
92902
|
+
],
|
92903
|
+
type: "object"
|
93396
92904
|
},
|
93397
|
-
|
93398
|
-
|
92905
|
+
type: "array"
|
92906
|
+
},
|
92907
|
+
replaceWithEnv: {
|
92908
|
+
type: "string"
|
92909
|
+
},
|
92910
|
+
stringToReplace: {
|
92911
|
+
type: "string"
|
92912
|
+
}
|
92913
|
+
},
|
92914
|
+
required: [
|
92915
|
+
"glob",
|
92916
|
+
"replaceWithEnv",
|
92917
|
+
"stringToReplace"
|
92918
|
+
],
|
92919
|
+
type: "object"
|
92920
|
+
},
|
92921
|
+
{
|
92922
|
+
additionalProperties: false,
|
92923
|
+
properties: {
|
92924
|
+
glob: {
|
92925
|
+
type: "string"
|
92926
|
+
},
|
92927
|
+
regexToReplace: {
|
92928
|
+
type: "string"
|
92929
|
+
},
|
92930
|
+
replaceWhenEnv: {
|
92931
|
+
items: {
|
92932
|
+
additionalProperties: false,
|
92933
|
+
properties: {
|
92934
|
+
env: {
|
92935
|
+
type: "string"
|
92936
|
+
},
|
92937
|
+
value: {
|
92938
|
+
type: "string"
|
92939
|
+
}
|
92940
|
+
},
|
92941
|
+
required: [
|
92942
|
+
"env",
|
92943
|
+
"value"
|
92944
|
+
],
|
92945
|
+
type: "object"
|
93399
92946
|
},
|
93400
|
-
|
93401
|
-
|
93402
|
-
|
93403
|
-
|
93404
|
-
|
93405
|
-
|
93406
|
-
|
93407
|
-
|
93408
|
-
|
93409
|
-
|
93410
|
-
|
92947
|
+
type: "array"
|
92948
|
+
},
|
92949
|
+
replaceWithFile: {
|
92950
|
+
type: "string"
|
92951
|
+
}
|
92952
|
+
},
|
92953
|
+
required: [
|
92954
|
+
"glob",
|
92955
|
+
"regexToReplace",
|
92956
|
+
"replaceWithFile"
|
92957
|
+
],
|
92958
|
+
type: "object"
|
92959
|
+
},
|
92960
|
+
{
|
92961
|
+
additionalProperties: false,
|
92962
|
+
properties: {
|
92963
|
+
allowUnsetEnvVariable: {
|
92964
|
+
type: "boolean"
|
92965
|
+
},
|
92966
|
+
glob: {
|
92967
|
+
type: "string"
|
92968
|
+
},
|
92969
|
+
regexToReplace: {
|
92970
|
+
type: "string"
|
92971
|
+
},
|
92972
|
+
replaceWhenEnv: {
|
92973
|
+
items: {
|
92974
|
+
additionalProperties: false,
|
92975
|
+
properties: {
|
92976
|
+
env: {
|
92977
|
+
type: "string"
|
93411
92978
|
},
|
93412
|
-
|
93413
|
-
"
|
93414
|
-
|
93415
|
-
|
93416
|
-
|
93417
|
-
|
93418
|
-
|
92979
|
+
value: {
|
92980
|
+
type: "string"
|
92981
|
+
}
|
92982
|
+
},
|
92983
|
+
required: [
|
92984
|
+
"env",
|
92985
|
+
"value"
|
92986
|
+
],
|
92987
|
+
type: "object"
|
92988
|
+
},
|
92989
|
+
type: "array"
|
93419
92990
|
},
|
93420
|
-
|
93421
|
-
"
|
93422
|
-
|
93423
|
-
"stringToReplace"
|
93424
|
-
]
|
92991
|
+
replaceWithEnv: {
|
92992
|
+
type: "string"
|
92993
|
+
}
|
93425
92994
|
},
|
93426
|
-
|
93427
|
-
|
92995
|
+
required: [
|
92996
|
+
"glob",
|
92997
|
+
"regexToReplace",
|
92998
|
+
"replaceWithEnv"
|
92999
|
+
],
|
93000
|
+
type: "object"
|
93001
|
+
}
|
93002
|
+
]
|
93003
|
+
},
|
93004
|
+
"alias-147831185-257-1138-147831185-0-1202": {
|
93005
|
+
additionalProperties: {
|
93006
|
+
additionalProperties: false,
|
93007
|
+
properties: {
|
93008
|
+
aliasFor: {
|
93009
|
+
type: "string"
|
93010
|
+
},
|
93011
|
+
children: {
|
93428
93012
|
additionalProperties: false,
|
93429
93013
|
properties: {
|
93430
|
-
|
93431
|
-
|
93432
|
-
|
93433
|
-
|
93434
|
-
type: "
|
93014
|
+
directories: {
|
93015
|
+
additionalProperties: {
|
93016
|
+
type: "string"
|
93017
|
+
},
|
93018
|
+
type: "object"
|
93435
93019
|
},
|
93436
|
-
|
93437
|
-
|
93020
|
+
suffixes: {
|
93021
|
+
additionalProperties: {
|
93022
|
+
type: "string"
|
93023
|
+
},
|
93024
|
+
type: "object"
|
93438
93025
|
},
|
93439
|
-
|
93440
|
-
|
93441
|
-
items: {
|
93442
|
-
type: "object",
|
93443
|
-
properties: {
|
93444
|
-
env: {
|
93445
|
-
type: "string"
|
93446
|
-
},
|
93447
|
-
value: {
|
93448
|
-
type: "string"
|
93449
|
-
}
|
93450
|
-
},
|
93451
|
-
required: [
|
93452
|
-
"env",
|
93453
|
-
"value"
|
93454
|
-
],
|
93455
|
-
additionalProperties: false
|
93456
|
-
}
|
93026
|
+
types: {
|
93027
|
+
$ref: "#/definitions/alias-147831185-257-1138-147831185-0-1202"
|
93457
93028
|
}
|
93458
93029
|
},
|
93459
93030
|
required: [
|
93460
|
-
"
|
93461
|
-
"
|
93462
|
-
|
93463
|
-
|
93031
|
+
"types",
|
93032
|
+
"suffixes"
|
93033
|
+
],
|
93034
|
+
type: "object"
|
93464
93035
|
},
|
93465
|
-
{
|
93466
|
-
type: "
|
93036
|
+
directoryName: {
|
93037
|
+
type: "string"
|
93038
|
+
},
|
93039
|
+
folderContentType: {
|
93040
|
+
type: "string"
|
93041
|
+
},
|
93042
|
+
folderType: {
|
93043
|
+
type: "string"
|
93044
|
+
},
|
93045
|
+
id: {
|
93046
|
+
type: "string"
|
93047
|
+
},
|
93048
|
+
ignoreParsedFullName: {
|
93049
|
+
type: "boolean"
|
93050
|
+
},
|
93051
|
+
isAddressable: {
|
93052
|
+
type: "boolean"
|
93053
|
+
},
|
93054
|
+
name: {
|
93055
|
+
type: "string"
|
93056
|
+
},
|
93057
|
+
strategies: {
|
93467
93058
|
additionalProperties: false,
|
93468
93059
|
properties: {
|
93469
|
-
|
93060
|
+
adapter: {
|
93061
|
+
enum: [
|
93062
|
+
"mixedContent",
|
93063
|
+
"matchingContentFile",
|
93064
|
+
"decomposed",
|
93065
|
+
"bundle",
|
93066
|
+
"default"
|
93067
|
+
],
|
93470
93068
|
type: "string"
|
93471
93069
|
},
|
93472
|
-
|
93473
|
-
|
93474
|
-
|
93475
|
-
|
93070
|
+
decomposition: {
|
93071
|
+
enum: [
|
93072
|
+
"topLevel",
|
93073
|
+
"folderPerType"
|
93074
|
+
],
|
93476
93075
|
type: "string"
|
93477
93076
|
},
|
93478
|
-
|
93077
|
+
transformer: {
|
93078
|
+
enum: [
|
93079
|
+
"decomposed",
|
93080
|
+
"staticResource",
|
93081
|
+
"standard"
|
93082
|
+
],
|
93479
93083
|
type: "string"
|
93480
|
-
},
|
93481
|
-
replaceWhenEnv: {
|
93482
|
-
type: "array",
|
93483
|
-
items: {
|
93484
|
-
type: "object",
|
93485
|
-
properties: {
|
93486
|
-
env: {
|
93487
|
-
type: "string"
|
93488
|
-
},
|
93489
|
-
value: {
|
93490
|
-
type: "string"
|
93491
|
-
}
|
93492
|
-
},
|
93493
|
-
required: [
|
93494
|
-
"env",
|
93495
|
-
"value"
|
93496
|
-
],
|
93497
|
-
additionalProperties: false
|
93498
|
-
}
|
93499
93084
|
}
|
93500
93085
|
},
|
93501
93086
|
required: [
|
93502
|
-
"
|
93503
|
-
|
93504
|
-
|
93505
|
-
|
93506
|
-
|
93507
|
-
|
93508
|
-
|
93509
|
-
|
93510
|
-
};
|
93511
|
-
definitions = {
|
93512
|
-
"packageDirectory.path": {
|
93513
|
-
title: "Path",
|
93514
|
-
type: "string",
|
93515
|
-
description: "If you don\u2019t specify a path, the Salesforce CLI uses a placeholder when you create a package."
|
93516
|
-
},
|
93517
|
-
"packageDirectory.default": {
|
93518
|
-
title: "Default",
|
93519
|
-
type: "boolean",
|
93520
|
-
description: "If you have specified more than one path, include this parameter for the default path to indicate which is the default package directory.",
|
93521
|
-
default: true
|
93522
|
-
},
|
93523
|
-
"packageDirectory.package": {
|
93524
|
-
title: "Package Identifier",
|
93525
|
-
type: "string",
|
93526
|
-
description: "The package name you specified when creating the package."
|
93527
|
-
},
|
93528
|
-
"packageDirectory.versionName": {
|
93529
|
-
title: "Version Name",
|
93530
|
-
type: "string",
|
93531
|
-
description: "If not specified, the CLI uses versionNumber as the version name."
|
93532
|
-
},
|
93533
|
-
"packageDirectory.versionDescription": {
|
93534
|
-
title: "Version Description",
|
93535
|
-
type: "string",
|
93536
|
-
description: "Human readable version information, format not specified."
|
93537
|
-
},
|
93538
|
-
"packageDirectory.versionNumber": {
|
93539
|
-
title: "Version Number",
|
93540
|
-
type: "string",
|
93541
|
-
description: "Version numbers are formatted as major.minor.patch.build. For example, 1.2.1.8."
|
93542
|
-
},
|
93543
|
-
"packageDirectory.definitionFile": {
|
93544
|
-
title: "Definition File",
|
93545
|
-
type: "string",
|
93546
|
-
description: "Reference an external .json file to specify the features and org preferences required for the metadata of your package, such as the scratch org definition."
|
93547
|
-
},
|
93548
|
-
"packageDirectory.dependencies": {
|
93549
|
-
type: "array",
|
93550
|
-
description: "To specify dependencies for 2GP within the same Dev Hub, use either the package version alias or a combination of the package name and the version number.",
|
93551
|
-
items: {
|
93552
|
-
type: "object",
|
93553
|
-
required: [
|
93554
|
-
"package"
|
93555
|
-
],
|
93556
|
-
properties: {
|
93557
|
-
package: {
|
93087
|
+
"adapter"
|
93088
|
+
],
|
93089
|
+
type: "object"
|
93090
|
+
},
|
93091
|
+
strictDirectoryName: {
|
93092
|
+
type: "boolean"
|
93093
|
+
},
|
93094
|
+
suffix: {
|
93558
93095
|
type: "string"
|
93559
93096
|
},
|
93560
|
-
|
93097
|
+
supportsPartialDelete: {
|
93098
|
+
type: "boolean"
|
93099
|
+
},
|
93100
|
+
supportsWildcardAndName: {
|
93101
|
+
type: "boolean"
|
93102
|
+
},
|
93103
|
+
unaddressableWithoutParent: {
|
93104
|
+
type: "boolean"
|
93105
|
+
},
|
93106
|
+
uniqueIdElement: {
|
93561
93107
|
type: "string"
|
93562
93108
|
},
|
93563
|
-
|
93109
|
+
xmlElementName: {
|
93564
93110
|
type: "string"
|
93565
93111
|
}
|
93566
|
-
}
|
93567
|
-
|
93568
|
-
|
93569
|
-
|
93570
|
-
|
93571
|
-
|
93572
|
-
|
93573
|
-
|
93574
|
-
|
93575
|
-
|
93112
|
+
},
|
93113
|
+
required: [
|
93114
|
+
"id",
|
93115
|
+
"name",
|
93116
|
+
"directoryName"
|
93117
|
+
],
|
93118
|
+
type: "object"
|
93119
|
+
},
|
93120
|
+
type: "object"
|
93121
|
+
}
|
93122
|
+
};
|
93123
|
+
description = "The properties and shape of the SFDX project";
|
93124
|
+
properties = {
|
93125
|
+
name: {
|
93126
|
+
description: "The name of your Salesforce project.",
|
93127
|
+
title: "name",
|
93128
|
+
type: "string"
|
93576
93129
|
},
|
93577
|
-
|
93578
|
-
|
93579
|
-
|
93580
|
-
|
93581
|
-
},
|
93582
|
-
"packageDirectory.ancestorVersion": {
|
93583
|
-
title: "Ancestor Version",
|
93584
|
-
type: "string",
|
93585
|
-
description: "The ancestor that\u2019s the immediate parent of the version that you\u2019re creating. The ancestor version uses the format major.minor.patch.build."
|
93586
|
-
},
|
93587
|
-
"packageDirectory.releaseNotesUrl": {
|
93588
|
-
type: "string",
|
93589
|
-
title: "Release Notes Url",
|
93590
|
-
description: "The release notes url."
|
93591
|
-
},
|
93592
|
-
"packageDirectory.postInstallUrl": {
|
93593
|
-
type: "string",
|
93594
|
-
title: "Post Install Url",
|
93595
|
-
description: "The post install url."
|
93596
|
-
},
|
93597
|
-
"packageDirectory.postInstallScript": {
|
93598
|
-
type: "string",
|
93599
|
-
title: "Post Install Script",
|
93600
|
-
description: "The post install script."
|
93601
|
-
},
|
93602
|
-
"packageDirectory.scopeProfiles": {
|
93603
|
-
type: "boolean",
|
93604
|
-
title: "Scope Profiles",
|
93605
|
-
description: "Determines whether to include profile settings from only the directory being packaged (true), or whether to include profile settings from all package directories (false). If not specified, the default is false.",
|
93606
|
-
default: false
|
93607
|
-
},
|
93608
|
-
"packageDirectory.seedMetadata": {
|
93609
|
-
type: "object",
|
93610
|
-
title: "Seed Metadata",
|
93611
|
-
description: "Metadata not meant to be packaged, but deployed before deploying packaged metadata",
|
93612
|
-
required: [
|
93613
|
-
"path"
|
93614
|
-
],
|
93615
|
-
properties: {
|
93616
|
-
path: {
|
93617
|
-
type: "string",
|
93618
|
-
title: "Path",
|
93619
|
-
description: "The path name of the package directory containing the seed metadata"
|
93620
|
-
}
|
93621
|
-
}
|
93130
|
+
namespace: {
|
93131
|
+
description: "A namespace is an alphanumeric identifier that distinguishes your package and its contents from other packages in your customer\u2019s org. For steps on how to register a namespace and link it to your Dev Hub org, see Create and Register Your Namespace for Second-Generation Managed Packages on developer.salesforce.com. If you\u2019re creating an unlocked package, you can create it without a namespace.",
|
93132
|
+
title: "Namespace",
|
93133
|
+
type: "string"
|
93622
93134
|
},
|
93623
|
-
|
93624
|
-
|
93625
|
-
|
93626
|
-
|
93135
|
+
oauthLocalPort: {
|
93136
|
+
default: 1717,
|
93137
|
+
description: "By default, the OAuth port is 1717. However, change this port if this port is already in use, and you plan to create a connected app in your Dev Hub org to support JWT-based authorization.",
|
93138
|
+
type: "number"
|
93627
93139
|
},
|
93628
|
-
|
93629
|
-
|
93630
|
-
|
93631
|
-
|
93632
|
-
|
93633
|
-
|
93634
|
-
|
93635
|
-
properties: {
|
93636
|
-
path: {
|
93637
|
-
type: "string",
|
93638
|
-
title: "Path",
|
93639
|
-
description: "The path name of the package directory containing the unpackaged metadata"
|
93640
|
-
}
|
93641
|
-
}
|
93140
|
+
packageAliases: {
|
93141
|
+
additionalProperties: {
|
93142
|
+
type: "string"
|
93143
|
+
},
|
93144
|
+
description: "The Salesforce CLI updates this file with the aliases when you create a package or package version. You can also manually update this section for existing packages or package versions. You can use the alias instead of the cryptic package ID when running CLI force:package commands.",
|
93145
|
+
title: "Aliases for packaging ids",
|
93146
|
+
type: "object"
|
93642
93147
|
},
|
93643
|
-
|
93644
|
-
|
93645
|
-
|
93646
|
-
|
93647
|
-
|
93148
|
+
packageDirectories: {
|
93149
|
+
$comment: "The properties ancestorId & ancestorVersion cannot be included together, but this schema optimizes for VS Code code completion rather than pure validation.",
|
93150
|
+
description: "Package directories indicate which directories to target when syncing source to and from the scratch org. These directories can contain source from your managed package, unmanaged package, or unpackaged source, for example, ant tool or change set.",
|
93151
|
+
items: {
|
93152
|
+
$ref: "#/definitions/PackageDir"
|
93153
|
+
},
|
93154
|
+
minItems: 1,
|
93155
|
+
title: "Package Directories",
|
93156
|
+
type: "array"
|
93648
93157
|
},
|
93649
|
-
|
93650
|
-
|
93651
|
-
|
93652
|
-
|
93653
|
-
|
93654
|
-
permissionSets: {
|
93655
|
-
title: "Permission Sets",
|
93656
|
-
description: "The list of permission sets to enable while running Apex tests",
|
93657
|
-
oneOf: [
|
93658
|
-
{
|
93659
|
-
type: "string",
|
93660
|
-
title: "Permission Set String",
|
93661
|
-
description: "The list of permission sets to enable while running Apex tests as a string"
|
93662
|
-
},
|
93663
|
-
{
|
93664
|
-
type: "array",
|
93665
|
-
title: "Permission Set Array",
|
93666
|
-
description: "The list of permission sets to enable while running Apex tests as an array",
|
93667
|
-
items: {
|
93668
|
-
type: "string",
|
93669
|
-
title: "Permission Set Name",
|
93670
|
-
description: "Name of the permission set to enable while running Apex tests"
|
93671
|
-
}
|
93672
|
-
}
|
93673
|
-
]
|
93674
|
-
},
|
93675
|
-
permissionSetLicenses: {
|
93676
|
-
title: "Permission Set License",
|
93677
|
-
description: "The list of permission sets licenses to enable while running Apex tests",
|
93678
|
-
oneOf: [
|
93679
|
-
{
|
93680
|
-
type: "string",
|
93681
|
-
title: "Permission Set Licenses String",
|
93682
|
-
description: "The list of permission set licenses to enable while running Apex tests as a string"
|
93683
|
-
},
|
93684
|
-
{
|
93685
|
-
type: "array",
|
93686
|
-
title: "Permission Set Licenses Array",
|
93687
|
-
description: "The list of permission set licenses to enable while running Apex tests as an array",
|
93688
|
-
items: {
|
93689
|
-
type: "string",
|
93690
|
-
title: "Permission Set Licenses Developer Name",
|
93691
|
-
description: "Name of the permission set to enable while running Apex tests"
|
93692
|
-
}
|
93693
|
-
}
|
93694
|
-
]
|
93695
|
-
}
|
93696
|
-
}
|
93158
|
+
plugins: {
|
93159
|
+
additionalProperties: {},
|
93160
|
+
description: "Salesforce CLI plugin configurations used with this project.",
|
93161
|
+
title: "CLI Plugins custom settings",
|
93162
|
+
type: "object"
|
93697
93163
|
},
|
93698
|
-
|
93699
|
-
|
93700
|
-
|
93701
|
-
description: "Additional access that should be granted to the user while deploying package metadata, available in Salesforce API version 61.0 and above",
|
93702
|
-
properties: {
|
93703
|
-
permissionSets: {
|
93704
|
-
title: "Permission Sets",
|
93705
|
-
description: "The list of permission sets to enable while deploying package metadata",
|
93706
|
-
oneOf: [
|
93707
|
-
{
|
93708
|
-
type: "string",
|
93709
|
-
title: "Permission Set String",
|
93710
|
-
description: "The list of permission sets to enable while deploying package metadata as a string"
|
93711
|
-
},
|
93712
|
-
{
|
93713
|
-
type: "array",
|
93714
|
-
title: "Permission Set Array",
|
93715
|
-
description: "The list of permission sets to enable while deploying package metadata as an array",
|
93716
|
-
items: {
|
93717
|
-
type: "string",
|
93718
|
-
title: "Permission Set Name",
|
93719
|
-
description: "Name of the permission set to enable while deploying package metadata"
|
93720
|
-
}
|
93721
|
-
}
|
93722
|
-
]
|
93723
|
-
},
|
93724
|
-
permissionSetLicenses: {
|
93725
|
-
title: "Permission Set License",
|
93726
|
-
description: "The list of permission sets licenses to enable while deploying package metadata",
|
93727
|
-
oneOf: [
|
93728
|
-
{
|
93729
|
-
type: "string",
|
93730
|
-
title: "Permission Set Licenses String",
|
93731
|
-
description: "The list of permission set licenses to enable while deploying package metadata as a string"
|
93732
|
-
},
|
93733
|
-
{
|
93734
|
-
type: "array",
|
93735
|
-
title: "Permission Set Licenses Array",
|
93736
|
-
description: "The list of permission set licenses to enable while deploying package metadata as an array",
|
93737
|
-
items: {
|
93738
|
-
type: "string",
|
93739
|
-
title: "Permission Set Licenses Developer Name",
|
93740
|
-
description: "Name of the permission set license to enable while deploying package metadata"
|
93741
|
-
}
|
93742
|
-
}
|
93743
|
-
]
|
93744
|
-
}
|
93745
|
-
}
|
93164
|
+
pushPackageDirectoriesSequentially: {
|
93165
|
+
deprecated: "only works with deprecated commands. See https://github.com/forcedotcom/cli/discussions/2402",
|
93166
|
+
type: "boolean"
|
93746
93167
|
},
|
93747
|
-
|
93748
|
-
|
93749
|
-
title: "Branch",
|
93750
|
-
description: "The name of the branch to be assigned to the package version"
|
93168
|
+
registryCustomizations: {
|
93169
|
+
$ref: "#/definitions/MetadataRegistry"
|
93751
93170
|
},
|
93752
|
-
|
93753
|
-
|
93754
|
-
|
93171
|
+
registryPresets: {
|
93172
|
+
$ref: "#/definitions/RegistryPresets",
|
93173
|
+
deprecated: "use `sourceBehaviorOptions`\nfilenames from https://github.com/forcedotcom/source-deploy-retrieve/tree/main/src/registry/presets",
|
93174
|
+
title: "Custom predefined presets for decomposing metadata types"
|
93755
93175
|
},
|
93756
|
-
|
93757
|
-
|
93758
|
-
|
93176
|
+
replacements: {
|
93177
|
+
description: 'The Salesforce CLI will conditionally replace portions of your metadata during a deployment"',
|
93178
|
+
items: {
|
93179
|
+
$ref: "#/definitions/Replacements"
|
93180
|
+
},
|
93181
|
+
title: 'Replacements for metadata that are executed during deployments"',
|
93182
|
+
type: "array"
|
93759
93183
|
},
|
93760
|
-
|
93761
|
-
|
93762
|
-
|
93184
|
+
sfdcLoginUrl: {
|
93185
|
+
description: "The login URL that the force:auth commands use. If not specified, the default is login.salesforce.com. Override the default value if you want users to authorize to a specific Salesforce instance. For example, if you want to authorize into a sandbox org, set this parameter to test.salesforce.com.",
|
93186
|
+
title: "SFDC Login URL",
|
93187
|
+
type: "string"
|
93763
93188
|
},
|
93764
|
-
|
93765
|
-
|
93766
|
-
|
93189
|
+
signupTargetLoginUrl: {
|
93190
|
+
description: "The url that is used when creating new scratch orgs. This is typically only used for testing prerelease environments.",
|
93191
|
+
type: "string"
|
93767
93192
|
},
|
93768
|
-
|
93769
|
-
|
93770
|
-
description: "
|
93193
|
+
sourceApiVersion: {
|
93194
|
+
default: "48.0",
|
93195
|
+
description: "The API version that the source is compatible with. By default it matches the API version.",
|
93196
|
+
title: "Source API Version",
|
93197
|
+
type: "string"
|
93771
93198
|
},
|
93772
|
-
|
93773
|
-
|
93774
|
-
description: "
|
93199
|
+
sourceBehaviorOptions: {
|
93200
|
+
$ref: "#/definitions/RegistryPresets",
|
93201
|
+
description: "filenames from https://github.com/forcedotcom/source-deploy-retrieve/tree/main/src/registry/presets",
|
93202
|
+
title: "Custom predefined presets for decomposing metadata types"
|
93775
93203
|
}
|
93776
93204
|
};
|
93205
|
+
required = [
|
93206
|
+
"packageDirectories"
|
93207
|
+
];
|
93208
|
+
title = "Salesforce DX Project File";
|
93209
|
+
type = "object";
|
93777
93210
|
sfdx_project_schema_default = {
|
93778
|
-
$schema,
|
93779
93211
|
$id,
|
93780
|
-
|
93781
|
-
description,
|
93782
|
-
type,
|
93212
|
+
$schema,
|
93783
93213
|
additionalProperties,
|
93784
|
-
|
93214
|
+
definitions,
|
93215
|
+
description,
|
93785
93216
|
properties,
|
93786
|
-
|
93217
|
+
required,
|
93218
|
+
title,
|
93219
|
+
type
|
93787
93220
|
};
|
93788
93221
|
}
|
93789
93222
|
});
|
@@ -107934,12 +107367,14 @@ var require_scratchOrgInfoGenerator = __commonJS({
|
|
107934
107367
|
sfProject = await sfProject_12.SfProjectJson.create({});
|
107935
107368
|
} catch (e) {
|
107936
107369
|
}
|
107370
|
+
const { namespace: originalNamespace, ...payload } = scratchOrgInfoPayload;
|
107371
|
+
const namespace = originalNamespace ?? sfProject?.get("namespace");
|
107937
107372
|
return {
|
107938
|
-
...
|
107373
|
+
...payload,
|
107939
107374
|
orgName: scratchOrgInfoPayload.orgName ?? "Company",
|
107940
107375
|
// we already have the info, and want to get rid of configApi, so this doesn't use that
|
107941
107376
|
connectedAppCallbackUrl: `http://localhost:${await webOAuthServer_12.WebOAuthServer.determineOauthPort()}/OauthRedirect`,
|
107942
|
-
...!nonamespace &&
|
107377
|
+
...!nonamespace && namespace ? { namespace } : {},
|
107943
107378
|
// Use the Hub org's client ID value, if one wasn't provided to us, or the default
|
107944
107379
|
connectedAppConsumerKey: scratchOrgInfoPayload.connectedAppConsumerKey ?? hubOrg.getConnection().getAuthInfoFields().clientId ?? authInfo_12.DEFAULT_CONNECTED_APP_INFO.clientId,
|
107945
107380
|
package2AncestorIds: !ignoreAncestorIds && sfProject?.hasPackages() ? await (0, exports2.getAncestorIds)(scratchOrgInfoPayload, sfProject, hubOrg) : ""
|
@@ -109499,6 +108934,7 @@ var require_authInfo = __commonJS({
|
|
109499
108934
|
var sfError_12 = require_sfError();
|
109500
108935
|
var sfdc_1 = require_sfdc();
|
109501
108936
|
var stateAggregator_12 = require_stateAggregator();
|
108937
|
+
var filters_1 = require_filters();
|
109502
108938
|
var messages_12 = require_messages();
|
109503
108939
|
var sfdcUrl_12 = require_sfdcUrl();
|
109504
108940
|
var connection_12 = require_connection3();
|
@@ -110195,7 +109631,14 @@ var require_authInfo = __commonJS({
|
|
110195
109631
|
this.logger.info(`Exchanging auth code for access token using loginUrl: ${options.loginUrl}`);
|
110196
109632
|
authFields = await oauth2.requestToken((0, ts_types_1.ensure)(options.authCode));
|
110197
109633
|
} catch (err) {
|
110198
|
-
|
109634
|
+
const msg = err instanceof Error ? `${err.name}::${err.message}` : typeof err === "string" ? err : "UNKNOWN";
|
109635
|
+
const redacted = (0, filters_1.filterSecrets)(options);
|
109636
|
+
throw sfError_12.SfError.create({
|
109637
|
+
message: messages.getMessage("authCodeExchangeError", [msg]),
|
109638
|
+
name: "AuthCodeExchangeError",
|
109639
|
+
...err instanceof Error ? { cause: err } : {},
|
109640
|
+
data: (0, ts_types_1.isArray)(redacted) ? redacted[0] : redacted
|
109641
|
+
});
|
110199
109642
|
}
|
110200
109643
|
const { orgId } = parseIdUrl(authFields.id);
|
110201
109644
|
let username = this.getUsername();
|