@firestartr/cli 1.43.2-snapshot3 → 1.44.0-snapshot-1
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 +4 -3
- package/package.json +1 -1
package/build/index.js
CHANGED
@@ -282292,16 +282292,17 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
282292
282292
|
|
282293
282293
|
|
282294
282294
|
|
282295
|
+
|
282295
282296
|
const lazy_loader_log = src_default()('firestartr:renderer:lazy_loader');
|
282296
|
-
async function loadClaim(claimRef, org, defaults, patchClaim, loadInitializers, loadGlobals, loadOverrides, loadNormalizers, cwd, existingRefs = {}) {
|
282297
|
+
async function loadClaim(claimRef, org, defaults = loadClaimDefaults(), patchClaim, loadInitializers, loadGlobals, loadOverrides, loadNormalizers, cwd, existingRefs = {}) {
|
282297
282298
|
let result = existingRefs;
|
282298
282299
|
lazy_loader_log(`Load reference ${claimRef}`);
|
282299
282300
|
initVirtualClaims(org);
|
282300
282301
|
lazy_loader_log(`Load reference (parts) ${claimRef.split(/-/)[0]} ${claimRef.replace(/^[^-]+-/, '')}`);
|
282301
282302
|
// cargas datos con grep
|
282302
282303
|
const claimData = await lazyGetClaim(claimRef.split(/-/)[0], claimRef.replace(/^[^-]+-/, ''), org, cwd);
|
282303
|
-
|
282304
|
-
const claim =
|
282304
|
+
const claim = patchClaim(catalog_common.io.fromYaml(claimData), defaults);
|
282305
|
+
//const claim: any = common.io.fromYaml(claimData);
|
282305
282306
|
try {
|
282306
282307
|
validateClaim(claim, base[`${claim.kind}Schema`]);
|
282307
282308
|
await optionalValidation(claim);
|