@firestartr/cli 1.57.1-snapshot → 1.57.1-snapshot-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/index.js CHANGED
@@ -357885,6 +357885,11 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
357885
357885
  type: 'string',
357886
357886
  pattern: '^(user|group):([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
357887
357887
  },
357888
+ MaintainerReference: {
357889
+ $id: 'firestartr.dev://common/FirestartrMaintainerRef',
357890
+ type: 'string',
357891
+ pattern: '^(user|group|collaborator):([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
357892
+ },
357888
357893
  Annotations: {
357889
357894
  $id: 'firestartr.dev://common/FirestartrAnnotations',
357890
357895
  type: 'object',
@@ -357988,7 +357993,7 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
357988
357993
  maintainedBy: {
357989
357994
  type: 'array',
357990
357995
  items: {
357991
- $ref: 'firestartr.dev://common/FirestartrOwnerRef',
357996
+ $ref: 'firestartr.dev://common/FirestartrMaintainerRef',
357992
357997
  },
357993
357998
  },
357994
357999
  platformOwner: {
@@ -359154,15 +359159,17 @@ async function loadClaim(claimRef, org, defaults = loadClaimDefaults(), patchCla
359154
359159
  await optionalValidation(claim);
359155
359160
  }
359156
359161
  catch (error) {
359162
+ let errorMsg = '';
359157
359163
  if (Array.isArray(error)) {
359158
- let errorMsg = '';
359159
359164
  for (const data of error) {
359160
359165
  errorMsg = `${errorMsg}
359161
359166
  - ${data.instancePath}: ${data.message}`;
359162
359167
  }
359163
- throw new Error(`Error when validating claim ${claimRef}: ${errorMsg}`);
359164
359168
  }
359165
- throw new Error(`Error when validating claim ${claimRef}: ${error}`);
359169
+ else {
359170
+ errorMsg = error instanceof Error ? error.message : String(error);
359171
+ }
359172
+ throw new Error(`Error when validating claim ${claimRef}: ${errorMsg}`);
359166
359173
  }
359167
359174
  result[claimRef] = {};
359168
359175
  result[claimRef]['claim'] = claim;
@@ -376437,7 +376444,7 @@ const crs_analyzerSubcommand = {
376437
376444
  };
376438
376445
 
376439
376446
  ;// CONCATENATED MODULE: ./package.json
376440
- const package_namespaceObject = JSON.parse('{"i8":"1.57.1-snapshot"}');
376447
+ const package_namespaceObject = JSON.parse('{"i8":"1.57.1-snapshot-3"}');
376441
376448
  ;// CONCATENATED MODULE: ../../package.json
376442
376449
  const package_namespaceObject_1 = {"i8":"1.57.0"};
376443
376450
  ;// CONCATENATED MODULE: ./src/subcommands/index.ts
@@ -98,6 +98,11 @@ declare const _default: {
98
98
  type: string;
99
99
  pattern: string;
100
100
  };
101
+ MaintainerReference: {
102
+ $id: string;
103
+ type: string;
104
+ pattern: string;
105
+ };
101
106
  Annotations: {
102
107
  $id: string;
103
108
  type: string;
@@ -102,6 +102,11 @@ declare const schemas: {
102
102
  type: string;
103
103
  pattern: string;
104
104
  };
105
+ MaintainerReference: {
106
+ $id: string;
107
+ type: string;
108
+ pattern: string;
109
+ };
105
110
  Annotations: {
106
111
  $id: string;
107
112
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.57.1-snapshot",
3
+ "version": "1.57.1-snapshot-3",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",