@probelabs/visor 0.1.73 → 0.1.75

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/dist/sdk/sdk.js CHANGED
@@ -7252,6 +7252,27 @@ ${expr}
7252
7252
  dependencyResults.set(depId, depResult);
7253
7253
  }
7254
7254
  }
7255
+ const directDeps = checkConfig.depends_on || [];
7256
+ const failedDeps = [];
7257
+ for (const depId of directDeps) {
7258
+ const depRes = results.get(depId);
7259
+ if (!depRes) continue;
7260
+ const hasFatalCommandFailure = (depRes.issues || []).some((issue) => {
7261
+ const id = issue.ruleId || "";
7262
+ return id.endsWith("/command/execution_error") || id.endsWith("/command/transform_js_error") || id.endsWith("/command/transform_error");
7263
+ });
7264
+ if (hasFatalCommandFailure) failedDeps.push(depId);
7265
+ }
7266
+ if (failedDeps.length > 0) {
7267
+ this.recordSkip(checkName, "dependency_failed");
7268
+ logger.info(`\u23ED Skipped (dependency failed: ${failedDeps.join(", ")})`);
7269
+ return {
7270
+ checkName,
7271
+ error: null,
7272
+ result: { issues: [] },
7273
+ skipped: true
7274
+ };
7275
+ }
7255
7276
  for (const depId of checkConfig.depends_on || []) {
7256
7277
  if (results.has(depId)) {
7257
7278
  const depResult = results.get(depId);