@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.
@@ -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 }), detail: aiResult.suggestions.join("; ") });
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-KYGG7TZX.js";
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
@@ -7,6 +7,7 @@ interface CheckItem {
7
7
  status: CheckStatus;
8
8
  message: string;
9
9
  detail?: string;
10
+ detailList?: string[];
10
11
  }
11
12
  type CheckGroup = 'hard' | 'soft';
12
13
  interface CheckCategory {
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  check
3
- } from "./chunk-KYGG7TZX.js";
3
+ } from "./chunk-MFO6RCM3.js";
4
4
  export {
5
5
  check
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudcreate/adsense-check",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Check if a website meets Google AdSense review requirements",
5
5
  "homepage": "https://cloudcreate.ai",
6
6
  "repository": {