minimal-piral 0.15.0-beta.4472 → 0.15.0-beta.4512
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/app/{index.e71cbf.js → index.19cb2a.js} +23 -6
- package/app/index.19cb2a.js.map +1 -0
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +10 -1
- package/app/index.e71cbf.js.map +0 -1
|
@@ -5542,6 +5542,15 @@ function installPiralDebug(options) {
|
|
|
5542
5542
|
var eventDispatcher = document.body.dispatchEvent;
|
|
5543
5543
|
var systemResolve = System.constructor.prototype.resolve;
|
|
5544
5544
|
var depMap = {};
|
|
5545
|
+
var subDeps = {};
|
|
5546
|
+
|
|
5547
|
+
var findAncestor = function findAncestor(parent) {
|
|
5548
|
+
while (subDeps[parent]) {
|
|
5549
|
+
parent = subDeps[parent];
|
|
5550
|
+
}
|
|
5551
|
+
|
|
5552
|
+
return parent;
|
|
5553
|
+
};
|
|
5545
5554
|
|
|
5546
5555
|
System.constructor.prototype.resolve = function () {
|
|
5547
5556
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -5552,10 +5561,18 @@ function installPiralDebug(options) {
|
|
|
5552
5561
|
parent = args[1];
|
|
5553
5562
|
var result = systemResolve.call.apply(systemResolve, [this].concat(args));
|
|
5554
5563
|
|
|
5555
|
-
if (parent) {
|
|
5556
|
-
|
|
5564
|
+
if (!parent) {
|
|
5565
|
+
return result;
|
|
5566
|
+
}
|
|
5567
|
+
|
|
5568
|
+
var ancestor = findAncestor(parent);
|
|
5569
|
+
|
|
5570
|
+
if (url.startsWith('./')) {
|
|
5571
|
+
subDeps[result] = ancestor;
|
|
5572
|
+
} else {
|
|
5573
|
+
var deps = depMap[ancestor] || {};
|
|
5557
5574
|
deps[url] = result;
|
|
5558
|
-
depMap[
|
|
5575
|
+
depMap[ancestor] = deps;
|
|
5559
5576
|
}
|
|
5560
5577
|
|
|
5561
5578
|
return result;
|
|
@@ -5565,11 +5582,11 @@ function installPiralDebug(options) {
|
|
|
5565
5582
|
debug: debugApiVersion,
|
|
5566
5583
|
instance: {
|
|
5567
5584
|
name: "minimal-piral",
|
|
5568
|
-
version: "0.15.0-beta.
|
|
5585
|
+
version: "0.15.0-beta.4512",
|
|
5569
5586
|
dependencies: "tslib,react,react-dom,react-router,react-router-dom"
|
|
5570
5587
|
},
|
|
5571
5588
|
build: {
|
|
5572
|
-
date: "2022-07-
|
|
5589
|
+
date: "2022-07-29T23:05:37.606Z",
|
|
5573
5590
|
cli: "0.14.29",
|
|
5574
5591
|
compat: "0.14"
|
|
5575
5592
|
}
|
|
@@ -45609,4 +45626,4 @@ var instance = (0,piral_core__WEBPACK_IMPORTED_MODULE_2__.createInstance)({
|
|
|
45609
45626
|
|
|
45610
45627
|
/******/ })()
|
|
45611
45628
|
;
|
|
45612
|
-
//# sourceMappingURL=index.
|
|
45629
|
+
//# sourceMappingURL=index.19cb2a.js.map
|