@pseolint/core 0.7.0 → 0.7.1

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.
Files changed (88) hide show
  1. package/dist/algorithms/authority/commoncrawl.d.ts +13 -0
  2. package/dist/algorithms/authority/commoncrawl.d.ts.map +1 -0
  3. package/dist/algorithms/authority/commoncrawl.js +17 -0
  4. package/dist/algorithms/authority/commoncrawl.js.map +1 -0
  5. package/dist/algorithms/authority/openpagerank.d.ts +19 -0
  6. package/dist/algorithms/authority/openpagerank.d.ts.map +1 -0
  7. package/dist/algorithms/authority/openpagerank.js +42 -0
  8. package/dist/algorithms/authority/openpagerank.js.map +1 -0
  9. package/dist/algorithms/authority/provider.d.ts +16 -0
  10. package/dist/algorithms/authority/provider.d.ts.map +1 -0
  11. package/dist/algorithms/authority/provider.js +24 -0
  12. package/dist/algorithms/authority/provider.js.map +1 -0
  13. package/dist/algorithms/auto-entity-mask.d.ts +19 -0
  14. package/dist/algorithms/auto-entity-mask.d.ts.map +1 -0
  15. package/dist/algorithms/auto-entity-mask.js +102 -0
  16. package/dist/algorithms/auto-entity-mask.js.map +1 -0
  17. package/dist/algorithms/example-regions.d.ts +22 -0
  18. package/dist/algorithms/example-regions.d.ts.map +1 -0
  19. package/dist/algorithms/example-regions.js +32 -0
  20. package/dist/algorithms/example-regions.js.map +1 -0
  21. package/dist/algorithms/fact-extraction.d.ts.map +1 -1
  22. package/dist/algorithms/fact-extraction.js +6 -0
  23. package/dist/algorithms/fact-extraction.js.map +1 -1
  24. package/dist/auditor.d.ts.map +1 -1
  25. package/dist/auditor.js +39 -9
  26. package/dist/auditor.js.map +1 -1
  27. package/dist/enrich-findings.d.ts.map +1 -1
  28. package/dist/enrich-findings.js +9 -8
  29. package/dist/enrich-findings.js.map +1 -1
  30. package/dist/index.d.ts +7 -0
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +6 -0
  33. package/dist/index.js.map +1 -1
  34. package/dist/rules/aeo/crawler-access.d.ts +14 -0
  35. package/dist/rules/aeo/crawler-access.d.ts.map +1 -1
  36. package/dist/rules/aeo/crawler-access.js +96 -15
  37. package/dist/rules/aeo/crawler-access.js.map +1 -1
  38. package/dist/rules/aeo/summary-bait.d.ts.map +1 -1
  39. package/dist/rules/aeo/summary-bait.js +4 -3
  40. package/dist/rules/aeo/summary-bait.js.map +1 -1
  41. package/dist/rules/content/common-phrase-reuse.d.ts.map +1 -1
  42. package/dist/rules/content/common-phrase-reuse.js +7 -2
  43. package/dist/rules/content/common-phrase-reuse.js.map +1 -1
  44. package/dist/rules/content/regurgitated-content.d.ts.map +1 -1
  45. package/dist/rules/content/regurgitated-content.js +11 -2
  46. package/dist/rules/content/regurgitated-content.js.map +1 -1
  47. package/dist/rules/content/translation-no-op.d.ts.map +1 -1
  48. package/dist/rules/content/translation-no-op.js +5 -1
  49. package/dist/rules/content/translation-no-op.js.map +1 -1
  50. package/dist/rules/content/unique-value.d.ts +15 -1
  51. package/dist/rules/content/unique-value.d.ts.map +1 -1
  52. package/dist/rules/content/unique-value.js +46 -39
  53. package/dist/rules/content/unique-value.js.map +1 -1
  54. package/dist/rules/links/cluster-connectivity.d.ts +7 -1
  55. package/dist/rules/links/cluster-connectivity.d.ts.map +1 -1
  56. package/dist/rules/links/cluster-connectivity.js +8 -2
  57. package/dist/rules/links/cluster-connectivity.js.map +1 -1
  58. package/dist/rules/links/orphan-pages.d.ts +8 -1
  59. package/dist/rules/links/orphan-pages.d.ts.map +1 -1
  60. package/dist/rules/links/orphan-pages.js +10 -1
  61. package/dist/rules/links/orphan-pages.js.map +1 -1
  62. package/dist/rules/schema/consistency.d.ts.map +1 -1
  63. package/dist/rules/schema/consistency.js +33 -21
  64. package/dist/rules/schema/consistency.js.map +1 -1
  65. package/dist/rules/spam/entity-swap.d.ts.map +1 -1
  66. package/dist/rules/spam/entity-swap.js +51 -9
  67. package/dist/rules/spam/entity-swap.js.map +1 -1
  68. package/dist/rules/spam/thin-content.d.ts.map +1 -1
  69. package/dist/rules/spam/thin-content.js +5 -1
  70. package/dist/rules/spam/thin-content.js.map +1 -1
  71. package/dist/rules/tech/canonical-consistency.d.ts.map +1 -1
  72. package/dist/rules/tech/canonical-consistency.js +144 -28
  73. package/dist/rules/tech/canonical-consistency.js.map +1 -1
  74. package/dist/rules/tech/sitemap-completeness.d.ts +14 -2
  75. package/dist/rules/tech/sitemap-completeness.d.ts.map +1 -1
  76. package/dist/rules/tech/sitemap-completeness.js +21 -5
  77. package/dist/rules/tech/sitemap-completeness.js.map +1 -1
  78. package/dist/rules/tech/soft-404.d.ts +11 -0
  79. package/dist/rules/tech/soft-404.d.ts.map +1 -1
  80. package/dist/rules/tech/soft-404.js +47 -5
  81. package/dist/rules/tech/soft-404.js.map +1 -1
  82. package/dist/template-detection.d.ts +1 -0
  83. package/dist/template-detection.d.ts.map +1 -1
  84. package/dist/template-detection.js +1 -1
  85. package/dist/template-detection.js.map +1 -1
  86. package/dist/types.d.ts +16 -1
  87. package/dist/types.d.ts.map +1 -1
  88. package/package.json +109 -93
package/package.json CHANGED
@@ -1,94 +1,110 @@
1
- {
2
- "name": "@pseolint/core",
3
- "version": "0.7.0",
4
- "description": "Programmatic SEO audit engine — 32 rules across 4 categories (integrity, discoverability, citation, data) for SpamBrain risk + AI Overview citability. v0.4 verdict ladder + site classifier.",
5
- "license": "MIT",
6
- "author": "Ouranos Labs <contact@ouranos-labs.dev>",
7
- "homepage": "https://pseolint.dev",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/ouranos-labs/pseolint.git",
11
- "directory": "packages/core"
12
- },
13
- "keywords": [
14
- "seo",
15
- "pseo",
16
- "programmatic-seo",
17
- "spambrain",
18
- "lint",
19
- "audit"
20
- ],
21
- "type": "module",
22
- "exports": {
23
- ".": {
24
- "import": "./dist/index.js",
25
- "types": "./dist/index.d.ts"
26
- },
27
- "./schemas/audit-summary.schema.json": "./schemas/audit-summary.schema.json"
28
- },
29
- "main": "dist/index.js",
30
- "types": "dist/index.d.ts",
31
- "engines": {
32
- "node": ">=18"
33
- },
34
- "files": [
35
- "dist",
36
- "schemas"
37
- ],
38
- "scripts": {
39
- "build": "tsc -p tsconfig.json",
40
- "build-wikipedia-bloom": "bun run scripts/build-wikipedia-bloom.ts",
41
- "lint": "tsc --noEmit -p tsconfig.json",
42
- "test": "vitest run --passWithNoTests tests/**/*.test.ts",
43
- "typecheck": "tsc --noEmit -p tsconfig.json"
44
- },
45
- "dependencies": {
46
- "ai": "^5.0.0",
47
- "cheerio": "^1.2.0",
48
- "zod": "^4.3.6"
49
- },
50
- "peerDependencies": {
51
- "playwright-core": ">=1.40.0",
52
- "@ai-sdk/anthropic": "^2.0.0",
53
- "@ai-sdk/openai": "^2.0.0",
54
- "@ai-sdk/google": "^2.0.0",
55
- "@ai-sdk/mistral": "^2.0.0",
56
- "@ai-sdk/groq": "^2.0.0",
57
- "@ai-sdk/xai": "^2.0.0",
58
- "@ai-sdk/cohere": "^2.0.0",
59
- "ollama-ai-provider-v2": "^1.0.0"
60
- },
61
- "peerDependenciesMeta": {
62
- "playwright-core": {
63
- "optional": true
64
- },
65
- "@ai-sdk/anthropic": {
66
- "optional": true
67
- },
68
- "@ai-sdk/openai": {
69
- "optional": true
70
- },
71
- "@ai-sdk/google": {
72
- "optional": true
73
- },
74
- "@ai-sdk/mistral": {
75
- "optional": true
76
- },
77
- "@ai-sdk/groq": {
78
- "optional": true
79
- },
80
- "@ai-sdk/xai": {
81
- "optional": true
82
- },
83
- "@ai-sdk/cohere": {
84
- "optional": true
85
- },
86
- "ollama-ai-provider-v2": {
87
- "optional": true
88
- }
89
- },
90
- "devDependencies": {
91
- "@ai-sdk/anthropic": "^2.0.0",
92
- "ollama-ai-provider-v2": "^1.0.0"
93
- }
1
+ {
2
+ "name": "@pseolint/core",
3
+ "version": "0.7.1",
4
+ "description": "Programmatic SEO audit engine — 32 rules across 4 categories (integrity, discoverability, citation, data) for SpamBrain risk + AI Overview citability. v0.4 verdict ladder + site classifier.",
5
+ "license": "MIT",
6
+ "author": "Ouranos Labs <contact@ouranos-labs.dev>",
7
+ "homepage": "https://pseolint.dev",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/ouranos-labs/pseolint.git",
11
+ "directory": "packages/core"
12
+ },
13
+ "keywords": [
14
+ "seo",
15
+ "pseo",
16
+ "programmatic-seo",
17
+ "spambrain",
18
+ "lint",
19
+ "audit"
20
+ ],
21
+ "type": "module",
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/index.js",
25
+ "types": "./dist/index.d.ts"
26
+ },
27
+ "./rules/tech/og-completeness": {
28
+ "import": "./dist/rules/tech/og-completeness.js",
29
+ "types": "./dist/rules/tech/og-completeness.d.ts"
30
+ },
31
+ "./rules/tech/soft-404": {
32
+ "import": "./dist/rules/tech/soft-404.js",
33
+ "types": "./dist/rules/tech/soft-404.d.ts"
34
+ },
35
+ "./rules/spam/thin-content": {
36
+ "import": "./dist/rules/spam/thin-content.js",
37
+ "types": "./dist/rules/spam/thin-content.d.ts"
38
+ },
39
+ "./parser": {
40
+ "import": "./dist/parser.js",
41
+ "types": "./dist/parser.d.ts"
42
+ },
43
+ "./schemas/audit-summary.schema.json": "./schemas/audit-summary.schema.json"
44
+ },
45
+ "main": "dist/index.js",
46
+ "types": "dist/index.d.ts",
47
+ "engines": {
48
+ "node": ">=18"
49
+ },
50
+ "files": [
51
+ "dist",
52
+ "schemas"
53
+ ],
54
+ "scripts": {
55
+ "build": "tsc -p tsconfig.json",
56
+ "build-wikipedia-bloom": "bun run scripts/build-wikipedia-bloom.ts",
57
+ "lint": "tsc --noEmit -p tsconfig.json",
58
+ "test": "vitest run --passWithNoTests tests/**/*.test.ts",
59
+ "typecheck": "tsc --noEmit -p tsconfig.json"
60
+ },
61
+ "dependencies": {
62
+ "ai": "^5.0.0",
63
+ "cheerio": "^1.2.0",
64
+ "zod": "^4.3.6"
65
+ },
66
+ "peerDependencies": {
67
+ "playwright-core": ">=1.40.0",
68
+ "@ai-sdk/anthropic": "^2.0.0",
69
+ "@ai-sdk/openai": "^2.0.0",
70
+ "@ai-sdk/google": "^2.0.0",
71
+ "@ai-sdk/mistral": "^2.0.0",
72
+ "@ai-sdk/groq": "^2.0.0",
73
+ "@ai-sdk/xai": "^2.0.0",
74
+ "@ai-sdk/cohere": "^2.0.0",
75
+ "ollama-ai-provider-v2": "^1.0.0"
76
+ },
77
+ "peerDependenciesMeta": {
78
+ "playwright-core": {
79
+ "optional": true
80
+ },
81
+ "@ai-sdk/anthropic": {
82
+ "optional": true
83
+ },
84
+ "@ai-sdk/openai": {
85
+ "optional": true
86
+ },
87
+ "@ai-sdk/google": {
88
+ "optional": true
89
+ },
90
+ "@ai-sdk/mistral": {
91
+ "optional": true
92
+ },
93
+ "@ai-sdk/groq": {
94
+ "optional": true
95
+ },
96
+ "@ai-sdk/xai": {
97
+ "optional": true
98
+ },
99
+ "@ai-sdk/cohere": {
100
+ "optional": true
101
+ },
102
+ "ollama-ai-provider-v2": {
103
+ "optional": true
104
+ }
105
+ },
106
+ "devDependencies": {
107
+ "@ai-sdk/anthropic": "^2.0.0",
108
+ "ollama-ai-provider-v2": "^1.0.0"
109
+ }
94
110
  }