sample-cross-fx 0.14.13-beta.3733 → 0.14.14-beta.3748

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.
@@ -129423,7 +129423,13 @@ function registerDependencies(modules) {
129423
129423
  function registerModule(name, resolve) {
129424
129424
  System.register(name, [], _exports => ({
129425
129425
  execute() {
129426
- _exports(resolve());
129426
+ const content = resolve();
129427
+
129428
+ if (content instanceof Promise) {
129429
+ return content.then(_exports);
129430
+ } else {
129431
+ _exports(content);
129432
+ }
129427
129433
  }
129428
129434
 
129429
129435
  }));
@@ -131035,7 +131041,7 @@ function createInstance(config = {}) {
131035
131041
  const createApi = apiFactory(context, usedPlugins);
131036
131042
  const root = createApi({
131037
131043
  name: 'root',
131038
- version: "0.14.13-beta.3733" || 0,
131044
+ version: "0.14.14-beta.3748" || 0,
131039
131045
  spec: ''
131040
131046
  });
131041
131047
  const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
@@ -133436,12 +133442,12 @@ function installPiralDebug(options) {
133436
133442
  debug: debugApiVersion,
133437
133443
  instance: {
133438
133444
  name: "sample-cross-fx",
133439
- version: "0.14.13-beta.3733",
133445
+ version: "0.14.14-beta.3748",
133440
133446
  dependencies: "@angular/common,@angular/compiler,@angular/core,@angular/platform-browser,@angular/platform-browser-dynamic,@webcomponents/webcomponentsjs,angular,aurelia-framework,aurelia-templating-binding,aurelia-templating-resources,aurelia-pal-browser,aurelia-event-aggregator,aurelia-history-browser,hyperapp,inferno,inferno-create-element,mithril,lit-element,solid-js,solid-js/dom,preact,riot,rxjs,vue,zone.js,react,react-dom,react-router,react-router-dom,history,tslib,path-to-regexp,@libre/atom,@dbeining/react-atom"
133441
133447
  },
133442
133448
  build: {
133443
- date: "2022-02-26T15:36:19.997Z",
133444
- cli: "0.14.12",
133449
+ date: "2022-03-01T10:57:21.517Z",
133450
+ cli: "0.14.13",
133445
133451
  compat: "0.14"
133446
133452
  },
133447
133453
  pilets: {
@@ -133491,16 +133497,32 @@ function installPiralDebug(options) {
133491
133497
 
133492
133498
  const getDependencyMap = () => {
133493
133499
  const dependencyMap = {};
133500
+
133501
+ const addDeps = (pilet, dependencies) => {
133502
+ if (!(pilet in dependencyMap)) {
133503
+ dependencyMap[pilet] = [];
133504
+ }
133505
+
133506
+ dependencyMap[pilet].push(...dependencies);
133507
+ };
133508
+
133494
133509
  const pilets = getPilets().map(pilet => ({
133495
133510
  name: pilet.name,
133496
- link: pilet.link
133511
+ link: pilet.link,
133512
+ base: pilet.base
133497
133513
  })).filter(m => m.link);
133498
133514
  Object.keys(depMap).forEach(url => {
133499
133515
  const dependencies = depMap[url];
133500
133516
  const pilet = pilets.find(p => p.link === url);
133501
133517
 
133502
133518
  if (pilet) {
133503
- dependencyMap[pilet.name] = dependencies;
133519
+ addDeps(pilet.name, dependencies);
133520
+ } else if (!pilet) {
133521
+ const parent = pilets.find(p => url.startsWith(p.base));
133522
+
133523
+ if (parent) {
133524
+ addDeps(parent.name, dependencies);
133525
+ }
133504
133526
  }
133505
133527
  });
133506
133528
  sendMessage({
@@ -255557,4 +255579,4 @@ const app = React.createElement(piral_core_1.Piral, {
255557
255579
 
255558
255580
  /******/ })()
255559
255581
  ;
255560
- //# sourceMappingURL=index.d4b494.js.map
255582
+ //# sourceMappingURL=index.fe05af.js.map