gscdump 1.4.7 → 1.4.10

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.
@@ -11,7 +11,9 @@
11
11
  */
12
12
  declare function isFragmentUrl(url: string): boolean;
13
13
  declare const INDEXING_ISSUE_FILTERS: {
14
- readonly canonical_mismatch: "user_canonical IS NOT NULL AND google_canonical IS NOT NULL AND user_canonical != google_canonical";
14
+ readonly canonical_mismatch: "canonical_mismatch_kind = 'path'";
15
+ readonly canonical_cross_domain: "canonical_mismatch_kind = 'cross_domain'";
16
+ readonly canonical_formatting: "canonical_mismatch_kind = 'formatting'";
15
17
  readonly stale_crawl: "last_crawl_time < datetime('now', '-30 days')";
16
18
  readonly very_stale_crawl: "last_crawl_time < datetime('now', '-60 days')";
17
19
  readonly not_indexed: "verdict IN ('FAIL', 'PARTIAL', 'NEUTRAL')";
@@ -2,7 +2,9 @@ function isFragmentUrl(url) {
2
2
  return typeof url === "string" && url.includes("#");
3
3
  }
4
4
  const INDEXING_ISSUE_FILTERS = {
5
- canonical_mismatch: `user_canonical IS NOT NULL AND google_canonical IS NOT NULL AND user_canonical != google_canonical`,
5
+ canonical_mismatch: `canonical_mismatch_kind = 'path'`,
6
+ canonical_cross_domain: `canonical_mismatch_kind = 'cross_domain'`,
7
+ canonical_formatting: `canonical_mismatch_kind = 'formatting'`,
6
8
  stale_crawl: `last_crawl_time < datetime('now', '-30 days')`,
7
9
  very_stale_crawl: `last_crawl_time < datetime('now', '-60 days')`,
8
10
  not_indexed: `verdict IN ('FAIL', 'PARTIAL', 'NEUTRAL')`,
@@ -33,6 +35,8 @@ const INDEXING_ISSUE_FILTERS = {
33
35
  };
34
36
  const INDEXING_ISSUE_LABELS = {
35
37
  canonical_mismatch: "Canonical mismatch",
38
+ canonical_cross_domain: "Cross-domain canonical",
39
+ canonical_formatting: "Canonical formatting differs",
36
40
  stale_crawl: "Not crawled in 30+ days",
37
41
  very_stale_crawl: "Not crawled in 60+ days",
38
42
  not_indexed: "Not indexed",
@@ -63,6 +67,8 @@ const INDEXING_ISSUE_LABELS = {
63
67
  };
64
68
  const INDEXING_ISSUE_SEVERITY = {
65
69
  canonical_mismatch: "warning",
70
+ canonical_cross_domain: "error",
71
+ canonical_formatting: "info",
66
72
  stale_crawl: "info",
67
73
  very_stale_crawl: "warning",
68
74
  not_indexed: "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gscdump",
3
3
  "type": "module",
4
- "version": "1.4.7",
4
+ "version": "1.4.10",
5
5
  "description": "Direct Google Search Console client with typed queries, streaming pagination, URL inspection, and indexing helpers",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -83,7 +83,7 @@
83
83
  },
84
84
  "dependencies": {
85
85
  "ofetch": "^1.5.1",
86
- "@gscdump/contracts": "^1.4.7"
86
+ "@gscdump/contracts": "^1.4.10"
87
87
  },
88
88
  "scripts": {
89
89
  "dev": "obuild --stub",