@camstack/addon-benchmark 1.2.88 → 1.2.90

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/index.mjs CHANGED
@@ -15470,12 +15470,10 @@ function readPreflight(result) {
15470
15470
  return { kind: "runnable", format: result.format };
15471
15471
  }
15472
15472
  var PACKAGE_DETECTION_STEP_ID = "package-detection";
15473
- function hasPackageZone(overlay) {
15474
- return overlay.packageZone !== void 0;
15475
- }
15476
15473
  function applyPackageZoneOverlay(steps, overlay) {
15474
+ if (overlay.packageDetection === void 0) return steps;
15477
15475
  const existing = steps.find((s) => s.addonId === PACKAGE_DETECTION_STEP_ID);
15478
- if (!hasPackageZone(overlay)) {
15476
+ if (!overlay.packageDetection) {
15479
15477
  if (!existing) return steps;
15480
15478
  return steps.filter((s) => s.addonId !== PACKAGE_DETECTION_STEP_ID);
15481
15479
  }
@@ -15510,9 +15508,6 @@ function applySettingsAndModels(steps, overlay, ignored) {
15510
15508
  function buildReplayPlan(base, overlay) {
15511
15509
  const ignored = /* @__PURE__ */ new Set();
15512
15510
  const withPackageZone = applyPackageZoneOverlay(base.steps, overlay);
15513
- if (!hasPackageZone(overlay) && (overlay.stepSettings?.[PACKAGE_DETECTION_STEP_ID] !== void 0 || overlay.stepModels?.[PACKAGE_DETECTION_STEP_ID] !== void 0)) {
15514
- ignored.add(PACKAGE_DETECTION_STEP_ID);
15515
- }
15516
15511
  const steps = applySettingsAndModels(withPackageZone, overlay, ignored);
15517
15512
  return { steps, ignoredOverlays: [...ignored] };
15518
15513
  }