@camstack/addon-benchmark 1.2.88 → 1.2.89
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.js +2 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15505,12 +15505,10 @@ function readPreflight(result) {
|
|
|
15505
15505
|
return { kind: "runnable", format: result.format };
|
|
15506
15506
|
}
|
|
15507
15507
|
var PACKAGE_DETECTION_STEP_ID = "package-detection";
|
|
15508
|
-
function hasPackageZone(overlay) {
|
|
15509
|
-
return overlay.packageZone !== void 0;
|
|
15510
|
-
}
|
|
15511
15508
|
function applyPackageZoneOverlay(steps, overlay) {
|
|
15509
|
+
if (overlay.packageDetection === void 0) return steps;
|
|
15512
15510
|
const existing = steps.find((s) => s.addonId === PACKAGE_DETECTION_STEP_ID);
|
|
15513
|
-
if (!
|
|
15511
|
+
if (!overlay.packageDetection) {
|
|
15514
15512
|
if (!existing) return steps;
|
|
15515
15513
|
return steps.filter((s) => s.addonId !== PACKAGE_DETECTION_STEP_ID);
|
|
15516
15514
|
}
|
|
@@ -15545,9 +15543,6 @@ function applySettingsAndModels(steps, overlay, ignored) {
|
|
|
15545
15543
|
function buildReplayPlan(base, overlay) {
|
|
15546
15544
|
const ignored = /* @__PURE__ */ new Set();
|
|
15547
15545
|
const withPackageZone = applyPackageZoneOverlay(base.steps, overlay);
|
|
15548
|
-
if (!hasPackageZone(overlay) && (overlay.stepSettings?.[PACKAGE_DETECTION_STEP_ID] !== void 0 || overlay.stepModels?.[PACKAGE_DETECTION_STEP_ID] !== void 0)) {
|
|
15549
|
-
ignored.add(PACKAGE_DETECTION_STEP_ID);
|
|
15550
|
-
}
|
|
15551
15546
|
const steps = applySettingsAndModels(withPackageZone, overlay, ignored);
|
|
15552
15547
|
return { steps, ignoredOverlays: [...ignored] };
|
|
15553
15548
|
}
|