@stoker-platform/cli 0.5.129 → 0.5.131

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/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/cli",
3
- "version": "0.5.129",
3
+ "version": "0.5.130",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "./lib/src/main.js",
@@ -24,9 +24,9 @@
24
24
  "@google-cloud/secret-manager": "^6.1.2",
25
25
  "@google-cloud/storage": "^7.19.0",
26
26
  "@inquirer/prompts": "^8.5.2",
27
- "@stoker-platform/node-client": "0.5.82",
28
- "@stoker-platform/types": "0.5.61",
29
- "@stoker-platform/utils": "0.5.73",
27
+ "@stoker-platform/node-client": "0.5.83",
28
+ "@stoker-platform/types": "0.5.62",
29
+ "@stoker-platform/utils": "0.5.74",
30
30
  "algoliasearch": "^5.53.0",
31
31
  "commander": "^15.0.0",
32
32
  "cross-spawn": "^7.0.6",
@@ -185,6 +185,14 @@ export const auditRelations = async (options) => {
185
185
  }
186
186
  }
187
187
  }
188
+ if (Array.isArray(record[`${field.name}_Array`])) {
189
+ for (const id of record[`${field.name}_Array`]) {
190
+ // eslint-disable-next-line security/detect-object-injection
191
+ if (!record[field.name]?.[id]) {
192
+ console.log(`${collectionName} ${doc.id} - Field ${field.name}_Array contains ${id} but there is no matching ${field.name} map entry`);
193
+ }
194
+ }
195
+ }
188
196
  }
189
197
  }
190
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/cli",
3
- "version": "0.5.129",
3
+ "version": "0.5.131",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "./lib/src/main.js",
@@ -24,9 +24,9 @@
24
24
  "@google-cloud/secret-manager": "^6.1.2",
25
25
  "@google-cloud/storage": "^7.19.0",
26
26
  "@inquirer/prompts": "^8.5.2",
27
- "@stoker-platform/node-client": "0.5.82",
28
- "@stoker-platform/types": "0.5.61",
29
- "@stoker-platform/utils": "0.5.73",
27
+ "@stoker-platform/node-client": "0.5.84",
28
+ "@stoker-platform/types": "0.5.62",
29
+ "@stoker-platform/utils": "0.5.75",
30
30
  "algoliasearch": "^5.53.0",
31
31
  "commander": "^15.0.0",
32
32
  "cross-spawn": "^7.0.6",