@lwrjs/module-registry 0.17.2-alpha.1 → 0.17.2-alpha.3
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/cjs/index.cjs +2 -6
- package/build/es/index.js +3 -7
- package/package.json +6 -6
package/build/cjs/index.cjs
CHANGED
|
@@ -247,9 +247,7 @@ var LwrModuleRegistry = class {
|
|
|
247
247
|
return result;
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
throw
|
|
251
|
-
description: import_diagnostics.descriptions.UNRESOLVABLE.MODULE_ENTRY(moduleId.specifier)
|
|
252
|
-
}, import_diagnostics.LwrUnresolvableError);
|
|
250
|
+
throw new import_diagnostics.LwrUnresolvableError(import_diagnostics.descriptions.UNRESOLVABLE.MODULE_ENTRY(moduleId.specifier), "module");
|
|
253
251
|
}
|
|
254
252
|
async delegateGetModuleOnProviders(moduleId, runtimeParams) {
|
|
255
253
|
for (const registry of this.providers) {
|
|
@@ -264,9 +262,7 @@ var LwrModuleRegistry = class {
|
|
|
264
262
|
return result;
|
|
265
263
|
}
|
|
266
264
|
}
|
|
267
|
-
throw
|
|
268
|
-
description: import_diagnostics.descriptions.UNRESOLVABLE.MODULE(moduleId.specifier)
|
|
269
|
-
}, import_diagnostics.LwrUnresolvableError);
|
|
265
|
+
throw new import_diagnostics.LwrUnresolvableError(import_diagnostics.descriptions.UNRESOLVABLE.MODULE(moduleId.specifier), "module");
|
|
270
266
|
}
|
|
271
267
|
getPublicApi() {
|
|
272
268
|
return {
|
package/build/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LwrUnresolvableError,
|
|
1
|
+
import { LwrUnresolvableError, descriptions, logger } from '@lwrjs/diagnostics';
|
|
2
2
|
import { discoverInterchangeableModules, getCacheKeyFromJson, InflightTasks, LATEST_SIGNATURE, ModuleNameType, getGroupName, VERSION_NOT_PROVIDED, isExternalFileSpecifier, } from '@lwrjs/shared-utils';
|
|
3
3
|
// dependencies @locker/compiler and rollup are in this package.json is to satisfy the shared-utils/compiler optional dependencies
|
|
4
4
|
import { convertToAmd } from '@lwrjs/shared-utils/compiler';
|
|
@@ -250,9 +250,7 @@ export class LwrModuleRegistry {
|
|
|
250
250
|
return result;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
throw
|
|
254
|
-
description: descriptions.UNRESOLVABLE.MODULE_ENTRY(moduleId.specifier),
|
|
255
|
-
}, LwrUnresolvableError);
|
|
253
|
+
throw new LwrUnresolvableError(descriptions.UNRESOLVABLE.MODULE_ENTRY(moduleId.specifier), 'module');
|
|
256
254
|
}
|
|
257
255
|
async delegateGetModuleOnProviders(moduleId, runtimeParams) {
|
|
258
256
|
for (const registry of this.providers) {
|
|
@@ -269,9 +267,7 @@ export class LwrModuleRegistry {
|
|
|
269
267
|
return result;
|
|
270
268
|
}
|
|
271
269
|
}
|
|
272
|
-
throw
|
|
273
|
-
description: descriptions.UNRESOLVABLE.MODULE(moduleId.specifier),
|
|
274
|
-
}, LwrUnresolvableError);
|
|
270
|
+
throw new LwrUnresolvableError(descriptions.UNRESOLVABLE.MODULE(moduleId.specifier), 'module');
|
|
275
271
|
}
|
|
276
272
|
getPublicApi() {
|
|
277
273
|
return {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.17.2-alpha.
|
|
7
|
+
"version": "0.17.2-alpha.3",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
"build": "tsc -b"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@lwrjs/config": "0.17.2-alpha.
|
|
41
|
-
"@lwrjs/diagnostics": "0.17.2-alpha.
|
|
42
|
-
"@lwrjs/shared-utils": "0.17.2-alpha.
|
|
40
|
+
"@lwrjs/config": "0.17.2-alpha.3",
|
|
41
|
+
"@lwrjs/diagnostics": "0.17.2-alpha.3",
|
|
42
|
+
"@lwrjs/shared-utils": "0.17.2-alpha.3",
|
|
43
43
|
"fs-extra": "^11.1.1",
|
|
44
44
|
"rollup": "^2.79.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@lwrjs/types": "0.17.2-alpha.
|
|
47
|
+
"@lwrjs/types": "0.17.2-alpha.3",
|
|
48
48
|
"memfs": "^4.13.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=18.0.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "43757693dfca356cff105d4896a7a3cbf11ac017"
|
|
54
54
|
}
|