@cloudcreate/adsense-check 1.4.1 → 1.4.2
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-KYGG7TZX.js → chunk-MFO6RCM3.js} +1 -1
- package/dist/cli.js +4 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -2126,7 +2126,7 @@ async function check(options) {
|
|
|
2126
2126
|
pageAnalyses = aiResult.pageAnalyses;
|
|
2127
2127
|
const aiItems = [];
|
|
2128
2128
|
if (aiResult.suggestions.length > 0) {
|
|
2129
|
-
aiItems.push({ name: t("item.ai.suggestions", lang), status: "warn", message: t("ai.suggestion_count", lang, { count: aiResult.suggestions.length }),
|
|
2129
|
+
aiItems.push({ name: t("item.ai.suggestions", lang), status: "warn", message: t("ai.suggestion_count", lang, { count: aiResult.suggestions.length }), detailList: aiResult.suggestions });
|
|
2130
2130
|
}
|
|
2131
2131
|
allCategories.push({ name: t("group.ai_value", lang), items: aiItems, group: "soft" });
|
|
2132
2132
|
let suspiciousPages = pageAnalyses.filter((a) => {
|
package/dist/cli.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getSupportedLangs,
|
|
11
11
|
isValidLang,
|
|
12
12
|
t
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MFO6RCM3.js";
|
|
14
14
|
|
|
15
15
|
// src/cli.ts
|
|
16
16
|
import "dotenv/config";
|
|
@@ -138,6 +138,9 @@ function renderTerminalReport(report) {
|
|
|
138
138
|
for (const item of cat.items) {
|
|
139
139
|
lines.push(` ${ICONS[item.status]} [${LABELS[item.status]}] ${item.message}`);
|
|
140
140
|
if (item.detail) lines.push(chalk.gray(` ${item.detail}`));
|
|
141
|
+
if (item.detailList) {
|
|
142
|
+
for (const d of item.detailList) lines.push(chalk.gray(` \u2022 ${d}`));
|
|
143
|
+
}
|
|
141
144
|
}
|
|
142
145
|
lines.push("");
|
|
143
146
|
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED