@intelligentgraphics/ig.gfx.packager 2.0.8 → 2.0.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/build/index.js +1049 -459
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- package/readme.md +18 -0
package/build/index.js
CHANGED
|
@@ -1309,6 +1309,505 @@ async function iterateAsync(basePath, filePath, segments) {
|
|
|
1309
1309
|
|
|
1310
1310
|
/***/ }),
|
|
1311
1311
|
|
|
1312
|
+
/***/ "../../node_modules/tslib/tslib.es6.js":
|
|
1313
|
+
/*!*********************************************!*\
|
|
1314
|
+
!*** ../../node_modules/tslib/tslib.es6.js ***!
|
|
1315
|
+
\*********************************************/
|
|
1316
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1317
|
+
|
|
1318
|
+
"use strict";
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1322
|
+
value: true
|
|
1323
|
+
}));
|
|
1324
|
+
exports.__assign = void 0;
|
|
1325
|
+
exports.__asyncDelegator = __asyncDelegator;
|
|
1326
|
+
exports.__asyncGenerator = __asyncGenerator;
|
|
1327
|
+
exports.__asyncValues = __asyncValues;
|
|
1328
|
+
exports.__await = __await;
|
|
1329
|
+
exports.__awaiter = __awaiter;
|
|
1330
|
+
exports.__classPrivateFieldGet = __classPrivateFieldGet;
|
|
1331
|
+
exports.__classPrivateFieldSet = __classPrivateFieldSet;
|
|
1332
|
+
exports.__createBinding = void 0;
|
|
1333
|
+
exports.__decorate = __decorate;
|
|
1334
|
+
exports.__exportStar = __exportStar;
|
|
1335
|
+
exports.__extends = __extends;
|
|
1336
|
+
exports.__generator = __generator;
|
|
1337
|
+
exports.__importDefault = __importDefault;
|
|
1338
|
+
exports.__importStar = __importStar;
|
|
1339
|
+
exports.__makeTemplateObject = __makeTemplateObject;
|
|
1340
|
+
exports.__metadata = __metadata;
|
|
1341
|
+
exports.__param = __param;
|
|
1342
|
+
exports.__read = __read;
|
|
1343
|
+
exports.__rest = __rest;
|
|
1344
|
+
exports.__spread = __spread;
|
|
1345
|
+
exports.__spreadArray = __spreadArray;
|
|
1346
|
+
exports.__spreadArrays = __spreadArrays;
|
|
1347
|
+
exports.__values = __values;
|
|
1348
|
+
|
|
1349
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
1350
|
+
|
|
1351
|
+
__webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../../node_modules/core-js/modules/es.symbol.description.js");
|
|
1352
|
+
|
|
1353
|
+
/*! *****************************************************************************
|
|
1354
|
+
Copyright (c) Microsoft Corporation.
|
|
1355
|
+
|
|
1356
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
1357
|
+
purpose with or without fee is hereby granted.
|
|
1358
|
+
|
|
1359
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1360
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1361
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1362
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1363
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1364
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1365
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
1366
|
+
***************************************************************************** */
|
|
1367
|
+
|
|
1368
|
+
/* global Reflect, Promise */
|
|
1369
|
+
var extendStatics = function (d, b) {
|
|
1370
|
+
extendStatics = Object.setPrototypeOf || {
|
|
1371
|
+
__proto__: []
|
|
1372
|
+
} instanceof Array && function (d, b) {
|
|
1373
|
+
d.__proto__ = b;
|
|
1374
|
+
} || function (d, b) {
|
|
1375
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
return extendStatics(d, b);
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
function __extends(d, b) {
|
|
1382
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1383
|
+
extendStatics(d, b);
|
|
1384
|
+
|
|
1385
|
+
function __() {
|
|
1386
|
+
this.constructor = d;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
var __assign = function () {
|
|
1393
|
+
exports.__assign = __assign = Object.assign || function __assign(t) {
|
|
1394
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1395
|
+
s = arguments[i];
|
|
1396
|
+
|
|
1397
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
return t;
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
return __assign.apply(this, arguments);
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
exports.__assign = __assign;
|
|
1407
|
+
|
|
1408
|
+
function __rest(s, e) {
|
|
1409
|
+
var t = {};
|
|
1410
|
+
|
|
1411
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1412
|
+
|
|
1413
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1414
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
1415
|
+
}
|
|
1416
|
+
return t;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
function __decorate(decorators, target, key, desc) {
|
|
1420
|
+
var c = arguments.length,
|
|
1421
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
1422
|
+
d;
|
|
1423
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1424
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
function __param(paramIndex, decorator) {
|
|
1428
|
+
return function (target, key) {
|
|
1429
|
+
decorator(target, key, paramIndex);
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
function __metadata(metadataKey, metadataValue) {
|
|
1434
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
1438
|
+
function adopt(value) {
|
|
1439
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
1440
|
+
resolve(value);
|
|
1441
|
+
});
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
1445
|
+
function fulfilled(value) {
|
|
1446
|
+
try {
|
|
1447
|
+
step(generator.next(value));
|
|
1448
|
+
} catch (e) {
|
|
1449
|
+
reject(e);
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
function rejected(value) {
|
|
1454
|
+
try {
|
|
1455
|
+
step(generator["throw"](value));
|
|
1456
|
+
} catch (e) {
|
|
1457
|
+
reject(e);
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
function step(result) {
|
|
1462
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
function __generator(thisArg, body) {
|
|
1470
|
+
var _ = {
|
|
1471
|
+
label: 0,
|
|
1472
|
+
sent: function () {
|
|
1473
|
+
if (t[0] & 1) throw t[1];
|
|
1474
|
+
return t[1];
|
|
1475
|
+
},
|
|
1476
|
+
trys: [],
|
|
1477
|
+
ops: []
|
|
1478
|
+
},
|
|
1479
|
+
f,
|
|
1480
|
+
y,
|
|
1481
|
+
t,
|
|
1482
|
+
g;
|
|
1483
|
+
return g = {
|
|
1484
|
+
next: verb(0),
|
|
1485
|
+
"throw": verb(1),
|
|
1486
|
+
"return": verb(2)
|
|
1487
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
|
|
1488
|
+
return this;
|
|
1489
|
+
}), g;
|
|
1490
|
+
|
|
1491
|
+
function verb(n) {
|
|
1492
|
+
return function (v) {
|
|
1493
|
+
return step([n, v]);
|
|
1494
|
+
};
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
function step(op) {
|
|
1498
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
1499
|
+
|
|
1500
|
+
while (_) try {
|
|
1501
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
1502
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
1503
|
+
|
|
1504
|
+
switch (op[0]) {
|
|
1505
|
+
case 0:
|
|
1506
|
+
case 1:
|
|
1507
|
+
t = op;
|
|
1508
|
+
break;
|
|
1509
|
+
|
|
1510
|
+
case 4:
|
|
1511
|
+
_.label++;
|
|
1512
|
+
return {
|
|
1513
|
+
value: op[1],
|
|
1514
|
+
done: false
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
case 5:
|
|
1518
|
+
_.label++;
|
|
1519
|
+
y = op[1];
|
|
1520
|
+
op = [0];
|
|
1521
|
+
continue;
|
|
1522
|
+
|
|
1523
|
+
case 7:
|
|
1524
|
+
op = _.ops.pop();
|
|
1525
|
+
|
|
1526
|
+
_.trys.pop();
|
|
1527
|
+
|
|
1528
|
+
continue;
|
|
1529
|
+
|
|
1530
|
+
default:
|
|
1531
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
1532
|
+
_ = 0;
|
|
1533
|
+
continue;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
1537
|
+
_.label = op[1];
|
|
1538
|
+
break;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
1542
|
+
_.label = t[1];
|
|
1543
|
+
t = op;
|
|
1544
|
+
break;
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
if (t && _.label < t[2]) {
|
|
1548
|
+
_.label = t[2];
|
|
1549
|
+
|
|
1550
|
+
_.ops.push(op);
|
|
1551
|
+
|
|
1552
|
+
break;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
if (t[2]) _.ops.pop();
|
|
1556
|
+
|
|
1557
|
+
_.trys.pop();
|
|
1558
|
+
|
|
1559
|
+
continue;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
op = body.call(thisArg, _);
|
|
1563
|
+
} catch (e) {
|
|
1564
|
+
op = [6, e];
|
|
1565
|
+
y = 0;
|
|
1566
|
+
} finally {
|
|
1567
|
+
f = t = 0;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
if (op[0] & 5) throw op[1];
|
|
1571
|
+
return {
|
|
1572
|
+
value: op[0] ? op[1] : void 0,
|
|
1573
|
+
done: true
|
|
1574
|
+
};
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
var __createBinding = Object.create ? function (o, m, k, k2) {
|
|
1579
|
+
if (k2 === undefined) k2 = k;
|
|
1580
|
+
Object.defineProperty(o, k2, {
|
|
1581
|
+
enumerable: true,
|
|
1582
|
+
get: function () {
|
|
1583
|
+
return m[k];
|
|
1584
|
+
}
|
|
1585
|
+
});
|
|
1586
|
+
} : function (o, m, k, k2) {
|
|
1587
|
+
if (k2 === undefined) k2 = k;
|
|
1588
|
+
o[k2] = m[k];
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
exports.__createBinding = __createBinding;
|
|
1592
|
+
|
|
1593
|
+
function __exportStar(m, o) {
|
|
1594
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
function __values(o) {
|
|
1598
|
+
var s = typeof Symbol === "function" && Symbol.iterator,
|
|
1599
|
+
m = s && o[s],
|
|
1600
|
+
i = 0;
|
|
1601
|
+
if (m) return m.call(o);
|
|
1602
|
+
if (o && typeof o.length === "number") return {
|
|
1603
|
+
next: function () {
|
|
1604
|
+
if (o && i >= o.length) o = void 0;
|
|
1605
|
+
return {
|
|
1606
|
+
value: o && o[i++],
|
|
1607
|
+
done: !o
|
|
1608
|
+
};
|
|
1609
|
+
}
|
|
1610
|
+
};
|
|
1611
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
function __read(o, n) {
|
|
1615
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1616
|
+
if (!m) return o;
|
|
1617
|
+
var i = m.call(o),
|
|
1618
|
+
r,
|
|
1619
|
+
ar = [],
|
|
1620
|
+
e;
|
|
1621
|
+
|
|
1622
|
+
try {
|
|
1623
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
1624
|
+
} catch (error) {
|
|
1625
|
+
e = {
|
|
1626
|
+
error: error
|
|
1627
|
+
};
|
|
1628
|
+
} finally {
|
|
1629
|
+
try {
|
|
1630
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
1631
|
+
} finally {
|
|
1632
|
+
if (e) throw e.error;
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
return ar;
|
|
1637
|
+
}
|
|
1638
|
+
/** @deprecated */
|
|
1639
|
+
|
|
1640
|
+
|
|
1641
|
+
function __spread() {
|
|
1642
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
|
|
1643
|
+
|
|
1644
|
+
return ar;
|
|
1645
|
+
}
|
|
1646
|
+
/** @deprecated */
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
function __spreadArrays() {
|
|
1650
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
1651
|
+
|
|
1652
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];
|
|
1653
|
+
|
|
1654
|
+
return r;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
function __spreadArray(to, from, pack) {
|
|
1658
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1659
|
+
if (ar || !(i in from)) {
|
|
1660
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
1661
|
+
ar[i] = from[i];
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
function __await(v) {
|
|
1668
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
1672
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1673
|
+
var g = generator.apply(thisArg, _arguments || []),
|
|
1674
|
+
i,
|
|
1675
|
+
q = [];
|
|
1676
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () {
|
|
1677
|
+
return this;
|
|
1678
|
+
}, i;
|
|
1679
|
+
|
|
1680
|
+
function verb(n) {
|
|
1681
|
+
if (g[n]) i[n] = function (v) {
|
|
1682
|
+
return new Promise(function (a, b) {
|
|
1683
|
+
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
1684
|
+
});
|
|
1685
|
+
};
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
function resume(n, v) {
|
|
1689
|
+
try {
|
|
1690
|
+
step(g[n](v));
|
|
1691
|
+
} catch (e) {
|
|
1692
|
+
settle(q[0][3], e);
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
function step(r) {
|
|
1697
|
+
r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
function fulfill(value) {
|
|
1701
|
+
resume("next", value);
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
function reject(value) {
|
|
1705
|
+
resume("throw", value);
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
function settle(f, v) {
|
|
1709
|
+
if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
function __asyncDelegator(o) {
|
|
1714
|
+
var i, p;
|
|
1715
|
+
return i = {}, verb("next"), verb("throw", function (e) {
|
|
1716
|
+
throw e;
|
|
1717
|
+
}), verb("return"), i[Symbol.iterator] = function () {
|
|
1718
|
+
return this;
|
|
1719
|
+
}, i;
|
|
1720
|
+
|
|
1721
|
+
function verb(n, f) {
|
|
1722
|
+
i[n] = o[n] ? function (v) {
|
|
1723
|
+
return (p = !p) ? {
|
|
1724
|
+
value: __await(o[n](v)),
|
|
1725
|
+
done: n === "return"
|
|
1726
|
+
} : f ? f(v) : v;
|
|
1727
|
+
} : f;
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
function __asyncValues(o) {
|
|
1732
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1733
|
+
var m = o[Symbol.asyncIterator],
|
|
1734
|
+
i;
|
|
1735
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () {
|
|
1736
|
+
return this;
|
|
1737
|
+
}, i);
|
|
1738
|
+
|
|
1739
|
+
function verb(n) {
|
|
1740
|
+
i[n] = o[n] && function (v) {
|
|
1741
|
+
return new Promise(function (resolve, reject) {
|
|
1742
|
+
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
1743
|
+
});
|
|
1744
|
+
};
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
function settle(resolve, reject, d, v) {
|
|
1748
|
+
Promise.resolve(v).then(function (v) {
|
|
1749
|
+
resolve({
|
|
1750
|
+
value: v,
|
|
1751
|
+
done: d
|
|
1752
|
+
});
|
|
1753
|
+
}, reject);
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
function __makeTemplateObject(cooked, raw) {
|
|
1758
|
+
if (Object.defineProperty) {
|
|
1759
|
+
Object.defineProperty(cooked, "raw", {
|
|
1760
|
+
value: raw
|
|
1761
|
+
});
|
|
1762
|
+
} else {
|
|
1763
|
+
cooked.raw = raw;
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
return cooked;
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
;
|
|
1770
|
+
|
|
1771
|
+
var __setModuleDefault = Object.create ? function (o, v) {
|
|
1772
|
+
Object.defineProperty(o, "default", {
|
|
1773
|
+
enumerable: true,
|
|
1774
|
+
value: v
|
|
1775
|
+
});
|
|
1776
|
+
} : function (o, v) {
|
|
1777
|
+
o["default"] = v;
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
function __importStar(mod) {
|
|
1781
|
+
if (mod && mod.__esModule) return mod;
|
|
1782
|
+
var result = {};
|
|
1783
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
1784
|
+
|
|
1785
|
+
__setModuleDefault(result, mod);
|
|
1786
|
+
|
|
1787
|
+
return result;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
function __importDefault(mod) {
|
|
1791
|
+
return mod && mod.__esModule ? mod : {
|
|
1792
|
+
default: mod
|
|
1793
|
+
};
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
1797
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
1798
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1799
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
1803
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
1804
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
1805
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1806
|
+
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
/***/ }),
|
|
1810
|
+
|
|
1312
1811
|
/***/ "../core/build/command.js":
|
|
1313
1812
|
/*!********************************!*\
|
|
1314
1813
|
!*** ../core/build/command.js ***!
|
|
@@ -1318,14 +1817,14 @@ async function iterateAsync(basePath, filePath, segments) {
|
|
|
1318
1817
|
"use strict";
|
|
1319
1818
|
|
|
1320
1819
|
|
|
1820
|
+
__webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../../node_modules/core-js/modules/es.symbol.description.js");
|
|
1821
|
+
|
|
1321
1822
|
Object.defineProperty(exports, "__esModule", ({
|
|
1322
1823
|
value: true
|
|
1323
1824
|
}));
|
|
1324
1825
|
exports.Command = void 0;
|
|
1325
1826
|
|
|
1326
|
-
__webpack_require__(/*!
|
|
1327
|
-
|
|
1328
|
-
var _config = __webpack_require__(/*! ./config.js */ "../core/build/config.js");
|
|
1827
|
+
const config_1 = __webpack_require__(/*! ./config */ "../core/build/config.js");
|
|
1329
1828
|
|
|
1330
1829
|
class Command {
|
|
1331
1830
|
constructor(params) {
|
|
@@ -1337,7 +1836,7 @@ class Command {
|
|
|
1337
1836
|
}
|
|
1338
1837
|
|
|
1339
1838
|
const options = this.params.createOptions();
|
|
1340
|
-
const configValues = (0,
|
|
1839
|
+
const configValues = (0, config_1.getConfigValues)(this.params.name);
|
|
1341
1840
|
|
|
1342
1841
|
for (const entry in configValues) {
|
|
1343
1842
|
const option = options[entry];
|
|
@@ -1357,7 +1856,7 @@ class Command {
|
|
|
1357
1856
|
configOptions[params.name + "." + key] = params.configuration[key];
|
|
1358
1857
|
}
|
|
1359
1858
|
|
|
1360
|
-
(0,
|
|
1859
|
+
(0, config_1.registerConfigOptions)(configOptions);
|
|
1361
1860
|
}
|
|
1362
1861
|
}
|
|
1363
1862
|
|
|
@@ -1429,31 +1928,27 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
1429
1928
|
}));
|
|
1430
1929
|
exports.writeConfig = exports.readConfig = exports.registerConfigOptions = exports.getConfigOptions = exports.setConfigValue = exports.getConfigValues = exports.getConfigValue = void 0;
|
|
1431
1930
|
|
|
1432
|
-
|
|
1931
|
+
const fs = __webpack_require__(/*! fs-extra */ "fs-extra");
|
|
1433
1932
|
|
|
1434
|
-
|
|
1933
|
+
const os = __webpack_require__(/*! os */ "os");
|
|
1435
1934
|
|
|
1436
|
-
|
|
1935
|
+
const path = __webpack_require__(/*! path */ "path");
|
|
1437
1936
|
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
1441
|
-
|
|
1442
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
1937
|
+
const FileUtil = __webpack_require__(/*! ./fileUtil */ "../core/build/fileUtil.js");
|
|
1443
1938
|
|
|
1444
1939
|
const CONFIG_PATH = path.join(os.homedir(), ".ig", "config.json");
|
|
1445
1940
|
const configOptions = new Map();
|
|
1446
1941
|
let cached;
|
|
1447
1942
|
|
|
1448
1943
|
const getConfigValue = name => {
|
|
1449
|
-
const config = readConfig();
|
|
1944
|
+
const config = (0, exports.readConfig)();
|
|
1450
1945
|
return config[name];
|
|
1451
1946
|
};
|
|
1452
1947
|
|
|
1453
1948
|
exports.getConfigValue = getConfigValue;
|
|
1454
1949
|
|
|
1455
1950
|
const getConfigValues = namespace => {
|
|
1456
|
-
const config = readConfig();
|
|
1951
|
+
const config = (0, exports.readConfig)();
|
|
1457
1952
|
|
|
1458
1953
|
if (!namespace) {
|
|
1459
1954
|
return config;
|
|
@@ -1475,7 +1970,7 @@ const setConfigValue = (key, value) => {
|
|
|
1475
1970
|
throw new Error("Unkown config option");
|
|
1476
1971
|
}
|
|
1477
1972
|
|
|
1478
|
-
let config = readConfig();
|
|
1973
|
+
let config = (0, exports.readConfig)();
|
|
1479
1974
|
|
|
1480
1975
|
if (!config) {
|
|
1481
1976
|
config = {};
|
|
@@ -1496,7 +1991,7 @@ const setConfigValue = (key, value) => {
|
|
|
1496
1991
|
}
|
|
1497
1992
|
|
|
1498
1993
|
config[key] = value;
|
|
1499
|
-
writeConfig(config);
|
|
1994
|
+
(0, exports.writeConfig)(config);
|
|
1500
1995
|
console.log(`Set "${key}" to "${value}"`);
|
|
1501
1996
|
return config;
|
|
1502
1997
|
};
|
|
@@ -1553,30 +2048,24 @@ exports.writeConfig = writeConfig;
|
|
|
1553
2048
|
"use strict";
|
|
1554
2049
|
|
|
1555
2050
|
|
|
2051
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2052
|
+
|
|
1556
2053
|
Object.defineProperty(exports, "__esModule", ({
|
|
1557
2054
|
value: true
|
|
1558
2055
|
}));
|
|
1559
2056
|
exports.asOption = exports.escapePathArg = exports.escapeArg = exports.findExecutable = exports.exec = exports.installModules = void 0;
|
|
1560
2057
|
|
|
1561
|
-
__webpack_require__(/*!
|
|
1562
|
-
|
|
1563
|
-
var fs = _interopRequireWildcard(__webpack_require__(/*! fs */ "fs"));
|
|
2058
|
+
const fs = __webpack_require__(/*! fs */ "fs");
|
|
1564
2059
|
|
|
1565
|
-
|
|
2060
|
+
const os = __webpack_require__(/*! os */ "os");
|
|
1566
2061
|
|
|
1567
|
-
|
|
2062
|
+
const path = __webpack_require__(/*! path */ "path");
|
|
1568
2063
|
|
|
1569
|
-
|
|
2064
|
+
const execa = __webpack_require__(/*! execa */ "execa");
|
|
1570
2065
|
|
|
1571
|
-
|
|
2066
|
+
const true_case_path_1 = __webpack_require__(/*! true-case-path */ "../../node_modules/true-case-path/index.js");
|
|
1572
2067
|
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1576
|
-
|
|
1577
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
1578
|
-
|
|
1579
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2068
|
+
const PathUtil = __webpack_require__(/*! ./pathUtil */ "../core/build/pathUtil.js");
|
|
1580
2069
|
|
|
1581
2070
|
const installModules = (rawTarget, modules, dev) => {
|
|
1582
2071
|
const {
|
|
@@ -1606,7 +2095,7 @@ const installModules = (rawTarget, modules, dev) => {
|
|
|
1606
2095
|
command += " " + entry;
|
|
1607
2096
|
}
|
|
1608
2097
|
|
|
1609
|
-
return
|
|
2098
|
+
return execa.sync(command, {
|
|
1610
2099
|
cwd: rawTarget,
|
|
1611
2100
|
shell: true
|
|
1612
2101
|
});
|
|
@@ -1620,7 +2109,7 @@ const exec = ({
|
|
|
1620
2109
|
onMessage,
|
|
1621
2110
|
onStdErr
|
|
1622
2111
|
}) => new Promise((resolve, reject) => {
|
|
1623
|
-
const cp = (
|
|
2112
|
+
const cp = execa(cmd, Object.assign(Object.assign({}, options), {
|
|
1624
2113
|
maxBuffer: Infinity,
|
|
1625
2114
|
shell: true
|
|
1626
2115
|
}));
|
|
@@ -1651,7 +2140,7 @@ const findExecutable = (command, tryDirs) => {
|
|
|
1651
2140
|
try {
|
|
1652
2141
|
const commandPath = path.join(binPath, fileName);
|
|
1653
2142
|
fs.readFileSync(commandPath);
|
|
1654
|
-
return escapePathArg(commandPath);
|
|
2143
|
+
return (0, exports.escapePathArg)(commandPath);
|
|
1655
2144
|
} catch (err) {}
|
|
1656
2145
|
}
|
|
1657
2146
|
|
|
@@ -1664,7 +2153,7 @@ const escapeArg = input => `"${input}"`;
|
|
|
1664
2153
|
|
|
1665
2154
|
exports.escapeArg = escapeArg;
|
|
1666
2155
|
|
|
1667
|
-
const escapePathArg = input => path.isAbsolute(input) ? escapeArg(
|
|
2156
|
+
const escapePathArg = input => path.isAbsolute(input) ? (0, exports.escapeArg)((0, true_case_path_1.trueCasePathSync)(input) || input) : (0, exports.escapeArg)(input);
|
|
1668
2157
|
|
|
1669
2158
|
exports.escapePathArg = escapePathArg;
|
|
1670
2159
|
|
|
@@ -1690,13 +2179,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
1690
2179
|
}));
|
|
1691
2180
|
exports.writeFile = exports.updateJSONFile = exports.readJsonFile = exports.readFile = exports.deleteFile = exports.findFile = void 0;
|
|
1692
2181
|
|
|
1693
|
-
|
|
2182
|
+
const fs = __webpack_require__(/*! fs */ "fs");
|
|
1694
2183
|
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
1698
|
-
|
|
1699
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2184
|
+
const path = __webpack_require__(/*! path */ "path");
|
|
1700
2185
|
|
|
1701
2186
|
const cache = {};
|
|
1702
2187
|
|
|
@@ -1705,7 +2190,7 @@ const findFile = (fileName, basePath) => {
|
|
|
1705
2190
|
|
|
1706
2191
|
while (currentPath !== undefined) {
|
|
1707
2192
|
const filePath = path.join(currentPath, fileName);
|
|
1708
|
-
const file = readFile(filePath);
|
|
2193
|
+
const file = (0, exports.readFile)(filePath);
|
|
1709
2194
|
|
|
1710
2195
|
if (file !== undefined) {
|
|
1711
2196
|
return filePath;
|
|
@@ -1758,7 +2243,7 @@ const readJsonFile = filePath => {
|
|
|
1758
2243
|
return cached;
|
|
1759
2244
|
}
|
|
1760
2245
|
|
|
1761
|
-
const file = readFile(filePath);
|
|
2246
|
+
const file = (0, exports.readFile)(filePath);
|
|
1762
2247
|
|
|
1763
2248
|
if (!file) {
|
|
1764
2249
|
return undefined;
|
|
@@ -1774,11 +2259,11 @@ const readJsonFile = filePath => {
|
|
|
1774
2259
|
exports.readJsonFile = readJsonFile;
|
|
1775
2260
|
|
|
1776
2261
|
const updateJSONFile = (filePath, update) => {
|
|
1777
|
-
const currentContent = readJsonFile(filePath);
|
|
2262
|
+
const currentContent = (0, exports.readJsonFile)(filePath);
|
|
1778
2263
|
const newContent = update(currentContent);
|
|
1779
2264
|
|
|
1780
2265
|
if (newContent) {
|
|
1781
|
-
writeFile(filePath, newContent);
|
|
2266
|
+
(0, exports.writeFile)(filePath, newContent);
|
|
1782
2267
|
}
|
|
1783
2268
|
|
|
1784
2269
|
return newContent;
|
|
@@ -1865,21 +2350,19 @@ exports.findLargest = findLargest;
|
|
|
1865
2350
|
"use strict";
|
|
1866
2351
|
|
|
1867
2352
|
|
|
2353
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2354
|
+
|
|
1868
2355
|
Object.defineProperty(exports, "__esModule", ({
|
|
1869
2356
|
value: true
|
|
1870
2357
|
}));
|
|
1871
2358
|
exports.getLastTag = exports.getDir = void 0;
|
|
1872
2359
|
|
|
1873
|
-
__webpack_require__(/*!
|
|
1874
|
-
|
|
1875
|
-
var _execa = _interopRequireDefault(__webpack_require__(/*! execa */ "execa"));
|
|
1876
|
-
|
|
1877
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2360
|
+
const execa = __webpack_require__(/*! execa */ "execa");
|
|
1878
2361
|
|
|
1879
2362
|
const getDir = async (cwd = process.cwd()) => {
|
|
1880
2363
|
const {
|
|
1881
2364
|
stdout: rootGitDir
|
|
1882
|
-
} = await
|
|
2365
|
+
} = await execa.sync(`git rev-parse --show-toplevel`, {
|
|
1883
2366
|
encoding: "utf8",
|
|
1884
2367
|
cwd,
|
|
1885
2368
|
shell: true
|
|
@@ -1890,12 +2373,12 @@ const getDir = async (cwd = process.cwd()) => {
|
|
|
1890
2373
|
exports.getDir = getDir;
|
|
1891
2374
|
|
|
1892
2375
|
const getLastTag = async (packageName, packageFolder) => {
|
|
1893
|
-
const rootGitDir = await getDir(packageFolder);
|
|
2376
|
+
const rootGitDir = await (0, exports.getDir)(packageFolder);
|
|
1894
2377
|
|
|
1895
2378
|
try {
|
|
1896
2379
|
const {
|
|
1897
2380
|
stdout: releasedTagString
|
|
1898
|
-
} = await
|
|
2381
|
+
} = await execa.sync(`git describe --tags --abbrev=0 --match *${packageName}*`, {
|
|
1899
2382
|
cwd: rootGitDir,
|
|
1900
2383
|
shell: true
|
|
1901
2384
|
});
|
|
@@ -1921,168 +2404,55 @@ exports.getLastTag = getLastTag;
|
|
|
1921
2404
|
Object.defineProperty(exports, "__esModule", ({
|
|
1922
2405
|
value: true
|
|
1923
2406
|
}));
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
ExecUtil: true,
|
|
1928
|
-
PathUtil: true,
|
|
1929
|
-
GitUtil: true,
|
|
1930
|
-
CommandRegistry: true,
|
|
1931
|
-
Command: true
|
|
1932
|
-
};
|
|
1933
|
-
Object.defineProperty(exports, "CommandRegistry", ({
|
|
1934
|
-
enumerable: true,
|
|
1935
|
-
get: function () {
|
|
1936
|
-
return _commandRegistry.CommandRegistry;
|
|
1937
|
-
}
|
|
1938
|
-
}));
|
|
1939
|
-
Object.defineProperty(exports, "Command", ({
|
|
1940
|
-
enumerable: true,
|
|
1941
|
-
get: function () {
|
|
1942
|
-
return _command.Command;
|
|
1943
|
-
}
|
|
1944
|
-
}));
|
|
1945
|
-
exports.GitUtil = exports.PathUtil = exports.ExecUtil = exports.StringUtil = exports.FileUtil = void 0;
|
|
2407
|
+
exports.Command = exports.CommandRegistry = exports.GitUtil = exports.PathUtil = exports.ExecUtil = exports.StringUtil = exports.FileUtil = void 0;
|
|
2408
|
+
|
|
2409
|
+
const tslib_1 = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
|
|
1946
2410
|
|
|
1947
|
-
|
|
2411
|
+
const FileUtil = __webpack_require__(/*! ./fileUtil */ "../core/build/fileUtil.js");
|
|
1948
2412
|
|
|
1949
2413
|
exports.FileUtil = FileUtil;
|
|
1950
2414
|
|
|
1951
|
-
|
|
2415
|
+
const StringUtil = __webpack_require__(/*! ./stringUtil */ "../core/build/stringUtil.js");
|
|
1952
2416
|
|
|
1953
2417
|
exports.StringUtil = StringUtil;
|
|
1954
2418
|
|
|
1955
|
-
|
|
2419
|
+
const ExecUtil = __webpack_require__(/*! ./execUtil */ "../core/build/execUtil.js");
|
|
1956
2420
|
|
|
1957
2421
|
exports.ExecUtil = ExecUtil;
|
|
1958
2422
|
|
|
1959
|
-
|
|
2423
|
+
const PathUtil = __webpack_require__(/*! ./pathUtil */ "../core/build/pathUtil.js");
|
|
1960
2424
|
|
|
1961
2425
|
exports.PathUtil = PathUtil;
|
|
1962
2426
|
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
exports.GitUtil = GitUtil;
|
|
2427
|
+
const GitUtil = __webpack_require__(/*! ./gitUtil */ "../core/build/gitUtil.js");
|
|
1966
2428
|
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
enumerable: true,
|
|
1975
|
-
get: function () {
|
|
1976
|
-
return _limiter[key];
|
|
1977
|
-
}
|
|
1978
|
-
});
|
|
1979
|
-
});
|
|
1980
|
-
|
|
1981
|
-
var _typedEmitter = __webpack_require__(/*! ./typedEmitter.js */ "../core/build/typedEmitter.js");
|
|
1982
|
-
|
|
1983
|
-
Object.keys(_typedEmitter).forEach(function (key) {
|
|
1984
|
-
if (key === "default" || key === "__esModule") return;
|
|
1985
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
1986
|
-
if (key in exports && exports[key] === _typedEmitter[key]) return;
|
|
1987
|
-
Object.defineProperty(exports, key, {
|
|
1988
|
-
enumerable: true,
|
|
1989
|
-
get: function () {
|
|
1990
|
-
return _typedEmitter[key];
|
|
1991
|
-
}
|
|
1992
|
-
});
|
|
1993
|
-
});
|
|
1994
|
-
|
|
1995
|
-
var _packageVersion = __webpack_require__(/*! ./packageVersion.js */ "../core/build/packageVersion.js");
|
|
1996
|
-
|
|
1997
|
-
Object.keys(_packageVersion).forEach(function (key) {
|
|
1998
|
-
if (key === "default" || key === "__esModule") return;
|
|
1999
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2000
|
-
if (key in exports && exports[key] === _packageVersion[key]) return;
|
|
2001
|
-
Object.defineProperty(exports, key, {
|
|
2002
|
-
enumerable: true,
|
|
2003
|
-
get: function () {
|
|
2004
|
-
return _packageVersion[key];
|
|
2005
|
-
}
|
|
2006
|
-
});
|
|
2007
|
-
});
|
|
2008
|
-
|
|
2009
|
-
var _config = __webpack_require__(/*! ./config.js */ "../core/build/config.js");
|
|
2010
|
-
|
|
2011
|
-
Object.keys(_config).forEach(function (key) {
|
|
2012
|
-
if (key === "default" || key === "__esModule") return;
|
|
2013
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2014
|
-
if (key in exports && exports[key] === _config[key]) return;
|
|
2015
|
-
Object.defineProperty(exports, key, {
|
|
2016
|
-
enumerable: true,
|
|
2017
|
-
get: function () {
|
|
2018
|
-
return _config[key];
|
|
2019
|
-
}
|
|
2020
|
-
});
|
|
2021
|
-
});
|
|
2022
|
-
|
|
2023
|
-
var _pjson = __webpack_require__(/*! ./types/pjson.js */ "../core/build/types/pjson.js");
|
|
2024
|
-
|
|
2025
|
-
Object.keys(_pjson).forEach(function (key) {
|
|
2026
|
-
if (key === "default" || key === "__esModule") return;
|
|
2027
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2028
|
-
if (key in exports && exports[key] === _pjson[key]) return;
|
|
2029
|
-
Object.defineProperty(exports, key, {
|
|
2030
|
-
enumerable: true,
|
|
2031
|
-
get: function () {
|
|
2032
|
-
return _pjson[key];
|
|
2033
|
-
}
|
|
2034
|
-
});
|
|
2035
|
-
});
|
|
2036
|
-
|
|
2037
|
-
var _index = __webpack_require__(/*! ./workers/index.js */ "../core/build/workers/index.js");
|
|
2038
|
-
|
|
2039
|
-
Object.keys(_index).forEach(function (key) {
|
|
2040
|
-
if (key === "default" || key === "__esModule") return;
|
|
2041
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2042
|
-
if (key in exports && exports[key] === _index[key]) return;
|
|
2043
|
-
Object.defineProperty(exports, key, {
|
|
2044
|
-
enumerable: true,
|
|
2045
|
-
get: function () {
|
|
2046
|
-
return _index[key];
|
|
2047
|
-
}
|
|
2048
|
-
});
|
|
2049
|
-
});
|
|
2050
|
-
|
|
2051
|
-
var _commandRegistry = __webpack_require__(/*! ./commandRegistry.js */ "../core/build/commandRegistry.js");
|
|
2052
|
-
|
|
2053
|
-
var _command = __webpack_require__(/*! ./command.js */ "../core/build/command.js");
|
|
2054
|
-
|
|
2055
|
-
var _toposort = __webpack_require__(/*! ./toposort.js */ "../core/build/toposort.js");
|
|
2056
|
-
|
|
2057
|
-
Object.keys(_toposort).forEach(function (key) {
|
|
2058
|
-
if (key === "default" || key === "__esModule") return;
|
|
2059
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2060
|
-
if (key in exports && exports[key] === _toposort[key]) return;
|
|
2061
|
-
Object.defineProperty(exports, key, {
|
|
2062
|
-
enumerable: true,
|
|
2063
|
-
get: function () {
|
|
2064
|
-
return _toposort[key];
|
|
2065
|
-
}
|
|
2066
|
-
});
|
|
2067
|
-
});
|
|
2068
|
-
|
|
2069
|
-
var _findLargest = __webpack_require__(/*! ./findLargest.js */ "../core/build/findLargest.js");
|
|
2070
|
-
|
|
2071
|
-
Object.keys(_findLargest).forEach(function (key) {
|
|
2072
|
-
if (key === "default" || key === "__esModule") return;
|
|
2073
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2074
|
-
if (key in exports && exports[key] === _findLargest[key]) return;
|
|
2075
|
-
Object.defineProperty(exports, key, {
|
|
2076
|
-
enumerable: true,
|
|
2077
|
-
get: function () {
|
|
2078
|
-
return _findLargest[key];
|
|
2079
|
-
}
|
|
2080
|
-
});
|
|
2081
|
-
});
|
|
2429
|
+
exports.GitUtil = GitUtil;
|
|
2430
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./limiter */ "../core/build/limiter.js"), exports);
|
|
2431
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./typedEmitter */ "../core/build/typedEmitter.js"), exports);
|
|
2432
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./packageVersion */ "../core/build/packageVersion.js"), exports);
|
|
2433
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./config */ "../core/build/config.js"), exports);
|
|
2434
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types/pjson */ "../core/build/types/pjson.js"), exports);
|
|
2435
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./workers */ "../core/build/workers/index.js"), exports);
|
|
2082
2436
|
|
|
2083
|
-
|
|
2437
|
+
var commandRegistry_1 = __webpack_require__(/*! ./commandRegistry */ "../core/build/commandRegistry.js");
|
|
2084
2438
|
|
|
2085
|
-
|
|
2439
|
+
Object.defineProperty(exports, "CommandRegistry", ({
|
|
2440
|
+
enumerable: true,
|
|
2441
|
+
get: function () {
|
|
2442
|
+
return commandRegistry_1.CommandRegistry;
|
|
2443
|
+
}
|
|
2444
|
+
}));
|
|
2445
|
+
|
|
2446
|
+
var command_1 = __webpack_require__(/*! ./command */ "../core/build/command.js");
|
|
2447
|
+
|
|
2448
|
+
Object.defineProperty(exports, "Command", ({
|
|
2449
|
+
enumerable: true,
|
|
2450
|
+
get: function () {
|
|
2451
|
+
return command_1.Command;
|
|
2452
|
+
}
|
|
2453
|
+
}));
|
|
2454
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./toposort */ "../core/build/toposort.js"), exports);
|
|
2455
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./findLargest */ "../core/build/findLargest.js"), exports);
|
|
2086
2456
|
|
|
2087
2457
|
/***/ }),
|
|
2088
2458
|
|
|
@@ -2095,13 +2465,13 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
2095
2465
|
"use strict";
|
|
2096
2466
|
|
|
2097
2467
|
|
|
2468
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2469
|
+
|
|
2098
2470
|
Object.defineProperty(exports, "__esModule", ({
|
|
2099
2471
|
value: true
|
|
2100
2472
|
}));
|
|
2101
2473
|
exports.Limiter = void 0;
|
|
2102
2474
|
|
|
2103
|
-
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2104
|
-
|
|
2105
2475
|
class Limiter {
|
|
2106
2476
|
constructor(concurrency) {
|
|
2107
2477
|
this.concurrency = concurrency;
|
|
@@ -2172,11 +2542,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2172
2542
|
}));
|
|
2173
2543
|
exports.PackageVersion = void 0;
|
|
2174
2544
|
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
2178
|
-
|
|
2179
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2545
|
+
const StringUtil = __webpack_require__(/*! ./stringUtil */ "../core/build/stringUtil.js");
|
|
2180
2546
|
|
|
2181
2547
|
class PackageVersion {
|
|
2182
2548
|
constructor(major, minor, patch, preRelease, buildNumber) {
|
|
@@ -2377,10 +2743,10 @@ class PackageVersion {
|
|
|
2377
2743
|
return this.major > version.major || this.minor > version.minor || this.patch > version.patch || this.buildNumber > version.buildNumber;
|
|
2378
2744
|
}
|
|
2379
2745
|
|
|
2380
|
-
}
|
|
2746
|
+
}
|
|
2381
2747
|
|
|
2748
|
+
exports.PackageVersion = PackageVersion; // https://regex101.com/r/90PEY9/1
|
|
2382
2749
|
|
|
2383
|
-
exports.PackageVersion = PackageVersion;
|
|
2384
2750
|
PackageVersion.fullTextMatcher = /(\d+)(\.(\d+)(\.(\d+)(\.(\d+))?(-([^\.]+)\.(\d+))?)?)?/;
|
|
2385
2751
|
PackageVersion.lineMatcher = /^(\d+)(\.(\d+)(\.(\d+)(\.(\d+))?(-([^\.]+)\.(\d+))?)?)?$/;
|
|
2386
2752
|
|
|
@@ -2400,21 +2766,15 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2400
2766
|
}));
|
|
2401
2767
|
exports.findTargetDir = exports.ensureAbsolute = exports.pathExists = void 0;
|
|
2402
2768
|
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
var _minimatch = _interopRequireDefault(__webpack_require__(/*! minimatch */ "../../node_modules/minimatch/minimatch.js"));
|
|
2406
|
-
|
|
2407
|
-
var fs = _interopRequireWildcard(__webpack_require__(/*! fs */ "fs"));
|
|
2769
|
+
const path = __webpack_require__(/*! path */ "path");
|
|
2408
2770
|
|
|
2409
|
-
|
|
2771
|
+
const minimatch = __webpack_require__(/*! minimatch */ "../../node_modules/minimatch/minimatch.js");
|
|
2410
2772
|
|
|
2411
|
-
|
|
2773
|
+
const fs = __webpack_require__(/*! fs */ "fs");
|
|
2412
2774
|
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
2775
|
+
const os = __webpack_require__(/*! os */ "os");
|
|
2416
2776
|
|
|
2417
|
-
|
|
2777
|
+
const FileUtil = __webpack_require__(/*! ./fileUtil */ "../core/build/fileUtil.js");
|
|
2418
2778
|
|
|
2419
2779
|
const pathExists = pth => {
|
|
2420
2780
|
try {
|
|
@@ -2474,7 +2834,7 @@ const findTargetDir = targetDir => {
|
|
|
2474
2834
|
|
|
2475
2835
|
const relativePath = path.relative(searchPath, targetDir);
|
|
2476
2836
|
|
|
2477
|
-
if (workspaces.some(pattern => (
|
|
2837
|
+
if (workspaces.some(pattern => minimatch(relativePath, pattern))) {
|
|
2478
2838
|
targetDir = searchPath;
|
|
2479
2839
|
break;
|
|
2480
2840
|
}
|
|
@@ -2502,8 +2862,7 @@ exports.findTargetDir = findTargetDir;
|
|
|
2502
2862
|
Object.defineProperty(exports, "__esModule", ({
|
|
2503
2863
|
value: true
|
|
2504
2864
|
}));
|
|
2505
|
-
exports.generateId =
|
|
2506
|
-
exports.generateDescriptionName = exports.removeOrg = exports.upperCaseFirst = exports.padStart = void 0;
|
|
2865
|
+
exports.generateId = exports.generateDescriptionName = exports.removeOrg = exports.upperCaseFirst = exports.padStart = void 0;
|
|
2507
2866
|
|
|
2508
2867
|
const padStart = (input, targetLength, padString = " ") => {
|
|
2509
2868
|
targetLength = targetLength >> 0;
|
|
@@ -2543,11 +2902,11 @@ const generateDescriptionName = (currentDescription, packageName) => {
|
|
|
2543
2902
|
return match[1];
|
|
2544
2903
|
}
|
|
2545
2904
|
|
|
2546
|
-
const normalizedName = removeOrg(packageName);
|
|
2905
|
+
const normalizedName = (0, exports.removeOrg)(packageName);
|
|
2547
2906
|
const split = normalizedName.split(".");
|
|
2548
2907
|
const namespaces = split.splice(0, split.length - 1);
|
|
2549
2908
|
let name = split[0];
|
|
2550
|
-
name = name.length <= 3 ? name.toUpperCase() : upperCaseFirst(name);
|
|
2909
|
+
name = name.length <= 3 ? name.toUpperCase() : (0, exports.upperCaseFirst)(name);
|
|
2551
2910
|
return namespaces.map(namespace => namespace.toUpperCase()).concat([name]).join(".");
|
|
2552
2911
|
};
|
|
2553
2912
|
|
|
@@ -2562,6 +2921,8 @@ function generateId() {
|
|
|
2562
2921
|
return S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4();
|
|
2563
2922
|
}
|
|
2564
2923
|
|
|
2924
|
+
exports.generateId = generateId;
|
|
2925
|
+
|
|
2565
2926
|
/***/ }),
|
|
2566
2927
|
|
|
2567
2928
|
/***/ "../core/build/toposort.js":
|
|
@@ -2623,9 +2984,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2623
2984
|
}));
|
|
2624
2985
|
exports.TypedEmitter = void 0;
|
|
2625
2986
|
|
|
2626
|
-
|
|
2987
|
+
const events_1 = __webpack_require__(/*! events */ "events");
|
|
2627
2988
|
|
|
2628
|
-
class TypedEmitter extends
|
|
2989
|
+
class TypedEmitter extends events_1.EventEmitter {
|
|
2629
2990
|
on(event, listener) {
|
|
2630
2991
|
return super.on(event, listener);
|
|
2631
2992
|
}
|
|
@@ -2672,46 +3033,26 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2672
3033
|
"use strict";
|
|
2673
3034
|
|
|
2674
3035
|
|
|
3036
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
3037
|
+
|
|
2675
3038
|
Object.defineProperty(exports, "__esModule", ({
|
|
2676
3039
|
value: true
|
|
2677
3040
|
}));
|
|
2678
|
-
var _exportNames = {
|
|
2679
|
-
WorkMaster: true
|
|
2680
|
-
};
|
|
2681
3041
|
exports.WorkMaster = void 0;
|
|
2682
3042
|
|
|
2683
|
-
__webpack_require__(/*!
|
|
2684
|
-
|
|
2685
|
-
var cp = _interopRequireWildcard(__webpack_require__(/*! child_process */ "child_process"));
|
|
3043
|
+
const tslib_1 = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
|
|
2686
3044
|
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
var _typedEmitter = __webpack_require__(/*! ../typedEmitter.js */ "../core/build/typedEmitter.js");
|
|
2690
|
-
|
|
2691
|
-
var _slave = __webpack_require__(/*! ./slave.js */ "../core/build/workers/slave.js");
|
|
2692
|
-
|
|
2693
|
-
Object.keys(_slave).forEach(function (key) {
|
|
2694
|
-
if (key === "default" || key === "__esModule") return;
|
|
2695
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2696
|
-
if (key in exports && exports[key] === _slave[key]) return;
|
|
2697
|
-
Object.defineProperty(exports, key, {
|
|
2698
|
-
enumerable: true,
|
|
2699
|
-
get: function () {
|
|
2700
|
-
return _slave[key];
|
|
2701
|
-
}
|
|
2702
|
-
});
|
|
2703
|
-
});
|
|
3045
|
+
const cp = __webpack_require__(/*! child_process */ "child_process");
|
|
2704
3046
|
|
|
2705
|
-
|
|
3047
|
+
const stringUtil_1 = __webpack_require__(/*! ../stringUtil */ "../core/build/stringUtil.js");
|
|
2706
3048
|
|
|
2707
|
-
|
|
3049
|
+
const typedEmitter_1 = __webpack_require__(/*! ../typedEmitter */ "../core/build/typedEmitter.js");
|
|
2708
3050
|
|
|
2709
|
-
class WorkMaster extends
|
|
3051
|
+
class WorkMaster extends typedEmitter_1.TypedEmitter {
|
|
2710
3052
|
constructor(childPath) {
|
|
2711
3053
|
super();
|
|
2712
3054
|
this.childPath = childPath;
|
|
2713
3055
|
this.messageCbs = new Map();
|
|
2714
|
-
this.id = (0, _stringUtil.generateId)();
|
|
2715
3056
|
|
|
2716
3057
|
this.onMessage = message => {
|
|
2717
3058
|
if (typeof message !== "object") {
|
|
@@ -2729,9 +3070,9 @@ class WorkMaster extends _typedEmitter.TypedEmitter {
|
|
|
2729
3070
|
};
|
|
2730
3071
|
}
|
|
2731
3072
|
|
|
2732
|
-
|
|
3073
|
+
getWorker() {
|
|
2733
3074
|
if (this.worker === undefined) {
|
|
2734
|
-
|
|
3075
|
+
this.spawn();
|
|
2735
3076
|
}
|
|
2736
3077
|
|
|
2737
3078
|
return this.worker;
|
|
@@ -2739,47 +3080,32 @@ class WorkMaster extends _typedEmitter.TypedEmitter {
|
|
|
2739
3080
|
|
|
2740
3081
|
spawn() {
|
|
2741
3082
|
if (this.worker !== undefined) {
|
|
2742
|
-
return
|
|
3083
|
+
return;
|
|
2743
3084
|
}
|
|
2744
3085
|
|
|
2745
3086
|
this.worker = new Proxy({}, {
|
|
2746
|
-
get: (_, property) => {
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
return (...args) => new Promise((resolve, reject) => {
|
|
2752
|
-
const messageId = (0, _stringUtil.generateId)();
|
|
2753
|
-
this.messageCbs.set(messageId, message => {
|
|
2754
|
-
this.messageCbs.delete(messageId);
|
|
3087
|
+
get: (_, property) => (...args) => new Promise((resolve, reject) => {
|
|
3088
|
+
const messageId = (0, stringUtil_1.generateId)();
|
|
3089
|
+
this.messageCbs.set(messageId, message => {
|
|
3090
|
+
this.messageCbs.delete(messageId);
|
|
2755
3091
|
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
3092
|
+
if (message.error !== undefined) {
|
|
3093
|
+
return reject(message.error);
|
|
3094
|
+
}
|
|
2759
3095
|
|
|
2760
|
-
|
|
2761
|
-
});
|
|
2762
|
-
this.cp.send({
|
|
2763
|
-
id: messageId,
|
|
2764
|
-
data: args,
|
|
2765
|
-
name: property
|
|
2766
|
-
});
|
|
3096
|
+
resolve(message.data);
|
|
2767
3097
|
});
|
|
2768
|
-
|
|
3098
|
+
this.cp.send({
|
|
3099
|
+
id: messageId,
|
|
3100
|
+
data: args,
|
|
3101
|
+
name: property
|
|
3102
|
+
});
|
|
3103
|
+
})
|
|
2769
3104
|
});
|
|
2770
3105
|
this.cp = cp.fork(this.childPath, undefined, {
|
|
2771
3106
|
stdio: "inherit"
|
|
2772
3107
|
});
|
|
2773
|
-
|
|
2774
|
-
const handleInit = () => {
|
|
2775
|
-
this.cp.off("message", handleInit);
|
|
2776
|
-
this.cp.on("message", this.onMessage);
|
|
2777
|
-
resolve();
|
|
2778
|
-
};
|
|
2779
|
-
|
|
2780
|
-
this.cp.on("message", handleInit);
|
|
2781
|
-
});
|
|
2782
|
-
return promise;
|
|
3108
|
+
this.cp.on("message", this.onMessage);
|
|
2783
3109
|
}
|
|
2784
3110
|
|
|
2785
3111
|
emit(event, data, ...args) {
|
|
@@ -2793,6 +3119,7 @@ class WorkMaster extends _typedEmitter.TypedEmitter {
|
|
|
2793
3119
|
}
|
|
2794
3120
|
|
|
2795
3121
|
exports.WorkMaster = WorkMaster;
|
|
3122
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./slave */ "../core/build/workers/slave.js"), exports);
|
|
2796
3123
|
|
|
2797
3124
|
/***/ }),
|
|
2798
3125
|
|
|
@@ -2810,9 +3137,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2810
3137
|
}));
|
|
2811
3138
|
exports.WorkSlave = void 0;
|
|
2812
3139
|
|
|
2813
|
-
|
|
3140
|
+
const typedEmitter_1 = __webpack_require__(/*! ../typedEmitter */ "../core/build/typedEmitter.js");
|
|
2814
3141
|
|
|
2815
|
-
class WorkSlave extends
|
|
3142
|
+
class WorkSlave extends typedEmitter_1.TypedEmitter {
|
|
2816
3143
|
constructor() {
|
|
2817
3144
|
super();
|
|
2818
3145
|
|
|
@@ -2853,7 +3180,6 @@ class WorkSlave extends _typedEmitter.TypedEmitter {
|
|
|
2853
3180
|
};
|
|
2854
3181
|
|
|
2855
3182
|
process.on("message", this.processMessage);
|
|
2856
|
-
process.send("");
|
|
2857
3183
|
}
|
|
2858
3184
|
|
|
2859
3185
|
emit(event, data, ...args) {
|
|
@@ -2932,6 +3258,7 @@ const buildFolders = async options => {
|
|
|
2932
3258
|
path: folderPath,
|
|
2933
3259
|
data: packageData
|
|
2934
3260
|
}] of sortedPackages) {
|
|
3261
|
+
ensureTsConfig(folderPath);
|
|
2935
3262
|
const data = (0, _packages.loadDataFromFolder)(folderPath);
|
|
2936
3263
|
|
|
2937
3264
|
const logStep = step => (0, _util.logPackageMessage)(data.Package, step, index, sortedPackages.size);
|
|
@@ -2966,6 +3293,28 @@ const buildFolders = async options => {
|
|
|
2966
3293
|
|
|
2967
3294
|
exports.buildFolders = buildFolders;
|
|
2968
3295
|
|
|
3296
|
+
const ensureTsConfig = folderPath => {
|
|
3297
|
+
const tsconfigPath = path.join(folderPath, "tsconfig.json");
|
|
3298
|
+
|
|
3299
|
+
if (!fs.existsSync(tsconfigPath)) {
|
|
3300
|
+
const content = {};
|
|
3301
|
+
applyTsConfigOption(content);
|
|
3302
|
+
fs.writeFileSync(tsconfigPath, JSON.stringify(content, undefined, "\t"), "utf8");
|
|
3303
|
+
} else {
|
|
3304
|
+
const content = JSON.parse(fs.readFileSync(tsconfigPath, "utf8"));
|
|
3305
|
+
applyTsConfigOption(content);
|
|
3306
|
+
fs.writeFileSync(tsconfigPath, JSON.stringify(content, undefined, "\t"), "utf8");
|
|
3307
|
+
}
|
|
3308
|
+
};
|
|
3309
|
+
|
|
3310
|
+
const applyTsConfigOption = data => {
|
|
3311
|
+
var _data$compilerOptions;
|
|
3312
|
+
|
|
3313
|
+
data.compilerOptions = (_data$compilerOptions = data.compilerOptions) !== null && _data$compilerOptions !== void 0 ? _data$compilerOptions : {};
|
|
3314
|
+
data.compilerOptions.target = "es5";
|
|
3315
|
+
data.compilerOptions.lib = ["es5", "dom"];
|
|
3316
|
+
};
|
|
3317
|
+
|
|
2969
3318
|
const buildSortedPackageMap = folders => {
|
|
2970
3319
|
const packages = Array.from(folders).reduce((acc, folderPath) => {
|
|
2971
3320
|
const data = _igTools.FileUtil.readJsonFile(path.join(folderPath, "package.json"));
|
|
@@ -3808,17 +4157,39 @@ var glob = _interopRequireWildcard(__webpack_require__(/*! glob */ "glob"));
|
|
|
3808
4157
|
|
|
3809
4158
|
var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
3810
4159
|
|
|
4160
|
+
var fs = _interopRequireWildcard(__webpack_require__(/*! fs */ "fs"));
|
|
4161
|
+
|
|
3811
4162
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
3812
4163
|
|
|
3813
4164
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
3814
4165
|
|
|
4166
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
4167
|
+
|
|
4168
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
4169
|
+
|
|
4170
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4171
|
+
|
|
3815
4172
|
const build = async (folderPath, options) => {
|
|
3816
|
-
const
|
|
4173
|
+
const {
|
|
4174
|
+
config
|
|
4175
|
+
} = ts.readConfigFile(path.join(folderPath, "tsconfig.json"), path => {
|
|
4176
|
+
try {
|
|
4177
|
+
return fs.readFileSync(path, "utf8");
|
|
4178
|
+
} catch {
|
|
4179
|
+
return undefined;
|
|
4180
|
+
}
|
|
4181
|
+
});
|
|
4182
|
+
config.compilerOptions.lib = ["es5", "dom"];
|
|
4183
|
+
const result = ts.convertCompilerOptionsFromJson(config.compilerOptions, folderPath);
|
|
4184
|
+
|
|
4185
|
+
const compilerOptions = _objectSpread(_objectSpread({}, result.options), {}, {
|
|
3817
4186
|
removeComments: false,
|
|
3818
4187
|
declaration: true,
|
|
3819
4188
|
sourceMap: false,
|
|
3820
|
-
outFile: options.outFile
|
|
3821
|
-
|
|
4189
|
+
outFile: options.outFile,
|
|
4190
|
+
target: ts.ScriptTarget.ES5
|
|
4191
|
+
});
|
|
4192
|
+
|
|
3822
4193
|
const host = ts.createCompilerHost(compilerOptions);
|
|
3823
4194
|
|
|
3824
4195
|
host.getCurrentDirectory = () => folderPath;
|
|
@@ -3906,7 +4277,7 @@ const createErrorMessage = diagnostic => {
|
|
|
3906
4277
|
Object.defineProperty(exports, "__esModule", ({
|
|
3907
4278
|
value: true
|
|
3908
4279
|
}));
|
|
3909
|
-
exports.
|
|
4280
|
+
exports.resolveArgs = exports.resolveAliases = exports.parsePackageDomains = exports.logPackageMessage = void 0;
|
|
3910
4281
|
|
|
3911
4282
|
var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
3912
4283
|
|
|
@@ -4037,9 +4408,12 @@ exports.parsePackageDomains = parsePackageDomains;
|
|
|
4037
4408
|
\**********************************************************/
|
|
4038
4409
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4039
4410
|
|
|
4411
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4040
4412
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4041
4413
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4042
4414
|
|
|
4415
|
+
var TypeError = global.TypeError;
|
|
4416
|
+
|
|
4043
4417
|
// `Assert: IsCallable(argument) is true`
|
|
4044
4418
|
module.exports = function (argument) {
|
|
4045
4419
|
if (isCallable(argument)) return argument;
|
|
@@ -4055,9 +4429,12 @@ module.exports = function (argument) {
|
|
|
4055
4429
|
\*************************************************************/
|
|
4056
4430
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4057
4431
|
|
|
4432
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4058
4433
|
var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "../../node_modules/core-js/internals/is-constructor.js");
|
|
4059
4434
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4060
4435
|
|
|
4436
|
+
var TypeError = global.TypeError;
|
|
4437
|
+
|
|
4061
4438
|
// `Assert: IsConstructor(argument) is true`
|
|
4062
4439
|
module.exports = function (argument) {
|
|
4063
4440
|
if (isConstructor(argument)) return argument;
|
|
@@ -4073,10 +4450,14 @@ module.exports = function (argument) {
|
|
|
4073
4450
|
\********************************************************************/
|
|
4074
4451
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4075
4452
|
|
|
4453
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4076
4454
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4077
4455
|
|
|
4456
|
+
var String = global.String;
|
|
4457
|
+
var TypeError = global.TypeError;
|
|
4458
|
+
|
|
4078
4459
|
module.exports = function (argument) {
|
|
4079
|
-
if (typeof argument
|
|
4460
|
+
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
4080
4461
|
throw TypeError("Can't set " + String(argument) + ' as a prototype');
|
|
4081
4462
|
};
|
|
4082
4463
|
|
|
@@ -4087,11 +4468,16 @@ module.exports = function (argument) {
|
|
|
4087
4468
|
/*!***********************************************************!*\
|
|
4088
4469
|
!*** ../../node_modules/core-js/internals/an-instance.js ***!
|
|
4089
4470
|
\***********************************************************/
|
|
4090
|
-
/***/ ((module) => {
|
|
4471
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4472
|
+
|
|
4473
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4474
|
+
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
4475
|
+
|
|
4476
|
+
var TypeError = global.TypeError;
|
|
4091
4477
|
|
|
4092
|
-
module.exports = function (it,
|
|
4093
|
-
if (it
|
|
4094
|
-
throw TypeError('Incorrect
|
|
4478
|
+
module.exports = function (it, Prototype) {
|
|
4479
|
+
if (isPrototypeOf(Prototype, it)) return it;
|
|
4480
|
+
throw TypeError('Incorrect invocation');
|
|
4095
4481
|
};
|
|
4096
4482
|
|
|
4097
4483
|
|
|
@@ -4103,8 +4489,12 @@ module.exports = function (it, Constructor, name) {
|
|
|
4103
4489
|
\*********************************************************/
|
|
4104
4490
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4105
4491
|
|
|
4492
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4106
4493
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
4107
4494
|
|
|
4495
|
+
var String = global.String;
|
|
4496
|
+
var TypeError = global.TypeError;
|
|
4497
|
+
|
|
4108
4498
|
// `Assert: Type(argument) is Object`
|
|
4109
4499
|
module.exports = function (argument) {
|
|
4110
4500
|
if (isObject(argument)) return argument;
|
|
@@ -4121,14 +4511,14 @@ module.exports = function (argument) {
|
|
|
4121
4511
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4122
4512
|
|
|
4123
4513
|
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../../node_modules/core-js/internals/to-indexed-object.js");
|
|
4124
|
-
var toLength = __webpack_require__(/*! ../internals/to-length */ "../../node_modules/core-js/internals/to-length.js");
|
|
4125
4514
|
var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../../node_modules/core-js/internals/to-absolute-index.js");
|
|
4515
|
+
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../../node_modules/core-js/internals/length-of-array-like.js");
|
|
4126
4516
|
|
|
4127
4517
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
4128
4518
|
var createMethod = function (IS_INCLUDES) {
|
|
4129
4519
|
return function ($this, el, fromIndex) {
|
|
4130
4520
|
var O = toIndexedObject($this);
|
|
4131
|
-
var length =
|
|
4521
|
+
var length = lengthOfArrayLike(O);
|
|
4132
4522
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
4133
4523
|
var value;
|
|
4134
4524
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -4154,6 +4544,19 @@ module.exports = {
|
|
|
4154
4544
|
};
|
|
4155
4545
|
|
|
4156
4546
|
|
|
4547
|
+
/***/ }),
|
|
4548
|
+
|
|
4549
|
+
/***/ "../../node_modules/core-js/internals/array-slice.js":
|
|
4550
|
+
/*!***********************************************************!*\
|
|
4551
|
+
!*** ../../node_modules/core-js/internals/array-slice.js ***!
|
|
4552
|
+
\***********************************************************/
|
|
4553
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4554
|
+
|
|
4555
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4556
|
+
|
|
4557
|
+
module.exports = uncurryThis([].slice);
|
|
4558
|
+
|
|
4559
|
+
|
|
4157
4560
|
/***/ }),
|
|
4158
4561
|
|
|
4159
4562
|
/***/ "../../node_modules/core-js/internals/check-correctness-of-iteration.js":
|
|
@@ -4208,12 +4611,15 @@ module.exports = function (exec, SKIP_CLOSING) {
|
|
|
4208
4611
|
/*!***********************************************************!*\
|
|
4209
4612
|
!*** ../../node_modules/core-js/internals/classof-raw.js ***!
|
|
4210
4613
|
\***********************************************************/
|
|
4211
|
-
/***/ ((module) => {
|
|
4614
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4212
4615
|
|
|
4213
|
-
var
|
|
4616
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4617
|
+
|
|
4618
|
+
var toString = uncurryThis({}.toString);
|
|
4619
|
+
var stringSlice = uncurryThis(''.slice);
|
|
4214
4620
|
|
|
4215
4621
|
module.exports = function (it) {
|
|
4216
|
-
return toString
|
|
4622
|
+
return stringSlice(toString(it), 8, -1);
|
|
4217
4623
|
};
|
|
4218
4624
|
|
|
4219
4625
|
|
|
@@ -4225,12 +4631,15 @@ module.exports = function (it) {
|
|
|
4225
4631
|
\*******************************************************/
|
|
4226
4632
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4227
4633
|
|
|
4634
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4228
4635
|
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../../node_modules/core-js/internals/to-string-tag-support.js");
|
|
4229
4636
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4230
4637
|
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
4231
4638
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
4232
4639
|
|
|
4233
4640
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
4641
|
+
var Object = global.Object;
|
|
4642
|
+
|
|
4234
4643
|
// ES3 wrong here
|
|
4235
4644
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
4236
4645
|
|
|
@@ -4262,7 +4671,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
4262
4671
|
\***************************************************************************/
|
|
4263
4672
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4264
4673
|
|
|
4265
|
-
var
|
|
4674
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
4266
4675
|
var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../../node_modules/core-js/internals/own-keys.js");
|
|
4267
4676
|
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
|
4268
4677
|
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
@@ -4273,7 +4682,7 @@ module.exports = function (target, source) {
|
|
|
4273
4682
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
4274
4683
|
for (var i = 0; i < keys.length; i++) {
|
|
4275
4684
|
var key = keys[i];
|
|
4276
|
-
if (!
|
|
4685
|
+
if (!hasOwn(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
4277
4686
|
}
|
|
4278
4687
|
};
|
|
4279
4688
|
|
|
@@ -4450,16 +4859,22 @@ var match, version;
|
|
|
4450
4859
|
|
|
4451
4860
|
if (v8) {
|
|
4452
4861
|
match = v8.split('.');
|
|
4453
|
-
|
|
4454
|
-
|
|
4862
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
4863
|
+
// but their correct versions are not interesting for us
|
|
4864
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
4865
|
+
}
|
|
4866
|
+
|
|
4867
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
4868
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
4869
|
+
if (!version && userAgent) {
|
|
4455
4870
|
match = userAgent.match(/Edge\/(\d+)/);
|
|
4456
4871
|
if (!match || match[1] >= 74) {
|
|
4457
4872
|
match = userAgent.match(/Chrome\/(\d+)/);
|
|
4458
|
-
if (match) version = match[1];
|
|
4873
|
+
if (match) version = +match[1];
|
|
4459
4874
|
}
|
|
4460
4875
|
}
|
|
4461
4876
|
|
|
4462
|
-
module.exports = version
|
|
4877
|
+
module.exports = version;
|
|
4463
4878
|
|
|
4464
4879
|
|
|
4465
4880
|
/***/ }),
|
|
@@ -4534,7 +4949,7 @@ module.exports = function (options, source) {
|
|
|
4534
4949
|
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
4535
4950
|
// contained in target
|
|
4536
4951
|
if (!FORCED && targetProperty !== undefined) {
|
|
4537
|
-
if (typeof sourceProperty
|
|
4952
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
4538
4953
|
copyConstructorProperties(sourceProperty, targetProperty);
|
|
4539
4954
|
}
|
|
4540
4955
|
// add a flag to not completely full polyfills
|
|
@@ -4564,6 +4979,25 @@ module.exports = function (exec) {
|
|
|
4564
4979
|
};
|
|
4565
4980
|
|
|
4566
4981
|
|
|
4982
|
+
/***/ }),
|
|
4983
|
+
|
|
4984
|
+
/***/ "../../node_modules/core-js/internals/function-apply.js":
|
|
4985
|
+
/*!**************************************************************!*\
|
|
4986
|
+
!*** ../../node_modules/core-js/internals/function-apply.js ***!
|
|
4987
|
+
\**************************************************************/
|
|
4988
|
+
/***/ ((module) => {
|
|
4989
|
+
|
|
4990
|
+
var FunctionPrototype = Function.prototype;
|
|
4991
|
+
var apply = FunctionPrototype.apply;
|
|
4992
|
+
var bind = FunctionPrototype.bind;
|
|
4993
|
+
var call = FunctionPrototype.call;
|
|
4994
|
+
|
|
4995
|
+
// eslint-disable-next-line es/no-reflect -- safe
|
|
4996
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bind(apply) : function () {
|
|
4997
|
+
return call.apply(apply, arguments);
|
|
4998
|
+
});
|
|
4999
|
+
|
|
5000
|
+
|
|
4567
5001
|
/***/ }),
|
|
4568
5002
|
|
|
4569
5003
|
/***/ "../../node_modules/core-js/internals/function-bind-context.js":
|
|
@@ -4572,32 +5006,35 @@ module.exports = function (exec) {
|
|
|
4572
5006
|
\*********************************************************************/
|
|
4573
5007
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4574
5008
|
|
|
5009
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4575
5010
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
4576
5011
|
|
|
5012
|
+
var bind = uncurryThis(uncurryThis.bind);
|
|
5013
|
+
|
|
4577
5014
|
// optional / simple context binding
|
|
4578
|
-
module.exports = function (fn, that
|
|
5015
|
+
module.exports = function (fn, that) {
|
|
4579
5016
|
aCallable(fn);
|
|
4580
|
-
|
|
4581
|
-
switch (length) {
|
|
4582
|
-
case 0: return function () {
|
|
4583
|
-
return fn.call(that);
|
|
4584
|
-
};
|
|
4585
|
-
case 1: return function (a) {
|
|
4586
|
-
return fn.call(that, a);
|
|
4587
|
-
};
|
|
4588
|
-
case 2: return function (a, b) {
|
|
4589
|
-
return fn.call(that, a, b);
|
|
4590
|
-
};
|
|
4591
|
-
case 3: return function (a, b, c) {
|
|
4592
|
-
return fn.call(that, a, b, c);
|
|
4593
|
-
};
|
|
4594
|
-
}
|
|
4595
|
-
return function (/* ...args */) {
|
|
5017
|
+
return that === undefined ? fn : bind ? bind(fn, that) : function (/* ...args */) {
|
|
4596
5018
|
return fn.apply(that, arguments);
|
|
4597
5019
|
};
|
|
4598
5020
|
};
|
|
4599
5021
|
|
|
4600
5022
|
|
|
5023
|
+
/***/ }),
|
|
5024
|
+
|
|
5025
|
+
/***/ "../../node_modules/core-js/internals/function-call.js":
|
|
5026
|
+
/*!*************************************************************!*\
|
|
5027
|
+
!*** ../../node_modules/core-js/internals/function-call.js ***!
|
|
5028
|
+
\*************************************************************/
|
|
5029
|
+
/***/ ((module) => {
|
|
5030
|
+
|
|
5031
|
+
var call = Function.prototype.call;
|
|
5032
|
+
|
|
5033
|
+
module.exports = call.bind ? call.bind(call) : function () {
|
|
5034
|
+
return call.apply(call, arguments);
|
|
5035
|
+
};
|
|
5036
|
+
|
|
5037
|
+
|
|
4601
5038
|
/***/ }),
|
|
4602
5039
|
|
|
4603
5040
|
/***/ "../../node_modules/core-js/internals/function-name.js":
|
|
@@ -4607,13 +5044,13 @@ module.exports = function (fn, that, length) {
|
|
|
4607
5044
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4608
5045
|
|
|
4609
5046
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
4610
|
-
var
|
|
5047
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
4611
5048
|
|
|
4612
5049
|
var FunctionPrototype = Function.prototype;
|
|
4613
5050
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
4614
5051
|
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
4615
5052
|
|
|
4616
|
-
var EXISTS =
|
|
5053
|
+
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
4617
5054
|
// additional protection from minified / mangled / dropped function names
|
|
4618
5055
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
4619
5056
|
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
@@ -4625,6 +5062,28 @@ module.exports = {
|
|
|
4625
5062
|
};
|
|
4626
5063
|
|
|
4627
5064
|
|
|
5065
|
+
/***/ }),
|
|
5066
|
+
|
|
5067
|
+
/***/ "../../node_modules/core-js/internals/function-uncurry-this.js":
|
|
5068
|
+
/*!*********************************************************************!*\
|
|
5069
|
+
!*** ../../node_modules/core-js/internals/function-uncurry-this.js ***!
|
|
5070
|
+
\*********************************************************************/
|
|
5071
|
+
/***/ ((module) => {
|
|
5072
|
+
|
|
5073
|
+
var FunctionPrototype = Function.prototype;
|
|
5074
|
+
var bind = FunctionPrototype.bind;
|
|
5075
|
+
var call = FunctionPrototype.call;
|
|
5076
|
+
var callBind = bind && bind.bind(call);
|
|
5077
|
+
|
|
5078
|
+
module.exports = bind ? function (fn) {
|
|
5079
|
+
return fn && callBind(call, fn);
|
|
5080
|
+
} : function (fn) {
|
|
5081
|
+
return fn && function () {
|
|
5082
|
+
return call.apply(fn, arguments);
|
|
5083
|
+
};
|
|
5084
|
+
};
|
|
5085
|
+
|
|
5086
|
+
|
|
4628
5087
|
/***/ }),
|
|
4629
5088
|
|
|
4630
5089
|
/***/ "../../node_modules/core-js/internals/get-built-in.js":
|
|
@@ -4675,14 +5134,19 @@ module.exports = function (it) {
|
|
|
4675
5134
|
\************************************************************/
|
|
4676
5135
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4677
5136
|
|
|
5137
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5138
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
4678
5139
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
4679
5140
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5141
|
+
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4680
5142
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
4681
5143
|
|
|
5144
|
+
var TypeError = global.TypeError;
|
|
5145
|
+
|
|
4682
5146
|
module.exports = function (argument, usingIterator) {
|
|
4683
5147
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
4684
|
-
if (aCallable(iteratorMethod)) return anObject(
|
|
4685
|
-
throw TypeError(
|
|
5148
|
+
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
|
|
5149
|
+
throw TypeError(tryToString(argument) + ' is not iterable');
|
|
4686
5150
|
};
|
|
4687
5151
|
|
|
4688
5152
|
|
|
@@ -4730,18 +5194,21 @@ module.exports =
|
|
|
4730
5194
|
|
|
4731
5195
|
/***/ }),
|
|
4732
5196
|
|
|
4733
|
-
/***/ "../../node_modules/core-js/internals/has.js":
|
|
4734
|
-
|
|
4735
|
-
!*** ../../node_modules/core-js/internals/has.js ***!
|
|
4736
|
-
|
|
5197
|
+
/***/ "../../node_modules/core-js/internals/has-own-property.js":
|
|
5198
|
+
/*!****************************************************************!*\
|
|
5199
|
+
!*** ../../node_modules/core-js/internals/has-own-property.js ***!
|
|
5200
|
+
\****************************************************************/
|
|
4737
5201
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4738
5202
|
|
|
5203
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4739
5204
|
var toObject = __webpack_require__(/*! ../internals/to-object */ "../../node_modules/core-js/internals/to-object.js");
|
|
4740
5205
|
|
|
4741
|
-
var hasOwnProperty = {}.hasOwnProperty;
|
|
5206
|
+
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
4742
5207
|
|
|
5208
|
+
// `HasOwnProperty` abstract operation
|
|
5209
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
4743
5210
|
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
4744
|
-
return hasOwnProperty
|
|
5211
|
+
return hasOwnProperty(toObject(it), key);
|
|
4745
5212
|
};
|
|
4746
5213
|
|
|
4747
5214
|
|
|
@@ -4769,7 +5236,7 @@ var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/
|
|
|
4769
5236
|
module.exports = function (a, b) {
|
|
4770
5237
|
var console = global.console;
|
|
4771
5238
|
if (console && console.error) {
|
|
4772
|
-
arguments.length
|
|
5239
|
+
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
4773
5240
|
}
|
|
4774
5241
|
};
|
|
4775
5242
|
|
|
@@ -4816,10 +5283,13 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
4816
5283
|
\**************************************************************/
|
|
4817
5284
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4818
5285
|
|
|
5286
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5287
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4819
5288
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
4820
5289
|
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
4821
5290
|
|
|
4822
|
-
var
|
|
5291
|
+
var Object = global.Object;
|
|
5292
|
+
var split = uncurryThis(''.split);
|
|
4823
5293
|
|
|
4824
5294
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
4825
5295
|
module.exports = fails(function () {
|
|
@@ -4827,7 +5297,7 @@ module.exports = fails(function () {
|
|
|
4827
5297
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
4828
5298
|
return !Object('z').propertyIsEnumerable(0);
|
|
4829
5299
|
}) ? function (it) {
|
|
4830
|
-
return classof(it) == 'String' ? split
|
|
5300
|
+
return classof(it) == 'String' ? split(it, '') : Object(it);
|
|
4831
5301
|
} : Object;
|
|
4832
5302
|
|
|
4833
5303
|
|
|
@@ -4839,15 +5309,16 @@ module.exports = fails(function () {
|
|
|
4839
5309
|
\**************************************************************/
|
|
4840
5310
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4841
5311
|
|
|
5312
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4842
5313
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4843
5314
|
var store = __webpack_require__(/*! ../internals/shared-store */ "../../node_modules/core-js/internals/shared-store.js");
|
|
4844
5315
|
|
|
4845
|
-
var functionToString = Function.toString;
|
|
5316
|
+
var functionToString = uncurryThis(Function.toString);
|
|
4846
5317
|
|
|
4847
5318
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
4848
5319
|
if (!isCallable(store.inspectSource)) {
|
|
4849
5320
|
store.inspectSource = function (it) {
|
|
4850
|
-
return functionToString
|
|
5321
|
+
return functionToString(it);
|
|
4851
5322
|
};
|
|
4852
5323
|
}
|
|
4853
5324
|
|
|
@@ -4864,14 +5335,16 @@ module.exports = store.inspectSource;
|
|
|
4864
5335
|
|
|
4865
5336
|
var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ "../../node_modules/core-js/internals/native-weak-map.js");
|
|
4866
5337
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5338
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4867
5339
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
4868
5340
|
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
4869
|
-
var
|
|
5341
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
4870
5342
|
var shared = __webpack_require__(/*! ../internals/shared-store */ "../../node_modules/core-js/internals/shared-store.js");
|
|
4871
5343
|
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../../node_modules/core-js/internals/shared-key.js");
|
|
4872
5344
|
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../../node_modules/core-js/internals/hidden-keys.js");
|
|
4873
5345
|
|
|
4874
5346
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
5347
|
+
var TypeError = global.TypeError;
|
|
4875
5348
|
var WeakMap = global.WeakMap;
|
|
4876
5349
|
var set, get, has;
|
|
4877
5350
|
|
|
@@ -4890,35 +5363,35 @@ var getterFor = function (TYPE) {
|
|
|
4890
5363
|
|
|
4891
5364
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
4892
5365
|
var store = shared.state || (shared.state = new WeakMap());
|
|
4893
|
-
var wmget = store.get;
|
|
4894
|
-
var wmhas = store.has;
|
|
4895
|
-
var wmset = store.set;
|
|
5366
|
+
var wmget = uncurryThis(store.get);
|
|
5367
|
+
var wmhas = uncurryThis(store.has);
|
|
5368
|
+
var wmset = uncurryThis(store.set);
|
|
4896
5369
|
set = function (it, metadata) {
|
|
4897
|
-
if (wmhas
|
|
5370
|
+
if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
4898
5371
|
metadata.facade = it;
|
|
4899
|
-
wmset
|
|
5372
|
+
wmset(store, it, metadata);
|
|
4900
5373
|
return metadata;
|
|
4901
5374
|
};
|
|
4902
5375
|
get = function (it) {
|
|
4903
|
-
return wmget
|
|
5376
|
+
return wmget(store, it) || {};
|
|
4904
5377
|
};
|
|
4905
5378
|
has = function (it) {
|
|
4906
|
-
return wmhas
|
|
5379
|
+
return wmhas(store, it);
|
|
4907
5380
|
};
|
|
4908
5381
|
} else {
|
|
4909
5382
|
var STATE = sharedKey('state');
|
|
4910
5383
|
hiddenKeys[STATE] = true;
|
|
4911
5384
|
set = function (it, metadata) {
|
|
4912
|
-
if (
|
|
5385
|
+
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
4913
5386
|
metadata.facade = it;
|
|
4914
5387
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
4915
5388
|
return metadata;
|
|
4916
5389
|
};
|
|
4917
5390
|
get = function (it) {
|
|
4918
|
-
return
|
|
5391
|
+
return hasOwn(it, STATE) ? it[STATE] : {};
|
|
4919
5392
|
};
|
|
4920
5393
|
has = function (it) {
|
|
4921
|
-
return
|
|
5394
|
+
return hasOwn(it, STATE);
|
|
4922
5395
|
};
|
|
4923
5396
|
}
|
|
4924
5397
|
|
|
@@ -4962,7 +5435,7 @@ module.exports = function (it) {
|
|
|
4962
5435
|
// `IsCallable` abstract operation
|
|
4963
5436
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
4964
5437
|
module.exports = function (argument) {
|
|
4965
|
-
return typeof argument
|
|
5438
|
+
return typeof argument == 'function';
|
|
4966
5439
|
};
|
|
4967
5440
|
|
|
4968
5441
|
|
|
@@ -4974,22 +5447,24 @@ module.exports = function (argument) {
|
|
|
4974
5447
|
\**************************************************************/
|
|
4975
5448
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4976
5449
|
|
|
5450
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4977
5451
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
4978
5452
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4979
5453
|
var classof = __webpack_require__(/*! ../internals/classof */ "../../node_modules/core-js/internals/classof.js");
|
|
4980
5454
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
4981
5455
|
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
4982
5456
|
|
|
5457
|
+
var noop = function () { /* empty */ };
|
|
4983
5458
|
var empty = [];
|
|
4984
5459
|
var construct = getBuiltIn('Reflect', 'construct');
|
|
4985
5460
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
4986
|
-
var exec = constructorRegExp.exec;
|
|
4987
|
-
var INCORRECT_TO_STRING = !constructorRegExp.exec(
|
|
5461
|
+
var exec = uncurryThis(constructorRegExp.exec);
|
|
5462
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
4988
5463
|
|
|
4989
5464
|
var isConstructorModern = function (argument) {
|
|
4990
5465
|
if (!isCallable(argument)) return false;
|
|
4991
5466
|
try {
|
|
4992
|
-
construct(
|
|
5467
|
+
construct(noop, empty, argument);
|
|
4993
5468
|
return true;
|
|
4994
5469
|
} catch (error) {
|
|
4995
5470
|
return false;
|
|
@@ -5003,7 +5478,7 @@ var isConstructorLegacy = function (argument) {
|
|
|
5003
5478
|
case 'GeneratorFunction':
|
|
5004
5479
|
case 'AsyncGeneratorFunction': return false;
|
|
5005
5480
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
5006
|
-
} return INCORRECT_TO_STRING || !!exec
|
|
5481
|
+
} return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
5007
5482
|
};
|
|
5008
5483
|
|
|
5009
5484
|
// `IsConstructor` abstract operation
|
|
@@ -5060,7 +5535,7 @@ module.exports = isForced;
|
|
|
5060
5535
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5061
5536
|
|
|
5062
5537
|
module.exports = function (it) {
|
|
5063
|
-
return typeof it
|
|
5538
|
+
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
5064
5539
|
};
|
|
5065
5540
|
|
|
5066
5541
|
|
|
@@ -5083,15 +5558,19 @@ module.exports = false;
|
|
|
5083
5558
|
\*********************************************************/
|
|
5084
5559
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5085
5560
|
|
|
5086
|
-
var
|
|
5561
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5087
5562
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
5563
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5564
|
+
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
5088
5565
|
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../../node_modules/core-js/internals/use-symbol-as-uid.js");
|
|
5089
5566
|
|
|
5567
|
+
var Object = global.Object;
|
|
5568
|
+
|
|
5090
5569
|
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
5091
5570
|
return typeof it == 'symbol';
|
|
5092
5571
|
} : function (it) {
|
|
5093
5572
|
var $Symbol = getBuiltIn('Symbol');
|
|
5094
|
-
return isCallable($Symbol) && Object(it)
|
|
5573
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));
|
|
5095
5574
|
};
|
|
5096
5575
|
|
|
5097
5576
|
|
|
@@ -5103,25 +5582,33 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
5103
5582
|
\*******************************************************/
|
|
5104
5583
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5105
5584
|
|
|
5585
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5586
|
+
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5587
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5106
5588
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5589
|
+
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
5107
5590
|
var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "../../node_modules/core-js/internals/is-array-iterator-method.js");
|
|
5108
|
-
var
|
|
5109
|
-
var
|
|
5591
|
+
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../../node_modules/core-js/internals/length-of-array-like.js");
|
|
5592
|
+
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
5110
5593
|
var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../../node_modules/core-js/internals/get-iterator.js");
|
|
5111
5594
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5112
5595
|
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../../node_modules/core-js/internals/iterator-close.js");
|
|
5113
5596
|
|
|
5597
|
+
var TypeError = global.TypeError;
|
|
5598
|
+
|
|
5114
5599
|
var Result = function (stopped, result) {
|
|
5115
5600
|
this.stopped = stopped;
|
|
5116
5601
|
this.result = result;
|
|
5117
5602
|
};
|
|
5118
5603
|
|
|
5604
|
+
var ResultPrototype = Result.prototype;
|
|
5605
|
+
|
|
5119
5606
|
module.exports = function (iterable, unboundFunction, options) {
|
|
5120
5607
|
var that = options && options.that;
|
|
5121
5608
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
5122
5609
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
5123
5610
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
5124
|
-
var fn = bind(unboundFunction, that
|
|
5611
|
+
var fn = bind(unboundFunction, that);
|
|
5125
5612
|
var iterator, iterFn, index, length, result, next, step;
|
|
5126
5613
|
|
|
5127
5614
|
var stop = function (condition) {
|
|
@@ -5140,25 +5627,25 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
5140
5627
|
iterator = iterable;
|
|
5141
5628
|
} else {
|
|
5142
5629
|
iterFn = getIteratorMethod(iterable);
|
|
5143
|
-
if (!iterFn) throw TypeError(
|
|
5630
|
+
if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');
|
|
5144
5631
|
// optimisation for array iterators
|
|
5145
5632
|
if (isArrayIteratorMethod(iterFn)) {
|
|
5146
|
-
for (index = 0, length =
|
|
5633
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
5147
5634
|
result = callFn(iterable[index]);
|
|
5148
|
-
if (result && result
|
|
5635
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5149
5636
|
} return new Result(false);
|
|
5150
5637
|
}
|
|
5151
5638
|
iterator = getIterator(iterable, iterFn);
|
|
5152
5639
|
}
|
|
5153
5640
|
|
|
5154
5641
|
next = iterator.next;
|
|
5155
|
-
while (!(step =
|
|
5642
|
+
while (!(step = call(next, iterator)).done) {
|
|
5156
5643
|
try {
|
|
5157
5644
|
result = callFn(step.value);
|
|
5158
5645
|
} catch (error) {
|
|
5159
5646
|
iteratorClose(iterator, 'throw', error);
|
|
5160
5647
|
}
|
|
5161
|
-
if (typeof result == 'object' && result && result
|
|
5648
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5162
5649
|
} return new Result(false);
|
|
5163
5650
|
};
|
|
5164
5651
|
|
|
@@ -5171,6 +5658,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
5171
5658
|
\**************************************************************/
|
|
5172
5659
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5173
5660
|
|
|
5661
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5174
5662
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5175
5663
|
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../../node_modules/core-js/internals/get-method.js");
|
|
5176
5664
|
|
|
@@ -5183,7 +5671,7 @@ module.exports = function (iterator, kind, value) {
|
|
|
5183
5671
|
if (kind === 'throw') throw value;
|
|
5184
5672
|
return value;
|
|
5185
5673
|
}
|
|
5186
|
-
innerResult =
|
|
5674
|
+
innerResult = call(innerResult, iterator);
|
|
5187
5675
|
} catch (error) {
|
|
5188
5676
|
innerError = true;
|
|
5189
5677
|
innerResult = error;
|
|
@@ -5206,6 +5694,23 @@ module.exports = function (iterator, kind, value) {
|
|
|
5206
5694
|
module.exports = {};
|
|
5207
5695
|
|
|
5208
5696
|
|
|
5697
|
+
/***/ }),
|
|
5698
|
+
|
|
5699
|
+
/***/ "../../node_modules/core-js/internals/length-of-array-like.js":
|
|
5700
|
+
/*!********************************************************************!*\
|
|
5701
|
+
!*** ../../node_modules/core-js/internals/length-of-array-like.js ***!
|
|
5702
|
+
\********************************************************************/
|
|
5703
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5704
|
+
|
|
5705
|
+
var toLength = __webpack_require__(/*! ../internals/to-length */ "../../node_modules/core-js/internals/to-length.js");
|
|
5706
|
+
|
|
5707
|
+
// `LengthOfArrayLike` abstract operation
|
|
5708
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
5709
|
+
module.exports = function (obj) {
|
|
5710
|
+
return toLength(obj.length);
|
|
5711
|
+
};
|
|
5712
|
+
|
|
5713
|
+
|
|
5209
5714
|
/***/ }),
|
|
5210
5715
|
|
|
5211
5716
|
/***/ "../../node_modules/core-js/internals/microtask.js":
|
|
@@ -5215,6 +5720,7 @@ module.exports = {};
|
|
|
5215
5720
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5216
5721
|
|
|
5217
5722
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5723
|
+
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5218
5724
|
var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f;
|
|
5219
5725
|
var macrotask = __webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set;
|
|
5220
5726
|
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
@@ -5266,9 +5772,9 @@ if (!queueMicrotask) {
|
|
|
5266
5772
|
promise = Promise.resolve(undefined);
|
|
5267
5773
|
// workaround of WebKit ~ iOS Safari 10.1 bug
|
|
5268
5774
|
promise.constructor = Promise;
|
|
5269
|
-
then = promise.then;
|
|
5775
|
+
then = bind(promise.then, promise);
|
|
5270
5776
|
notify = function () {
|
|
5271
|
-
then
|
|
5777
|
+
then(flush);
|
|
5272
5778
|
};
|
|
5273
5779
|
// Node.js without promises
|
|
5274
5780
|
} else if (IS_NODE) {
|
|
@@ -5282,9 +5788,10 @@ if (!queueMicrotask) {
|
|
|
5282
5788
|
// - onreadystatechange
|
|
5283
5789
|
// - setTimeout
|
|
5284
5790
|
} else {
|
|
5791
|
+
// strange IE + webpack dev server bug - use .bind(global)
|
|
5792
|
+
macrotask = bind(macrotask, global);
|
|
5285
5793
|
notify = function () {
|
|
5286
|
-
|
|
5287
|
-
macrotask.call(global, flush);
|
|
5794
|
+
macrotask(flush);
|
|
5288
5795
|
};
|
|
5289
5796
|
}
|
|
5290
5797
|
}
|
|
@@ -5390,11 +5897,13 @@ module.exports.f = function (C) {
|
|
|
5390
5897
|
\**********************************************************************/
|
|
5391
5898
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5392
5899
|
|
|
5900
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5393
5901
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5394
5902
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
5395
5903
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5396
5904
|
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../../node_modules/core-js/internals/to-property-key.js");
|
|
5397
5905
|
|
|
5906
|
+
var TypeError = global.TypeError;
|
|
5398
5907
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
5399
5908
|
var $defineProperty = Object.defineProperty;
|
|
5400
5909
|
|
|
@@ -5422,11 +5931,12 @@ exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attrib
|
|
|
5422
5931
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5423
5932
|
|
|
5424
5933
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5934
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5425
5935
|
var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../../node_modules/core-js/internals/object-property-is-enumerable.js");
|
|
5426
5936
|
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../../node_modules/core-js/internals/create-property-descriptor.js");
|
|
5427
5937
|
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../../node_modules/core-js/internals/to-indexed-object.js");
|
|
5428
5938
|
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../../node_modules/core-js/internals/to-property-key.js");
|
|
5429
|
-
var
|
|
5939
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5430
5940
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
5431
5941
|
|
|
5432
5942
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -5440,7 +5950,7 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
|
|
|
5440
5950
|
if (IE8_DOM_DEFINE) try {
|
|
5441
5951
|
return $getOwnPropertyDescriptor(O, P);
|
|
5442
5952
|
} catch (error) { /* empty */ }
|
|
5443
|
-
if (
|
|
5953
|
+
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
5444
5954
|
};
|
|
5445
5955
|
|
|
5446
5956
|
|
|
@@ -5477,6 +5987,19 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
5477
5987
|
exports.f = Object.getOwnPropertySymbols;
|
|
5478
5988
|
|
|
5479
5989
|
|
|
5990
|
+
/***/ }),
|
|
5991
|
+
|
|
5992
|
+
/***/ "../../node_modules/core-js/internals/object-is-prototype-of.js":
|
|
5993
|
+
/*!**********************************************************************!*\
|
|
5994
|
+
!*** ../../node_modules/core-js/internals/object-is-prototype-of.js ***!
|
|
5995
|
+
\**********************************************************************/
|
|
5996
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5997
|
+
|
|
5998
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5999
|
+
|
|
6000
|
+
module.exports = uncurryThis({}.isPrototypeOf);
|
|
6001
|
+
|
|
6002
|
+
|
|
5480
6003
|
/***/ }),
|
|
5481
6004
|
|
|
5482
6005
|
/***/ "../../node_modules/core-js/internals/object-keys-internal.js":
|
|
@@ -5485,20 +6008,23 @@ exports.f = Object.getOwnPropertySymbols;
|
|
|
5485
6008
|
\********************************************************************/
|
|
5486
6009
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5487
6010
|
|
|
5488
|
-
var
|
|
6011
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
6012
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5489
6013
|
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../../node_modules/core-js/internals/to-indexed-object.js");
|
|
5490
6014
|
var indexOf = __webpack_require__(/*! ../internals/array-includes */ "../../node_modules/core-js/internals/array-includes.js").indexOf;
|
|
5491
6015
|
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../../node_modules/core-js/internals/hidden-keys.js");
|
|
5492
6016
|
|
|
6017
|
+
var push = uncurryThis([].push);
|
|
6018
|
+
|
|
5493
6019
|
module.exports = function (object, names) {
|
|
5494
6020
|
var O = toIndexedObject(object);
|
|
5495
6021
|
var i = 0;
|
|
5496
6022
|
var result = [];
|
|
5497
6023
|
var key;
|
|
5498
|
-
for (key in O) !
|
|
6024
|
+
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
5499
6025
|
// Don't enum bug & hidden keys
|
|
5500
|
-
while (names.length > i) if (
|
|
5501
|
-
~indexOf(result, key) ||
|
|
6026
|
+
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
|
6027
|
+
~indexOf(result, key) || push(result, key);
|
|
5502
6028
|
}
|
|
5503
6029
|
return result;
|
|
5504
6030
|
};
|
|
@@ -5538,6 +6064,7 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
5538
6064
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5539
6065
|
|
|
5540
6066
|
/* eslint-disable no-proto -- safe */
|
|
6067
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5541
6068
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5542
6069
|
var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../../node_modules/core-js/internals/a-possible-prototype.js");
|
|
5543
6070
|
|
|
@@ -5551,14 +6078,14 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
5551
6078
|
var setter;
|
|
5552
6079
|
try {
|
|
5553
6080
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
5554
|
-
setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
|
|
5555
|
-
setter
|
|
6081
|
+
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
6082
|
+
setter(test, []);
|
|
5556
6083
|
CORRECT_SETTER = test instanceof Array;
|
|
5557
6084
|
} catch (error) { /* empty */ }
|
|
5558
6085
|
return function setPrototypeOf(O, proto) {
|
|
5559
6086
|
anObject(O);
|
|
5560
6087
|
aPossiblePrototype(proto);
|
|
5561
|
-
if (CORRECT_SETTER) setter
|
|
6088
|
+
if (CORRECT_SETTER) setter(O, proto);
|
|
5562
6089
|
else O.__proto__ = proto;
|
|
5563
6090
|
return O;
|
|
5564
6091
|
};
|
|
@@ -5573,16 +6100,20 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
5573
6100
|
\*********************************************************************/
|
|
5574
6101
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5575
6102
|
|
|
6103
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6104
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5576
6105
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5577
6106
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
5578
6107
|
|
|
6108
|
+
var TypeError = global.TypeError;
|
|
6109
|
+
|
|
5579
6110
|
// `OrdinaryToPrimitive` abstract operation
|
|
5580
6111
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
5581
6112
|
module.exports = function (input, pref) {
|
|
5582
6113
|
var fn, val;
|
|
5583
|
-
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
5584
|
-
if (isCallable(fn = input.valueOf) && !isObject(val =
|
|
5585
|
-
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
6114
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6115
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
6116
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
5586
6117
|
throw TypeError("Can't convert object to primitive value");
|
|
5587
6118
|
};
|
|
5588
6119
|
|
|
@@ -5596,15 +6127,18 @@ module.exports = function (input, pref) {
|
|
|
5596
6127
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5597
6128
|
|
|
5598
6129
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
6130
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5599
6131
|
var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../../node_modules/core-js/internals/object-get-own-property-names.js");
|
|
5600
6132
|
var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../../node_modules/core-js/internals/object-get-own-property-symbols.js");
|
|
5601
6133
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5602
6134
|
|
|
6135
|
+
var concat = uncurryThis([].concat);
|
|
6136
|
+
|
|
5603
6137
|
// all object keys, includes non-enumerable and symbols
|
|
5604
6138
|
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
5605
6139
|
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
5606
6140
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
5607
|
-
return getOwnPropertySymbols ?
|
|
6141
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
5608
6142
|
};
|
|
5609
6143
|
|
|
5610
6144
|
|
|
@@ -5673,7 +6207,7 @@ module.exports = function (target, src, options) {
|
|
|
5673
6207
|
|
|
5674
6208
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5675
6209
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5676
|
-
var
|
|
6210
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5677
6211
|
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
5678
6212
|
var setGlobal = __webpack_require__(/*! ../internals/set-global */ "../../node_modules/core-js/internals/set-global.js");
|
|
5679
6213
|
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
@@ -5694,7 +6228,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
5694
6228
|
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
5695
6229
|
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
5696
6230
|
}
|
|
5697
|
-
if (!
|
|
6231
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
5698
6232
|
createNonEnumerableProperty(value, 'name', name);
|
|
5699
6233
|
}
|
|
5700
6234
|
state = enforceInternalState(value);
|
|
@@ -5725,7 +6259,11 @@ var TEMPLATE = String(String).split('String');
|
|
|
5725
6259
|
/*!************************************************************************!*\
|
|
5726
6260
|
!*** ../../node_modules/core-js/internals/require-object-coercible.js ***!
|
|
5727
6261
|
\************************************************************************/
|
|
5728
|
-
/***/ ((module) => {
|
|
6262
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6263
|
+
|
|
6264
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6265
|
+
|
|
6266
|
+
var TypeError = global.TypeError;
|
|
5729
6267
|
|
|
5730
6268
|
// `RequireObjectCoercible` abstract operation
|
|
5731
6269
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
@@ -5745,10 +6283,12 @@ module.exports = function (it) {
|
|
|
5745
6283
|
|
|
5746
6284
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5747
6285
|
|
|
6286
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
6287
|
+
var defineProperty = Object.defineProperty;
|
|
6288
|
+
|
|
5748
6289
|
module.exports = function (key, value) {
|
|
5749
6290
|
try {
|
|
5750
|
-
|
|
5751
|
-
Object.defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
6291
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
5752
6292
|
} catch (error) {
|
|
5753
6293
|
global[key] = value;
|
|
5754
6294
|
} return value;
|
|
@@ -5794,13 +6334,13 @@ module.exports = function (CONSTRUCTOR_NAME) {
|
|
|
5794
6334
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5795
6335
|
|
|
5796
6336
|
var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js").f;
|
|
5797
|
-
var
|
|
6337
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5798
6338
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
5799
6339
|
|
|
5800
6340
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
5801
6341
|
|
|
5802
6342
|
module.exports = function (it, TAG, STATIC) {
|
|
5803
|
-
if (it && !
|
|
6343
|
+
if (it && !hasOwn(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
|
|
5804
6344
|
defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
5805
6345
|
}
|
|
5806
6346
|
};
|
|
@@ -5855,7 +6395,7 @@ var store = __webpack_require__(/*! ../internals/shared-store */ "../../node_mod
|
|
|
5855
6395
|
(module.exports = function (key, value) {
|
|
5856
6396
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
5857
6397
|
})('versions', []).push({
|
|
5858
|
-
version: '3.
|
|
6398
|
+
version: '3.19.1',
|
|
5859
6399
|
mode: IS_PURE ? 'pure' : 'global',
|
|
5860
6400
|
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
|
5861
6401
|
});
|
|
@@ -5893,10 +6433,13 @@ module.exports = function (O, defaultConstructor) {
|
|
|
5893
6433
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5894
6434
|
|
|
5895
6435
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6436
|
+
var apply = __webpack_require__(/*! ../internals/function-apply */ "../../node_modules/core-js/internals/function-apply.js");
|
|
6437
|
+
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5896
6438
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6439
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5897
6440
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5898
|
-
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5899
6441
|
var html = __webpack_require__(/*! ../internals/html */ "../../node_modules/core-js/internals/html.js");
|
|
6442
|
+
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "../../node_modules/core-js/internals/array-slice.js");
|
|
5900
6443
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
5901
6444
|
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
5902
6445
|
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
@@ -5904,8 +6447,10 @@ var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node
|
|
|
5904
6447
|
var set = global.setImmediate;
|
|
5905
6448
|
var clear = global.clearImmediate;
|
|
5906
6449
|
var process = global.process;
|
|
5907
|
-
var MessageChannel = global.MessageChannel;
|
|
5908
6450
|
var Dispatch = global.Dispatch;
|
|
6451
|
+
var Function = global.Function;
|
|
6452
|
+
var MessageChannel = global.MessageChannel;
|
|
6453
|
+
var String = global.String;
|
|
5909
6454
|
var counter = 0;
|
|
5910
6455
|
var queue = {};
|
|
5911
6456
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
@@ -5917,8 +6462,7 @@ try {
|
|
|
5917
6462
|
} catch (error) { /* empty */ }
|
|
5918
6463
|
|
|
5919
6464
|
var run = function (id) {
|
|
5920
|
-
|
|
5921
|
-
if (queue.hasOwnProperty(id)) {
|
|
6465
|
+
if (hasOwn(queue, id)) {
|
|
5922
6466
|
var fn = queue[id];
|
|
5923
6467
|
delete queue[id];
|
|
5924
6468
|
fn();
|
|
@@ -5943,13 +6487,9 @@ var post = function (id) {
|
|
|
5943
6487
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
5944
6488
|
if (!set || !clear) {
|
|
5945
6489
|
set = function setImmediate(fn) {
|
|
5946
|
-
var args =
|
|
5947
|
-
var argumentsLength = arguments.length;
|
|
5948
|
-
var i = 1;
|
|
5949
|
-
while (argumentsLength > i) args.push(arguments[i++]);
|
|
6490
|
+
var args = arraySlice(arguments, 1);
|
|
5950
6491
|
queue[++counter] = function () {
|
|
5951
|
-
|
|
5952
|
-
(isCallable(fn) ? fn : Function(fn)).apply(undefined, args);
|
|
6492
|
+
apply(isCallable(fn) ? fn : Function(fn), undefined, args);
|
|
5953
6493
|
};
|
|
5954
6494
|
defer(counter);
|
|
5955
6495
|
return counter;
|
|
@@ -5973,7 +6513,7 @@ if (!set || !clear) {
|
|
|
5973
6513
|
channel = new MessageChannel();
|
|
5974
6514
|
port = channel.port2;
|
|
5975
6515
|
channel.port1.onmessage = listener;
|
|
5976
|
-
defer = bind(port.postMessage, port
|
|
6516
|
+
defer = bind(port.postMessage, port);
|
|
5977
6517
|
// Browsers with postMessage, skip WebWorkers
|
|
5978
6518
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
5979
6519
|
} else if (
|
|
@@ -6015,7 +6555,7 @@ module.exports = {
|
|
|
6015
6555
|
\*****************************************************************/
|
|
6016
6556
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6017
6557
|
|
|
6018
|
-
var
|
|
6558
|
+
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../../node_modules/core-js/internals/to-integer-or-infinity.js");
|
|
6019
6559
|
|
|
6020
6560
|
var max = Math.max;
|
|
6021
6561
|
var min = Math.min;
|
|
@@ -6024,7 +6564,7 @@ var min = Math.min;
|
|
|
6024
6564
|
// Let integer be ? ToInteger(index).
|
|
6025
6565
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
6026
6566
|
module.exports = function (index, length) {
|
|
6027
|
-
var integer =
|
|
6567
|
+
var integer = toIntegerOrInfinity(index);
|
|
6028
6568
|
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
6029
6569
|
};
|
|
6030
6570
|
|
|
@@ -6048,19 +6588,21 @@ module.exports = function (it) {
|
|
|
6048
6588
|
|
|
6049
6589
|
/***/ }),
|
|
6050
6590
|
|
|
6051
|
-
/***/ "../../node_modules/core-js/internals/to-integer.js":
|
|
6052
|
-
|
|
6053
|
-
!*** ../../node_modules/core-js/internals/to-integer.js ***!
|
|
6054
|
-
|
|
6591
|
+
/***/ "../../node_modules/core-js/internals/to-integer-or-infinity.js":
|
|
6592
|
+
/*!**********************************************************************!*\
|
|
6593
|
+
!*** ../../node_modules/core-js/internals/to-integer-or-infinity.js ***!
|
|
6594
|
+
\**********************************************************************/
|
|
6055
6595
|
/***/ ((module) => {
|
|
6056
6596
|
|
|
6057
6597
|
var ceil = Math.ceil;
|
|
6058
6598
|
var floor = Math.floor;
|
|
6059
6599
|
|
|
6060
|
-
// `
|
|
6061
|
-
// https://tc39.es/ecma262/#sec-
|
|
6600
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
6601
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
6062
6602
|
module.exports = function (argument) {
|
|
6063
|
-
|
|
6603
|
+
var number = +argument;
|
|
6604
|
+
// eslint-disable-next-line no-self-compare -- safe
|
|
6605
|
+
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
|
6064
6606
|
};
|
|
6065
6607
|
|
|
6066
6608
|
|
|
@@ -6072,14 +6614,14 @@ module.exports = function (argument) {
|
|
|
6072
6614
|
\*********************************************************/
|
|
6073
6615
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6074
6616
|
|
|
6075
|
-
var
|
|
6617
|
+
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../../node_modules/core-js/internals/to-integer-or-infinity.js");
|
|
6076
6618
|
|
|
6077
6619
|
var min = Math.min;
|
|
6078
6620
|
|
|
6079
6621
|
// `ToLength` abstract operation
|
|
6080
6622
|
// https://tc39.es/ecma262/#sec-tolength
|
|
6081
6623
|
module.exports = function (argument) {
|
|
6082
|
-
return argument > 0 ? min(
|
|
6624
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
6083
6625
|
};
|
|
6084
6626
|
|
|
6085
6627
|
|
|
@@ -6091,8 +6633,11 @@ module.exports = function (argument) {
|
|
|
6091
6633
|
\*********************************************************/
|
|
6092
6634
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6093
6635
|
|
|
6636
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6094
6637
|
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../../node_modules/core-js/internals/require-object-coercible.js");
|
|
6095
6638
|
|
|
6639
|
+
var Object = global.Object;
|
|
6640
|
+
|
|
6096
6641
|
// `ToObject` abstract operation
|
|
6097
6642
|
// https://tc39.es/ecma262/#sec-toobject
|
|
6098
6643
|
module.exports = function (argument) {
|
|
@@ -6108,12 +6653,15 @@ module.exports = function (argument) {
|
|
|
6108
6653
|
\************************************************************/
|
|
6109
6654
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6110
6655
|
|
|
6656
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6657
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6111
6658
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6112
6659
|
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../../node_modules/core-js/internals/is-symbol.js");
|
|
6113
6660
|
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../../node_modules/core-js/internals/get-method.js");
|
|
6114
6661
|
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../../node_modules/core-js/internals/ordinary-to-primitive.js");
|
|
6115
6662
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6116
6663
|
|
|
6664
|
+
var TypeError = global.TypeError;
|
|
6117
6665
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
6118
6666
|
|
|
6119
6667
|
// `ToPrimitive` abstract operation
|
|
@@ -6124,7 +6672,7 @@ module.exports = function (input, pref) {
|
|
|
6124
6672
|
var result;
|
|
6125
6673
|
if (exoticToPrim) {
|
|
6126
6674
|
if (pref === undefined) pref = 'default';
|
|
6127
|
-
result =
|
|
6675
|
+
result = call(exoticToPrim, input, pref);
|
|
6128
6676
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
6129
6677
|
throw TypeError("Can't convert object to primitive value");
|
|
6130
6678
|
}
|
|
@@ -6148,7 +6696,7 @@ var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../../node_mod
|
|
|
6148
6696
|
// https://tc39.es/ecma262/#sec-topropertykey
|
|
6149
6697
|
module.exports = function (argument) {
|
|
6150
6698
|
var key = toPrimitive(argument, 'string');
|
|
6151
|
-
return isSymbol(key) ? key :
|
|
6699
|
+
return isSymbol(key) ? key : key + '';
|
|
6152
6700
|
};
|
|
6153
6701
|
|
|
6154
6702
|
|
|
@@ -6170,13 +6718,36 @@ test[TO_STRING_TAG] = 'z';
|
|
|
6170
6718
|
module.exports = String(test) === '[object z]';
|
|
6171
6719
|
|
|
6172
6720
|
|
|
6721
|
+
/***/ }),
|
|
6722
|
+
|
|
6723
|
+
/***/ "../../node_modules/core-js/internals/to-string.js":
|
|
6724
|
+
/*!*********************************************************!*\
|
|
6725
|
+
!*** ../../node_modules/core-js/internals/to-string.js ***!
|
|
6726
|
+
\*********************************************************/
|
|
6727
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6728
|
+
|
|
6729
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6730
|
+
var classof = __webpack_require__(/*! ../internals/classof */ "../../node_modules/core-js/internals/classof.js");
|
|
6731
|
+
|
|
6732
|
+
var String = global.String;
|
|
6733
|
+
|
|
6734
|
+
module.exports = function (argument) {
|
|
6735
|
+
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
6736
|
+
return String(argument);
|
|
6737
|
+
};
|
|
6738
|
+
|
|
6739
|
+
|
|
6173
6740
|
/***/ }),
|
|
6174
6741
|
|
|
6175
6742
|
/***/ "../../node_modules/core-js/internals/try-to-string.js":
|
|
6176
6743
|
/*!*************************************************************!*\
|
|
6177
6744
|
!*** ../../node_modules/core-js/internals/try-to-string.js ***!
|
|
6178
6745
|
\*************************************************************/
|
|
6179
|
-
/***/ ((module) => {
|
|
6746
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6747
|
+
|
|
6748
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6749
|
+
|
|
6750
|
+
var String = global.String;
|
|
6180
6751
|
|
|
6181
6752
|
module.exports = function (argument) {
|
|
6182
6753
|
try {
|
|
@@ -6193,13 +6764,16 @@ module.exports = function (argument) {
|
|
|
6193
6764
|
/*!***************************************************!*\
|
|
6194
6765
|
!*** ../../node_modules/core-js/internals/uid.js ***!
|
|
6195
6766
|
\***************************************************/
|
|
6196
|
-
/***/ ((module) => {
|
|
6767
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6768
|
+
|
|
6769
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
6197
6770
|
|
|
6198
6771
|
var id = 0;
|
|
6199
6772
|
var postfix = Math.random();
|
|
6773
|
+
var toString = uncurryThis(1.0.toString);
|
|
6200
6774
|
|
|
6201
6775
|
module.exports = function (key) {
|
|
6202
|
-
return 'Symbol(' +
|
|
6776
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
6203
6777
|
};
|
|
6204
6778
|
|
|
6205
6779
|
|
|
@@ -6229,21 +6803,25 @@ module.exports = NATIVE_SYMBOL
|
|
|
6229
6803
|
|
|
6230
6804
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6231
6805
|
var shared = __webpack_require__(/*! ../internals/shared */ "../../node_modules/core-js/internals/shared.js");
|
|
6232
|
-
var
|
|
6806
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
6233
6807
|
var uid = __webpack_require__(/*! ../internals/uid */ "../../node_modules/core-js/internals/uid.js");
|
|
6234
6808
|
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "../../node_modules/core-js/internals/native-symbol.js");
|
|
6235
6809
|
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../../node_modules/core-js/internals/use-symbol-as-uid.js");
|
|
6236
6810
|
|
|
6237
6811
|
var WellKnownSymbolsStore = shared('wks');
|
|
6238
6812
|
var Symbol = global.Symbol;
|
|
6813
|
+
var symbolFor = Symbol && Symbol['for'];
|
|
6239
6814
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
6240
6815
|
|
|
6241
6816
|
module.exports = function (name) {
|
|
6242
|
-
if (!
|
|
6243
|
-
|
|
6817
|
+
if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
6818
|
+
var description = 'Symbol.' + name;
|
|
6819
|
+
if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {
|
|
6244
6820
|
WellKnownSymbolsStore[name] = Symbol[name];
|
|
6821
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
6822
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
6245
6823
|
} else {
|
|
6246
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(
|
|
6824
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
6247
6825
|
}
|
|
6248
6826
|
} return WellKnownSymbolsStore[name];
|
|
6249
6827
|
};
|
|
@@ -6263,6 +6841,7 @@ var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-
|
|
|
6263
6841
|
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6264
6842
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6265
6843
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
6844
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6266
6845
|
var NativePromise = __webpack_require__(/*! ../internals/native-promise-constructor */ "../../node_modules/core-js/internals/native-promise-constructor.js");
|
|
6267
6846
|
var redefine = __webpack_require__(/*! ../internals/redefine */ "../../node_modules/core-js/internals/redefine.js");
|
|
6268
6847
|
var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "../../node_modules/core-js/internals/redefine-all.js");
|
|
@@ -6292,17 +6871,19 @@ var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../.
|
|
|
6292
6871
|
|
|
6293
6872
|
var SPECIES = wellKnownSymbol('species');
|
|
6294
6873
|
var PROMISE = 'Promise';
|
|
6874
|
+
|
|
6295
6875
|
var getInternalState = InternalStateModule.get;
|
|
6296
6876
|
var setInternalState = InternalStateModule.set;
|
|
6297
6877
|
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
6298
6878
|
var NativePromisePrototype = NativePromise && NativePromise.prototype;
|
|
6299
6879
|
var PromiseConstructor = NativePromise;
|
|
6300
|
-
var
|
|
6880
|
+
var PromisePrototype = NativePromisePrototype;
|
|
6301
6881
|
var TypeError = global.TypeError;
|
|
6302
6882
|
var document = global.document;
|
|
6303
6883
|
var process = global.process;
|
|
6304
6884
|
var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
6305
6885
|
var newGenericPromiseCapability = newPromiseCapability;
|
|
6886
|
+
|
|
6306
6887
|
var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
|
|
6307
6888
|
var NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6308
6889
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
@@ -6313,6 +6894,7 @@ var REJECTED = 2;
|
|
|
6313
6894
|
var HANDLED = 1;
|
|
6314
6895
|
var UNHANDLED = 2;
|
|
6315
6896
|
var SUBCLASSING = false;
|
|
6897
|
+
|
|
6316
6898
|
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
6317
6899
|
|
|
6318
6900
|
var FORCED = isForced(PROMISE, function () {
|
|
@@ -6323,7 +6905,7 @@ var FORCED = isForced(PROMISE, function () {
|
|
|
6323
6905
|
// We can't detect it synchronously, so just check versions
|
|
6324
6906
|
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
6325
6907
|
// We need Promise#finally in the pure version for preventing prototype pollution
|
|
6326
|
-
if (IS_PURE && !
|
|
6908
|
+
if (IS_PURE && !PromisePrototype['finally']) return true;
|
|
6327
6909
|
// We can't use @@species feature detection in V8 since it causes
|
|
6328
6910
|
// deoptimization and performance degradation
|
|
6329
6911
|
// https://github.com/zloirock/core-js/issues/679
|
|
@@ -6385,7 +6967,7 @@ var notify = function (state, isReject) {
|
|
|
6385
6967
|
if (result === reaction.promise) {
|
|
6386
6968
|
reject(TypeError('Promise-chain cycle'));
|
|
6387
6969
|
} else if (then = isThenable(result)) {
|
|
6388
|
-
|
|
6970
|
+
call(then, result, resolve, reject);
|
|
6389
6971
|
} else resolve(result);
|
|
6390
6972
|
} else reject(value);
|
|
6391
6973
|
} catch (error) {
|
|
@@ -6413,7 +6995,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
6413
6995
|
};
|
|
6414
6996
|
|
|
6415
6997
|
var onUnhandled = function (state) {
|
|
6416
|
-
|
|
6998
|
+
call(task, global, function () {
|
|
6417
6999
|
var promise = state.facade;
|
|
6418
7000
|
var value = state.value;
|
|
6419
7001
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -6436,7 +7018,7 @@ var isUnhandled = function (state) {
|
|
|
6436
7018
|
};
|
|
6437
7019
|
|
|
6438
7020
|
var onHandleUnhandled = function (state) {
|
|
6439
|
-
|
|
7021
|
+
call(task, global, function () {
|
|
6440
7022
|
var promise = state.facade;
|
|
6441
7023
|
if (IS_NODE) {
|
|
6442
7024
|
process.emit('rejectionHandled', promise);
|
|
@@ -6470,7 +7052,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
6470
7052
|
microtask(function () {
|
|
6471
7053
|
var wrapper = { done: false };
|
|
6472
7054
|
try {
|
|
6473
|
-
|
|
7055
|
+
call(then, value,
|
|
6474
7056
|
bind(internalResolve, wrapper, state),
|
|
6475
7057
|
bind(internalReject, wrapper, state)
|
|
6476
7058
|
);
|
|
@@ -6492,9 +7074,9 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
6492
7074
|
if (FORCED) {
|
|
6493
7075
|
// 25.4.3.1 Promise(executor)
|
|
6494
7076
|
PromiseConstructor = function Promise(executor) {
|
|
6495
|
-
anInstance(this,
|
|
7077
|
+
anInstance(this, PromisePrototype);
|
|
6496
7078
|
aCallable(executor);
|
|
6497
|
-
|
|
7079
|
+
call(Internal, this);
|
|
6498
7080
|
var state = getInternalState(this);
|
|
6499
7081
|
try {
|
|
6500
7082
|
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
@@ -6502,7 +7084,7 @@ if (FORCED) {
|
|
|
6502
7084
|
internalReject(state, error);
|
|
6503
7085
|
}
|
|
6504
7086
|
};
|
|
6505
|
-
|
|
7087
|
+
PromisePrototype = PromiseConstructor.prototype;
|
|
6506
7088
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
6507
7089
|
Internal = function Promise(executor) {
|
|
6508
7090
|
setInternalState(this, {
|
|
@@ -6516,17 +7098,18 @@ if (FORCED) {
|
|
|
6516
7098
|
value: undefined
|
|
6517
7099
|
});
|
|
6518
7100
|
};
|
|
6519
|
-
Internal.prototype = redefineAll(
|
|
7101
|
+
Internal.prototype = redefineAll(PromisePrototype, {
|
|
6520
7102
|
// `Promise.prototype.then` method
|
|
6521
7103
|
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
6522
7104
|
then: function then(onFulfilled, onRejected) {
|
|
6523
7105
|
var state = getInternalPromiseState(this);
|
|
7106
|
+
var reactions = state.reactions;
|
|
6524
7107
|
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
|
6525
7108
|
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
6526
7109
|
reaction.fail = isCallable(onRejected) && onRejected;
|
|
6527
7110
|
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
6528
7111
|
state.parent = true;
|
|
6529
|
-
|
|
7112
|
+
reactions[reactions.length] = reaction;
|
|
6530
7113
|
if (state.state != PENDING) notify(state, false);
|
|
6531
7114
|
return reaction.promise;
|
|
6532
7115
|
},
|
|
@@ -6557,13 +7140,13 @@ if (FORCED) {
|
|
|
6557
7140
|
redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
6558
7141
|
var that = this;
|
|
6559
7142
|
return new PromiseConstructor(function (resolve, reject) {
|
|
6560
|
-
|
|
7143
|
+
call(nativeThen, that, resolve, reject);
|
|
6561
7144
|
}).then(onFulfilled, onRejected);
|
|
6562
7145
|
// https://github.com/zloirock/core-js/issues/640
|
|
6563
7146
|
}, { unsafe: true });
|
|
6564
7147
|
|
|
6565
7148
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
6566
|
-
redefine(NativePromisePrototype, 'catch',
|
|
7149
|
+
redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });
|
|
6567
7150
|
}
|
|
6568
7151
|
|
|
6569
7152
|
// make `.constructor === Promise` work for native promise-based APIs
|
|
@@ -6573,7 +7156,7 @@ if (FORCED) {
|
|
|
6573
7156
|
|
|
6574
7157
|
// make `instanceof Promise` work for native promise-based APIs
|
|
6575
7158
|
if (setPrototypeOf) {
|
|
6576
|
-
setPrototypeOf(NativePromisePrototype,
|
|
7159
|
+
setPrototypeOf(NativePromisePrototype, PromisePrototype);
|
|
6577
7160
|
}
|
|
6578
7161
|
}
|
|
6579
7162
|
}
|
|
@@ -6593,7 +7176,7 @@ $({ target: PROMISE, stat: true, forced: FORCED }, {
|
|
|
6593
7176
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
6594
7177
|
reject: function reject(r) {
|
|
6595
7178
|
var capability = newPromiseCapability(this);
|
|
6596
|
-
capability.reject
|
|
7179
|
+
call(capability.reject, undefined, r);
|
|
6597
7180
|
return capability.promise;
|
|
6598
7181
|
}
|
|
6599
7182
|
});
|
|
@@ -6622,9 +7205,8 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
6622
7205
|
iterate(iterable, function (promise) {
|
|
6623
7206
|
var index = counter++;
|
|
6624
7207
|
var alreadyCalled = false;
|
|
6625
|
-
values.push(undefined);
|
|
6626
7208
|
remaining++;
|
|
6627
|
-
$promiseResolve
|
|
7209
|
+
call($promiseResolve, C, promise).then(function (value) {
|
|
6628
7210
|
if (alreadyCalled) return;
|
|
6629
7211
|
alreadyCalled = true;
|
|
6630
7212
|
values[index] = value;
|
|
@@ -6645,7 +7227,7 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
6645
7227
|
var result = perform(function () {
|
|
6646
7228
|
var $promiseResolve = aCallable(C.resolve);
|
|
6647
7229
|
iterate(iterable, function (promise) {
|
|
6648
|
-
$promiseResolve
|
|
7230
|
+
call($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
6649
7231
|
});
|
|
6650
7232
|
});
|
|
6651
7233
|
if (result.error) reject(result.value);
|
|
@@ -6669,43 +7251,51 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
6669
7251
|
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
6670
7252
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
6671
7253
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6672
|
-
var
|
|
7254
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
7255
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
6673
7256
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6674
|
-
var
|
|
7257
|
+
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
7258
|
+
var toString = __webpack_require__(/*! ../internals/to-string */ "../../node_modules/core-js/internals/to-string.js");
|
|
6675
7259
|
var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js").f;
|
|
6676
7260
|
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../../node_modules/core-js/internals/copy-constructor-properties.js");
|
|
6677
7261
|
|
|
6678
7262
|
var NativeSymbol = global.Symbol;
|
|
7263
|
+
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
6679
7264
|
|
|
6680
|
-
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in
|
|
7265
|
+
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
6681
7266
|
// Safari 12 bug
|
|
6682
7267
|
NativeSymbol().description !== undefined
|
|
6683
7268
|
)) {
|
|
6684
7269
|
var EmptyStringDescriptionStore = {};
|
|
6685
7270
|
// wrap Symbol constructor for correct work with undefined description
|
|
6686
7271
|
var SymbolWrapper = function Symbol() {
|
|
6687
|
-
var description = arguments.length < 1 || arguments[0] === undefined ? undefined :
|
|
6688
|
-
var result = this
|
|
7272
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);
|
|
7273
|
+
var result = isPrototypeOf(SymbolPrototype, this)
|
|
6689
7274
|
? new NativeSymbol(description)
|
|
6690
7275
|
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
6691
7276
|
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
|
6692
7277
|
if (description === '') EmptyStringDescriptionStore[result] = true;
|
|
6693
7278
|
return result;
|
|
6694
7279
|
};
|
|
7280
|
+
|
|
6695
7281
|
copyConstructorProperties(SymbolWrapper, NativeSymbol);
|
|
6696
|
-
|
|
6697
|
-
|
|
7282
|
+
SymbolWrapper.prototype = SymbolPrototype;
|
|
7283
|
+
SymbolPrototype.constructor = SymbolWrapper;
|
|
6698
7284
|
|
|
6699
|
-
var
|
|
6700
|
-
var
|
|
7285
|
+
var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
|
|
7286
|
+
var symbolToString = uncurryThis(SymbolPrototype.toString);
|
|
7287
|
+
var symbolValueOf = uncurryThis(SymbolPrototype.valueOf);
|
|
6701
7288
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
6702
|
-
|
|
7289
|
+
var replace = uncurryThis(''.replace);
|
|
7290
|
+
var stringSlice = uncurryThis(''.slice);
|
|
7291
|
+
|
|
7292
|
+
defineProperty(SymbolPrototype, 'description', {
|
|
6703
7293
|
configurable: true,
|
|
6704
7294
|
get: function description() {
|
|
6705
|
-
var symbol =
|
|
6706
|
-
var string = symbolToString
|
|
6707
|
-
if (
|
|
6708
|
-
var desc =
|
|
7295
|
+
var symbol = symbolValueOf(this);
|
|
7296
|
+
var string = symbolToString(symbol);
|
|
7297
|
+
if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
|
|
7298
|
+
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
|
|
6709
7299
|
return desc === '' ? undefined : desc;
|
|
6710
7300
|
}
|
|
6711
7301
|
});
|
|
@@ -6956,7 +7546,7 @@ module.exports = require("util");
|
|
|
6956
7546
|
/***/ ((module) => {
|
|
6957
7547
|
|
|
6958
7548
|
"use strict";
|
|
6959
|
-
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.0.
|
|
7549
|
+
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.0.9","description":"IG.GFX.Packager 2.0.9 (2.0.9.100)","main":"build/index.js","private":false,"publishConfig":{"access":"public"},"bin":{"packager":"./build/index.js"},"files":["build","locales","scripts"],"scripts":{"dist":"webpack","clean":"rimraf build *.tsbuildinfo","prepublishOnly":"yarn clean && yarn dist","_postinstall":"node scripts/postinstall.js"},"author":"Michael Beier <mb@intelligentgraphics.biz>","dependencies":{"ajv":"^8.6.2","archiver":"^5.0.0","axios":"^0.21.1","core-js":"^3.16.0","execa":"^5.1.1","fs-extra":"^10.0.0","glob":"^7.1.4","rimraf":"^3.0.2","source-map-support":"^0.5.19","terser":"^4.8.0","typedoc":"^0.21.5","typescript":"^4.3.5","update-notifier":"^5.1.0","v8-compile-cache":"^2.1.1","y18n":"^5.0.8","yargs":"^17.0.1"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-object-rest-spread":"^7.14.7","@babel/preset-env":"^7.14.9","@intelligentgraphics/ig.tools.core":"^1.5.1","@intelligentgraphics/ig.utilities":"^1.6.6","@types/archiver":"^5.1.1","@types/fs-extra":"^9.0.12","@types/glob":"^7.1.4","@types/node":"^16.4.11","@types/rimraf":"^3.0.1","@types/update-notifier":"^5.1.0","@types/yargs":"^17.0.2","babel-loader":"^8.1.0","ts-loader":"^9.2.5","ts-node":"^10.1.0","webpack":"^5.48.0","webpack-cli":"^4.7.2"}}');
|
|
6960
7550
|
|
|
6961
7551
|
/***/ })
|
|
6962
7552
|
|