@lwrjs/everywhere 0.12.0-alpha.6 → 0.12.0-alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- package/build/__generated_site_amd_modules__/1/application/amd/l/en-US/ai/amd-bootstrap/configuration/ci/-/-/s/e050122262c9c7eb0f9fb8b85f52e5b3/config.js +11 -0
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/@lwrjs/app-service/amd-bootstrap/module/amd/v/0_12_0-alpha_8/s/8bce578258518655194bd71d1d72aad5/@lwrjs_app-service_amd-bootstrap_module_amd.js +14 -0
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwc/v/{6_0_0/s/6e7ff236fd6011fdc06fb33b61261493 → 6_1_1/s/97cfd3dd664529265351b5d32d878542}/lwc.js +89 -68
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/everywhereAmd/v/{0_12_0-alpha_6 → 0_12_0-alpha_8}/s/cb931ebef2b89dcf8ab51456e3a68864/lwr_everywhereAmd.js +3 -3
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/init/v/{0_12_0-alpha_6 → 0_12_0-alpha_8}/s/f30361ad8ff7af505bf4d465c8499181/lwr_init.js +21 -21
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/loader/v/{0_12_0-alpha_6/s/7d8a8e317de06e72e1bf307d3ea8d1f0 → 0_12_0-alpha_8/s/defdc8250ae07a7f1997e7288f4130fa}/lwr_loader.js +126 -132
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/metrics/v/{0_12_0-alpha_6 → 0_12_0-alpha_8}/s/274c8343f810353bbad085a79709395f/lwr_metrics.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/preInit/v/{0_12_0-alpha_6 → 0_12_0-alpha_8}/s/f3a204ef43fb3057d910f80d7e9f9ba7/lwr_preInit.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/profiler/v/{0_12_0-alpha_6 → 0_12_0-alpha_8}/s/a152b8d35f12ca1b5147c5cd1ee155fb/lwr_profiler.js +1 -1
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/lwr/vault/v/{0_12_0-alpha_6 → 0_12_0-alpha_8}/s/c92abd8c1fec2d7eff62e4b097abbe14/lwr_vault.js +1 -1
- package/build/__generated_site_amd_modules__/1/resource/amd/lwr-error-shim.js/v/{0_12_0-alpha_6 → 0_12_0-alpha_8}/lwr-error-shim.js +1 -1
- package/build/__generated_site_amd_modules__/1/resource/amd/lwr-loader-shim.bundle.js/v/{0_12_0-alpha_6 → 0_12_0-alpha_8}/lwr-loader-shim.bundle.js +131 -163
- package/build/assets/amd/lwr-everywhere-debug.js +133 -165
- package/build/assets/amd/lwr-everywhere-min.js +2 -2
- package/build/assets/amd/lwr-everywhere.js +133 -165
- package/build/assets/core/lwr-everywhere-debug.js +129 -161
- package/build/assets/core/lwr-everywhere-min.js +1 -1
- package/build/assets/core/lwr-everywhere.js +129 -161
- package/build/assets/esm/lwr-everywhere-debug.js +1 -1
- package/build/assets/esm/lwr-everywhere-min.js +1 -1
- package/build/assets/esm/lwr-everywhere.js +1 -1
- package/package.json +8 -8
- package/build/__generated_site_amd_modules__/1/application/amd/l/en-US/ai/amd-bootstrap/configuration/ci/-/-/s/c4ab7e5dbc0697efbf468c722dbd35d0/config.js +0 -11
- package/build/__generated_site_amd_modules__/1/module/amd/1/l/en-US/mi/@lwrjs/app-service/amd-bootstrap/module/amd/v/0_12_0-alpha_6/s/8bce578258518655194bd71d1d72aad5/@lwrjs_app-service_amd-bootstrap_module_amd.js +0 -14
@@ -1,4 +1,4 @@
|
|
1
|
-
LWR.define('lwr/loader/v/0_12_0-
|
1
|
+
LWR.define('lwr/loader/v/0_12_0-alpha_8', ['exports'], (function (exports) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* Copyright (c) 2021, salesforce.com, inc.
|
@@ -6,7 +6,7 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
6
6
|
* SPDX-License-Identifier: MIT
|
7
7
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
8
8
|
*/
|
9
|
-
/* LWR Module Loader v0.12.0-alpha.
|
9
|
+
/* LWR Module Loader v0.12.0-alpha.8 */
|
10
10
|
const templateRegex = /\{([0-9]+)\}/g;
|
11
11
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
12
12
|
function templateString(template, args) {
|
@@ -25,7 +25,7 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
25
25
|
super();
|
26
26
|
this.message = generateErrorMessage(errorInfo, errorArgs);
|
27
27
|
}
|
28
|
-
/*LWC compiler v6.
|
28
|
+
/*LWC compiler v6.1.1*/
|
29
29
|
}
|
30
30
|
function invariant(condition, errorInfo) {
|
31
31
|
if (!condition) {
|
@@ -697,6 +697,18 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
697
697
|
/* global console,process */
|
698
698
|
|
699
699
|
class ModuleRegistry {
|
700
|
+
// A registry for named AMD defines containing the *metadata* of AMD module
|
701
|
+
__init() {
|
702
|
+
this.namedDefineRegistry = new Map();
|
703
|
+
}
|
704
|
+
// The evaluated module registry where the module identifier (name or URL?) is the key
|
705
|
+
__init2() {
|
706
|
+
this.moduleRegistry = new Map();
|
707
|
+
}
|
708
|
+
// Aliases of modules in the registry
|
709
|
+
__init3() {
|
710
|
+
this.aliases = new Map();
|
711
|
+
}
|
700
712
|
constructor(config) {
|
701
713
|
ModuleRegistry.prototype.__init.call(this);
|
702
714
|
ModuleRegistry.prototype.__init2.call(this);
|
@@ -704,6 +716,10 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
704
716
|
this.profiler = config.profiler;
|
705
717
|
this.resolver = new ImportMetadataResolver(config, this.importMetadataInvalidationCallback.bind(this));
|
706
718
|
}
|
719
|
+
|
720
|
+
/**
|
721
|
+
* Module import
|
722
|
+
*/
|
707
723
|
async load(id, importer) {
|
708
724
|
const metadata = importer ? {
|
709
725
|
importer
|
@@ -714,16 +730,20 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
714
730
|
metadata
|
715
731
|
});
|
716
732
|
const resolvedId = await this.resolve(id, importer);
|
717
|
-
const moduleRecord =
|
733
|
+
const moduleRecord = this.getModuleRecord(resolvedId, id);
|
718
734
|
if (moduleRecord.evaluated) {
|
719
735
|
return moduleRecord.module;
|
720
736
|
} else {
|
721
737
|
if (!moduleRecord.evaluationPromise) {
|
722
|
-
moduleRecord.evaluationPromise = this.
|
738
|
+
moduleRecord.evaluationPromise = this.evaluateModule(moduleRecord, {});
|
723
739
|
}
|
724
740
|
return moduleRecord.evaluationPromise;
|
725
741
|
}
|
726
742
|
}
|
743
|
+
|
744
|
+
/**
|
745
|
+
* Resolve id for a module
|
746
|
+
*/
|
727
747
|
async resolve(id, importer) {
|
728
748
|
const parentUrl = this.resolver.getBaseUrl(); // only support baseUrl for now
|
729
749
|
|
@@ -741,7 +761,7 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
741
761
|
// eslint-disable-next-line no-await-in-loop
|
742
762
|
result = isResponseAPromise(response) ? await response : response;
|
743
763
|
}
|
744
|
-
if (!
|
764
|
+
if (!isValidResolveResponse(result)) {
|
745
765
|
throw new LoaderError(INVALID_LOADER_SERVICE_RESPONSE);
|
746
766
|
}
|
747
767
|
|
@@ -816,6 +836,10 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
816
836
|
has(id) {
|
817
837
|
return this.moduleRegistry.has(id);
|
818
838
|
}
|
839
|
+
|
840
|
+
/**
|
841
|
+
* Module entry point LWR.define()
|
842
|
+
*/
|
819
843
|
define(name, dependencies, exporter) {
|
820
844
|
const mod = this.namedDefineRegistry.get(name);
|
821
845
|
// Don't allow redefining a module.
|
@@ -882,21 +906,6 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
882
906
|
}
|
883
907
|
});
|
884
908
|
}
|
885
|
-
|
886
|
-
// A registry for named AMD defines containing the *metadata* of AMD module
|
887
|
-
__init() {
|
888
|
-
this.namedDefineRegistry = new Map();
|
889
|
-
}
|
890
|
-
|
891
|
-
// The evaluated module registry where the module identifier (name or URL?) is the key
|
892
|
-
__init2() {
|
893
|
-
this.moduleRegistry = new Map();
|
894
|
-
}
|
895
|
-
|
896
|
-
// Aliases of modules in the registry
|
897
|
-
__init3() {
|
898
|
-
this.aliases = new Map();
|
899
|
-
}
|
900
909
|
getImportMetadataResolver() {
|
901
910
|
return this.resolver;
|
902
911
|
}
|
@@ -921,41 +930,23 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
921
930
|
}
|
922
931
|
return moduleRecord;
|
923
932
|
}
|
924
|
-
|
933
|
+
getModuleRecord(resolvedId, id) {
|
925
934
|
// Look for an existing record
|
926
935
|
const existingRecord = this.getExistingModuleRecord(resolvedId, id);
|
927
936
|
if (existingRecord) {
|
928
937
|
// return existing
|
929
938
|
return existingRecord;
|
930
939
|
}
|
931
|
-
|
932
|
-
// Create a new Module Record
|
933
|
-
const instantiation = this.getModuleDef(resolvedId, id);
|
934
|
-
const dependencyRecords = instantiation.then(moduleDef => {
|
935
|
-
const dependencies = moduleDef.dependencies || [];
|
936
|
-
// get dep and filter out exports
|
937
|
-
const filtered = dependencies.map(dep => {
|
938
|
-
if (dep === 'exports') {
|
939
|
-
return;
|
940
|
-
}
|
941
|
-
invariant(dep !== 'require', NO_AMD_REQUIRE);
|
942
|
-
return this.getModuleDependencyRecord.call(this, dep);
|
943
|
-
}).filter(depRecord => depRecord !== undefined);
|
944
|
-
return Promise.all(filtered);
|
945
|
-
});
|
946
940
|
const newModuleRecord = {
|
947
941
|
id: resolvedId,
|
948
942
|
module: Object.create(null),
|
949
|
-
|
950
|
-
instantiation,
|
943
|
+
instantiation: this.getModuleDef(resolvedId, id),
|
951
944
|
evaluated: false,
|
952
945
|
evaluationPromise: null
|
953
946
|
};
|
954
947
|
this.moduleRegistry.set(resolvedId, newModuleRecord);
|
955
948
|
this.storeModuleAlias(id, resolvedId);
|
956
|
-
|
957
|
-
// Wait for the dependencies to resolve the return the moduleRecord
|
958
|
-
return dependencyRecords.then(() => newModuleRecord);
|
949
|
+
return newModuleRecord;
|
959
950
|
}
|
960
951
|
storeModuleAlias(aliasId, resolvedId) {
|
961
952
|
if (aliasId !== resolvedId) {
|
@@ -974,82 +965,87 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
974
965
|
}
|
975
966
|
}
|
976
967
|
}
|
977
|
-
async getModuleDependencyRecord(dependency) {
|
978
|
-
const resolvedDepId = await this.resolve(dependency);
|
979
|
-
return this.getModuleRecord(resolvedDepId, dependency);
|
980
|
-
}
|
981
968
|
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
969
|
+
/**
|
970
|
+
* Evaluate all module dependencies
|
971
|
+
*/
|
972
|
+
async evaluateDependencies(dependencies, evaluationMap) {
|
973
|
+
const exports = {};
|
974
|
+
const promiseArray = [];
|
975
|
+
if (dependencies) {
|
976
|
+
for (const dep of dependencies) {
|
977
|
+
if (dep === 'exports') {
|
978
|
+
promiseArray.push(Promise.resolve(exports));
|
979
|
+
} else {
|
980
|
+
invariant(dep !== 'require', NO_AMD_REQUIRE);
|
981
|
+
promiseArray.push(this.evaluateDependent(dep, evaluationMap));
|
982
|
+
}
|
983
|
+
}
|
984
|
+
}
|
985
|
+
return Promise.all(promiseArray).then(results => {
|
986
|
+
const depsMapped = results.filter(result => result !== undefined);
|
987
|
+
return {
|
988
|
+
depsMapped,
|
989
|
+
exports
|
990
|
+
};
|
991
|
+
});
|
986
992
|
}
|
993
|
+
async evaluateDependent(dep, evaluationMap) {
|
994
|
+
const resolvedDepId = await this.resolve(dep);
|
995
|
+
const depModuleRecord = this.getModuleRecord(resolvedDepId, dep);
|
996
|
+
let module = depModuleRecord.module;
|
997
|
+
const handleReturn = module => {
|
998
|
+
if (module) {
|
999
|
+
return module.__defaultInterop ? module.default : module;
|
1000
|
+
}
|
1001
|
+
throw new LoaderError(FAILED_DEP, [resolvedDepId]);
|
1002
|
+
};
|
987
1003
|
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
1004
|
+
// If evaluated return the module
|
1005
|
+
if (depModuleRecord.evaluated) {
|
1006
|
+
return handleReturn(module);
|
1007
|
+
}
|
1008
|
+
/**
|
1009
|
+
* Circular dependencies are handled properly when named exports are used,
|
1010
|
+
* however, for default exports there is a bug: https://github.com/rollup/rollup/issues/3384
|
1011
|
+
*
|
1012
|
+
* The workaround below applies for circular dependencies (!moduleRecord.evaluated)
|
1013
|
+
*/
|
1014
|
+
if (!evaluationMap[depModuleRecord.id]) {
|
1015
|
+
// If we have not started dependency evaluation kick it off
|
1016
|
+
if (!depModuleRecord.evaluationPromise) {
|
1017
|
+
depModuleRecord.evaluationPromise = this.evaluateModule(depModuleRecord, evaluationMap);
|
999
1018
|
}
|
1019
|
+
return depModuleRecord.evaluationPromise.then(module => {
|
1020
|
+
return handleReturn(module);
|
1021
|
+
});
|
1022
|
+
} else {
|
1023
|
+
// Otherwise return a dummy circular module wrapper
|
1024
|
+
module = getCircularDependencyWrapper(module);
|
1000
1025
|
}
|
1026
|
+
return handleReturn(module);
|
1001
1027
|
}
|
1002
1028
|
async evaluateModule(moduleRecord, evaluationMap) {
|
1003
|
-
|
1004
|
-
|
1005
|
-
evaluationMap
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1029
|
+
// Create a evaluationMap to detect cycles in this dep chain
|
1030
|
+
const chainMap = {
|
1031
|
+
...evaluationMap
|
1032
|
+
};
|
1033
|
+
chainMap[moduleRecord.id] = true;
|
1034
|
+
|
1035
|
+
// Wait for load to finish
|
1009
1036
|
const {
|
1010
1037
|
exporter,
|
1011
1038
|
dependencies
|
1012
1039
|
} = await moduleRecord.instantiation;
|
1013
|
-
// The exports object automatically gets filled in by the exporter evaluation
|
1014
|
-
const exports = {};
|
1015
|
-
const depsMapped = dependencies ? await Promise.all(dependencies.map(async dep => {
|
1016
|
-
if (dep === 'exports') {
|
1017
|
-
return exports;
|
1018
|
-
}
|
1019
|
-
const resolvedDepId = await this.resolve(dep);
|
1020
|
-
const moduleRecord = this.moduleRegistry.get(resolvedDepId);
|
1021
|
-
if (!moduleRecord) {
|
1022
|
-
throw new LoaderError(FAILED_DEP, [resolvedDepId]);
|
1023
|
-
}
|
1024
|
-
const module = moduleRecord.module;
|
1025
|
-
|
1026
|
-
/**
|
1027
|
-
* Circular dependencies are handled properly when named exports are used,
|
1028
|
-
* however, for default exports there is a bug: https://github.com/rollup/rollup/issues/3384
|
1029
|
-
*
|
1030
|
-
* The workaround below applies for circular dependencies (!moduleRecord.evaluated)
|
1031
|
-
*/
|
1032
|
-
if (!moduleRecord.evaluated) {
|
1033
|
-
return this.getCircularDependencyWrapper(module);
|
1034
|
-
}
|
1035
|
-
if (module) {
|
1036
|
-
return module.__defaultInterop ? module.default : module;
|
1037
|
-
}
|
1038
|
-
throw new LoaderError(FAILED_DEP, [resolvedDepId]);
|
1039
|
-
})) : [];
|
1040
1040
|
|
1041
|
-
//
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1041
|
+
// Evaluate all it's dependents
|
1042
|
+
const {
|
1043
|
+
depsMapped,
|
1044
|
+
exports
|
1045
|
+
} = await this.evaluateDependencies(dependencies, chainMap);
|
1045
1046
|
|
1046
1047
|
// evaluates the module function
|
1047
|
-
let moduleDefault;
|
1048
|
-
try {
|
1049
|
-
moduleDefault = exporter(...depsMapped);
|
1050
|
-
} catch (e) {
|
1051
|
-
throw new LoaderError(EXPORTER_ERROR, [moduleRecord.id, e.message || e]);
|
1052
|
-
}
|
1048
|
+
let moduleDefault = this.evaluateModuleCode(exporter, depsMapped, moduleRecord);
|
1053
1049
|
// value is returned from exporter, then we are not using named exports
|
1054
1050
|
if (moduleDefault !== undefined) {
|
1055
1051
|
moduleDefault = {
|
@@ -1065,7 +1061,7 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
1065
1061
|
// if no return value, then we are using the exports object
|
1066
1062
|
else {
|
1067
1063
|
// handle only default export with Rollup forced named exports
|
1068
|
-
if (
|
1064
|
+
if (isNamedExportDefaultOnly(exports)) {
|
1069
1065
|
Object.defineProperty(exports, '__useDefault', {
|
1070
1066
|
value: true
|
1071
1067
|
});
|
@@ -1103,33 +1099,16 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
1103
1099
|
value: true
|
1104
1100
|
});
|
1105
1101
|
}
|
1106
|
-
moduleRecord.evaluated = true;
|
1107
1102
|
Object.freeze(moduleRecord.module);
|
1103
|
+
moduleRecord.evaluated = true;
|
1104
|
+
moduleRecord.evaluationPromise = null;
|
1108
1105
|
return moduleRecord.module;
|
1109
1106
|
}
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
// Wrap the dependency in a function that can be called and detected by __circular__ property.
|
1117
|
-
// The LWC engine checks for __circular__ to detect circular dependencies.
|
1118
|
-
getCircularDependencyWrapper(module) {
|
1119
|
-
const tmp = () => {
|
1120
|
-
return module.__useDefault || module.__defaultInterop ? module.default : module;
|
1121
|
-
};
|
1122
|
-
tmp.__circular__ = true;
|
1123
|
-
return tmp;
|
1124
|
-
}
|
1125
|
-
async evaluateModuleDependencies(dependencyModuleRecords, evaluationMap) {
|
1126
|
-
for (let i = 0; i < dependencyModuleRecords.length; i++) {
|
1127
|
-
const depRecord = dependencyModuleRecords[i];
|
1128
|
-
if (!depRecord.evaluated && !evaluationMap[depRecord.id]) {
|
1129
|
-
evaluationMap[depRecord.id] = true;
|
1130
|
-
// eslint-disable-next-line no-await-in-loop
|
1131
|
-
await this.evaluateModule(depRecord, evaluationMap);
|
1132
|
-
}
|
1107
|
+
evaluateModuleCode(evaluatedExporter, depsMapped, moduleRecord) {
|
1108
|
+
try {
|
1109
|
+
return evaluatedExporter(...depsMapped);
|
1110
|
+
} catch (e) {
|
1111
|
+
throw new LoaderError(EXPORTER_ERROR, [moduleRecord.id, e.message || e]);
|
1133
1112
|
}
|
1134
1113
|
}
|
1135
1114
|
async getModuleDef(resolvedId, originalId) {
|
@@ -1256,9 +1235,24 @@ LWR.define('lwr/loader/v/0_12_0-alpha_6', ['exports'], (function (exports) { 'us
|
|
1256
1235
|
this.handleStaleModuleHook = [handleStaleModule];
|
1257
1236
|
}
|
1258
1237
|
}
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1238
|
+
}
|
1239
|
+
|
1240
|
+
// Determines if named exports module has only default export
|
1241
|
+
function isNamedExportDefaultOnly(exports) {
|
1242
|
+
return exports !== undefined && Object.getOwnPropertyNames(exports).length === 2 && Object.prototype.hasOwnProperty.call(exports, 'default') && Object.prototype.hasOwnProperty.call(exports, '__esModule');
|
1243
|
+
}
|
1244
|
+
|
1245
|
+
// Wrap the dependency in a function that can be called and detected by __circular__ property.
|
1246
|
+
// The LWC engine checks for __circular__ to detect circular dependencies.
|
1247
|
+
function getCircularDependencyWrapper(module) {
|
1248
|
+
const tmp = () => {
|
1249
|
+
return module.__useDefault || module.__defaultInterop ? module.default : module;
|
1250
|
+
};
|
1251
|
+
tmp.__circular__ = true;
|
1252
|
+
return tmp;
|
1253
|
+
}
|
1254
|
+
function isValidResolveResponse(res) {
|
1255
|
+
return res === null || typeof res === 'string' || res && typeof res.url === 'string';
|
1262
1256
|
}
|
1263
1257
|
|
1264
1258
|
/**
|
@@ -1,4 +1,4 @@
|
|
1
|
-
LWR.define('lwr/preInit/v/0_12_0-
|
1
|
+
LWR.define('lwr/preInit/v/0_12_0-alpha_8', ['exports'], (function (exports) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* This module is called in the ABS module (app bootstrap module) to perform neccesary pre initialization steps for an LWR app.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
LWR.define('lwr/profiler/v/0_12_0-
|
1
|
+
LWR.define('lwr/profiler/v/0_12_0-alpha_8', ['exports'], (function (exports) { 'use strict';
|
2
2
|
|
3
3
|
var Phase = /*#__PURE__*/function (Phase) {
|
4
4
|
Phase[Phase["Start"] = 0] = "Start";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
LWR.define('lwr/vault/v/0_12_0-
|
1
|
+
LWR.define('lwr/vault/v/0_12_0-alpha_8', ['exports'], (function (exports) { 'use strict';
|
2
2
|
|
3
3
|
// Credential vault for storing setters and subscribers for OAuth info
|
4
4
|
// This module is a SINGLETON and must be excluded from ESM bundling
|
@@ -4,5 +4,5 @@
|
|
4
4
|
* SPDX-License-Identifier: MIT
|
5
5
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
6
6
|
*/
|
7
|
-
/* LWR Error Shim v0.12.0-alpha.
|
7
|
+
/* LWR Error Shim v0.12.0-alpha.8 */
|
8
8
|
!function(){"use strict";if(!(globalThis.LWR&&globalThis.LWR.define)){const o=new Error("The LWR application failed to bootstrap");if(!globalThis.LWR||!globalThis.LWR.onError)throw o;globalThis.LWR.onError(o)}}();
|