@koda-sl/baker-cli 0.270.0-dev.1f1c09c80 → 0.271.0-dev.1f1c09c80
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.
|
@@ -7349,17 +7349,18 @@ var GATE_SECTIONS = ["lint", "runtime", "layout", "motion", "contrast"];
|
|
|
7349
7349
|
function buildCheckArgs(dir, samples) {
|
|
7350
7350
|
return ["hyperframes", "check", dir, "--json", "--samples", String(samples), "--at-transitions"];
|
|
7351
7351
|
}
|
|
7352
|
-
var PROMOTE_TO_BLOCKING = /GSAP target [^ ]+ not found/i;
|
|
7352
|
+
var PROMOTE_TO_BLOCKING = /GSAP target [^ ]+ not found|no deterministic font mapping/i;
|
|
7353
7353
|
function toGateFinding(section, entry) {
|
|
7354
7354
|
const f = entry;
|
|
7355
7355
|
const code = typeof f.code === "string" ? f.code : "unknown";
|
|
7356
7356
|
const message2 = typeof f.message === "string" ? f.message : "";
|
|
7357
7357
|
const isError = f.severity === "error" || PROMOTE_TO_BLOCKING.test(message2);
|
|
7358
|
+
const fatal = PROMOTE_TO_BLOCKING.test(message2);
|
|
7358
7359
|
return {
|
|
7359
7360
|
source: section,
|
|
7360
7361
|
code,
|
|
7361
7362
|
message: message2,
|
|
7362
|
-
severity: isError && !isAdvisory(code, message2) ? "blocking" : "warning"
|
|
7363
|
+
severity: fatal || isError && !isAdvisory(code, message2) ? "blocking" : "warning"
|
|
7363
7364
|
};
|
|
7364
7365
|
}
|
|
7365
7366
|
function classifyGateOutput(raw) {
|
|
@@ -9272,4 +9273,4 @@ export {
|
|
|
9272
9273
|
defaultRegistry,
|
|
9273
9274
|
createEngineFromEnv
|
|
9274
9275
|
};
|
|
9275
|
-
//# sourceMappingURL=chunk-
|
|
9276
|
+
//# sourceMappingURL=chunk-4IJX4R4J.js.map
|