@riddledc/riddle-proof 0.7.166 → 0.7.167
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/{chunk-L6WJP5IY.js → chunk-UZZA33AX.js} +0 -22
- package/dist/cli.cjs +0 -22
- package/dist/cli.js +1 -1
- package/dist/index.cjs +0 -22
- package/dist/index.js +1 -1
- package/dist/profile.cjs +0 -22
- package/dist/profile.js +1 -1
- package/package.json +1 -1
|
@@ -3052,17 +3052,6 @@ function assessSetupActionsFromEvidence(profile, evidence) {
|
|
|
3052
3052
|
const failed = [];
|
|
3053
3053
|
const viewports = evidence.viewports || [];
|
|
3054
3054
|
const expectedActionCountByViewport = /* @__PURE__ */ new Map();
|
|
3055
|
-
const capturedViewportNames = new Set(viewports.map((viewport) => viewport.name));
|
|
3056
|
-
for (const action of profile.target.setup_actions) {
|
|
3057
|
-
if (action.viewports?.length && !action.viewports.some((name) => capturedViewportNames.has(name))) {
|
|
3058
|
-
failed.push({
|
|
3059
|
-
viewport: null,
|
|
3060
|
-
action: action.type,
|
|
3061
|
-
selector: action.selector ?? null,
|
|
3062
|
-
reason: `setup action scoped to missing viewport(s): ${action.viewports.join(", ")}`
|
|
3063
|
-
});
|
|
3064
|
-
}
|
|
3065
|
-
}
|
|
3066
3055
|
for (const viewport of viewports) {
|
|
3067
3056
|
const expectedActionCount = setupActionsForViewport(profile.target.setup_actions, viewport.name).length;
|
|
3068
3057
|
expectedActionCountByViewport.set(viewport.name, expectedActionCount);
|
|
@@ -4539,17 +4528,6 @@ function assessProfile(profile, evidence) {
|
|
|
4539
4528
|
const actionCount = profile.target.setup_actions.length;
|
|
4540
4529
|
const failed = [];
|
|
4541
4530
|
const expectedActionCountsByViewport = {};
|
|
4542
|
-
const capturedViewportNames = new Set(viewports.map((viewport) => viewport.name));
|
|
4543
|
-
for (const action of profile.target.setup_actions) {
|
|
4544
|
-
if (Array.isArray(action.viewports) && action.viewports.length && !action.viewports.some((name) => capturedViewportNames.has(name))) {
|
|
4545
|
-
failed.push({
|
|
4546
|
-
viewport: null,
|
|
4547
|
-
action: action.type,
|
|
4548
|
-
selector: action.selector || null,
|
|
4549
|
-
reason: "setup action scoped to missing viewport(s): " + action.viewports.join(", "),
|
|
4550
|
-
});
|
|
4551
|
-
}
|
|
4552
|
-
}
|
|
4553
4531
|
for (const viewport of viewports) {
|
|
4554
4532
|
const expectedActionCount = setupActionsForViewport(profile.target.setup_actions, viewport.name).length;
|
|
4555
4533
|
expectedActionCountsByViewport[viewport.name] = expectedActionCount;
|
package/dist/cli.cjs
CHANGED
|
@@ -10009,17 +10009,6 @@ function assessSetupActionsFromEvidence(profile, evidence) {
|
|
|
10009
10009
|
const failed = [];
|
|
10010
10010
|
const viewports = evidence.viewports || [];
|
|
10011
10011
|
const expectedActionCountByViewport = /* @__PURE__ */ new Map();
|
|
10012
|
-
const capturedViewportNames = new Set(viewports.map((viewport) => viewport.name));
|
|
10013
|
-
for (const action of profile.target.setup_actions) {
|
|
10014
|
-
if (action.viewports?.length && !action.viewports.some((name) => capturedViewportNames.has(name))) {
|
|
10015
|
-
failed.push({
|
|
10016
|
-
viewport: null,
|
|
10017
|
-
action: action.type,
|
|
10018
|
-
selector: action.selector ?? null,
|
|
10019
|
-
reason: `setup action scoped to missing viewport(s): ${action.viewports.join(", ")}`
|
|
10020
|
-
});
|
|
10021
|
-
}
|
|
10022
|
-
}
|
|
10023
10012
|
for (const viewport of viewports) {
|
|
10024
10013
|
const expectedActionCount = setupActionsForViewport(profile.target.setup_actions, viewport.name).length;
|
|
10025
10014
|
expectedActionCountByViewport.set(viewport.name, expectedActionCount);
|
|
@@ -11480,17 +11469,6 @@ function assessProfile(profile, evidence) {
|
|
|
11480
11469
|
const actionCount = profile.target.setup_actions.length;
|
|
11481
11470
|
const failed = [];
|
|
11482
11471
|
const expectedActionCountsByViewport = {};
|
|
11483
|
-
const capturedViewportNames = new Set(viewports.map((viewport) => viewport.name));
|
|
11484
|
-
for (const action of profile.target.setup_actions) {
|
|
11485
|
-
if (Array.isArray(action.viewports) && action.viewports.length && !action.viewports.some((name) => capturedViewportNames.has(name))) {
|
|
11486
|
-
failed.push({
|
|
11487
|
-
viewport: null,
|
|
11488
|
-
action: action.type,
|
|
11489
|
-
selector: action.selector || null,
|
|
11490
|
-
reason: "setup action scoped to missing viewport(s): " + action.viewports.join(", "),
|
|
11491
|
-
});
|
|
11492
|
-
}
|
|
11493
|
-
}
|
|
11494
11472
|
for (const viewport of viewports) {
|
|
11495
11473
|
const expectedActionCount = setupActionsForViewport(profile.target.setup_actions, viewport.name).length;
|
|
11496
11474
|
expectedActionCountsByViewport[viewport.name] = expectedActionCount;
|
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -11785,17 +11785,6 @@ function assessSetupActionsFromEvidence(profile, evidence) {
|
|
|
11785
11785
|
const failed = [];
|
|
11786
11786
|
const viewports = evidence.viewports || [];
|
|
11787
11787
|
const expectedActionCountByViewport = /* @__PURE__ */ new Map();
|
|
11788
|
-
const capturedViewportNames = new Set(viewports.map((viewport) => viewport.name));
|
|
11789
|
-
for (const action of profile.target.setup_actions) {
|
|
11790
|
-
if (action.viewports?.length && !action.viewports.some((name) => capturedViewportNames.has(name))) {
|
|
11791
|
-
failed.push({
|
|
11792
|
-
viewport: null,
|
|
11793
|
-
action: action.type,
|
|
11794
|
-
selector: action.selector ?? null,
|
|
11795
|
-
reason: `setup action scoped to missing viewport(s): ${action.viewports.join(", ")}`
|
|
11796
|
-
});
|
|
11797
|
-
}
|
|
11798
|
-
}
|
|
11799
11788
|
for (const viewport of viewports) {
|
|
11800
11789
|
const expectedActionCount = setupActionsForViewport(profile.target.setup_actions, viewport.name).length;
|
|
11801
11790
|
expectedActionCountByViewport.set(viewport.name, expectedActionCount);
|
|
@@ -13272,17 +13261,6 @@ function assessProfile(profile, evidence) {
|
|
|
13272
13261
|
const actionCount = profile.target.setup_actions.length;
|
|
13273
13262
|
const failed = [];
|
|
13274
13263
|
const expectedActionCountsByViewport = {};
|
|
13275
|
-
const capturedViewportNames = new Set(viewports.map((viewport) => viewport.name));
|
|
13276
|
-
for (const action of profile.target.setup_actions) {
|
|
13277
|
-
if (Array.isArray(action.viewports) && action.viewports.length && !action.viewports.some((name) => capturedViewportNames.has(name))) {
|
|
13278
|
-
failed.push({
|
|
13279
|
-
viewport: null,
|
|
13280
|
-
action: action.type,
|
|
13281
|
-
selector: action.selector || null,
|
|
13282
|
-
reason: "setup action scoped to missing viewport(s): " + action.viewports.join(", "),
|
|
13283
|
-
});
|
|
13284
|
-
}
|
|
13285
|
-
}
|
|
13286
13264
|
for (const viewport of viewports) {
|
|
13287
13265
|
const expectedActionCount = setupActionsForViewport(profile.target.setup_actions, viewport.name).length;
|
|
13288
13266
|
expectedActionCountsByViewport[viewport.name] = expectedActionCount;
|
package/dist/index.js
CHANGED
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
resolveRiddleProofProfileTimeoutSec,
|
|
63
63
|
slugifyRiddleProofProfileName,
|
|
64
64
|
summarizeRiddleProofProfileResult
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-UZZA33AX.js";
|
|
66
66
|
import {
|
|
67
67
|
DEFAULT_RIDDLE_API_BASE_URL,
|
|
68
68
|
DEFAULT_RIDDLE_API_KEY_FILE,
|
package/dist/profile.cjs
CHANGED
|
@@ -3099,17 +3099,6 @@ function assessSetupActionsFromEvidence(profile, evidence) {
|
|
|
3099
3099
|
const failed = [];
|
|
3100
3100
|
const viewports = evidence.viewports || [];
|
|
3101
3101
|
const expectedActionCountByViewport = /* @__PURE__ */ new Map();
|
|
3102
|
-
const capturedViewportNames = new Set(viewports.map((viewport) => viewport.name));
|
|
3103
|
-
for (const action of profile.target.setup_actions) {
|
|
3104
|
-
if (action.viewports?.length && !action.viewports.some((name) => capturedViewportNames.has(name))) {
|
|
3105
|
-
failed.push({
|
|
3106
|
-
viewport: null,
|
|
3107
|
-
action: action.type,
|
|
3108
|
-
selector: action.selector ?? null,
|
|
3109
|
-
reason: `setup action scoped to missing viewport(s): ${action.viewports.join(", ")}`
|
|
3110
|
-
});
|
|
3111
|
-
}
|
|
3112
|
-
}
|
|
3113
3102
|
for (const viewport of viewports) {
|
|
3114
3103
|
const expectedActionCount = setupActionsForViewport(profile.target.setup_actions, viewport.name).length;
|
|
3115
3104
|
expectedActionCountByViewport.set(viewport.name, expectedActionCount);
|
|
@@ -4586,17 +4575,6 @@ function assessProfile(profile, evidence) {
|
|
|
4586
4575
|
const actionCount = profile.target.setup_actions.length;
|
|
4587
4576
|
const failed = [];
|
|
4588
4577
|
const expectedActionCountsByViewport = {};
|
|
4589
|
-
const capturedViewportNames = new Set(viewports.map((viewport) => viewport.name));
|
|
4590
|
-
for (const action of profile.target.setup_actions) {
|
|
4591
|
-
if (Array.isArray(action.viewports) && action.viewports.length && !action.viewports.some((name) => capturedViewportNames.has(name))) {
|
|
4592
|
-
failed.push({
|
|
4593
|
-
viewport: null,
|
|
4594
|
-
action: action.type,
|
|
4595
|
-
selector: action.selector || null,
|
|
4596
|
-
reason: "setup action scoped to missing viewport(s): " + action.viewports.join(", "),
|
|
4597
|
-
});
|
|
4598
|
-
}
|
|
4599
|
-
}
|
|
4600
4578
|
for (const viewport of viewports) {
|
|
4601
4579
|
const expectedActionCount = setupActionsForViewport(profile.target.setup_actions, viewport.name).length;
|
|
4602
4580
|
expectedActionCountsByViewport[viewport.name] = expectedActionCount;
|
package/dist/profile.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveRiddleProofProfileTimeoutSec,
|
|
24
24
|
slugifyRiddleProofProfileName,
|
|
25
25
|
summarizeRiddleProofProfileResult
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UZZA33AX.js";
|
|
27
27
|
export {
|
|
28
28
|
RIDDLE_PROOF_PROFILE_CHECK_TYPES,
|
|
29
29
|
RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION,
|