doc-freshness-checker 1.2.2 → 2.0.0
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/README.md +2 -2
- package/dist/test-utils/console.d.ts +8 -2
- package/package.json +13 -10
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/doc-freshness-checker)
|
|
4
4
|
[](https://www.npmjs.com/package/doc-freshness-checker)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
[](https://nodejs.org/)
|
|
7
7
|
[](https://github.com/cosmocoder/doc-freshness-checker/actions/workflows/release.yml)
|
|
8
8
|
|
|
9
9
|
Validate documentation against your codebase to catch stale references before they create confusion or slow onboarding. `doc-freshness-checker` scans your docs, extracts references to files, URLs, versions, symbols, dependencies, and directory trees, then validates each one against source code and manifests.
|
|
@@ -44,7 +44,7 @@ Validate documentation against your codebase to catch stale references before th
|
|
|
44
44
|
|
|
45
45
|
## Prerequisites
|
|
46
46
|
|
|
47
|
-
- **Node.js** >=
|
|
47
|
+
- **Node.js** >= 24.15.0
|
|
48
48
|
- **npm**
|
|
49
49
|
|
|
50
50
|
## Installation
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
export declare const captureConsoleLog: () => import("vitest").Mock<
|
|
2
|
-
|
|
1
|
+
export declare const captureConsoleLog: () => import("vitest").Mock<{
|
|
2
|
+
(...data: any[]): void;
|
|
3
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
4
|
+
}>;
|
|
5
|
+
export declare const captureConsoleWarn: () => import("vitest").Mock<{
|
|
6
|
+
(...data: any[]): void;
|
|
7
|
+
(message?: any, ...optionalParams: any[]): void;
|
|
8
|
+
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doc-freshness-checker",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Universal documentation freshness checker - validates documentation accuracy against actual codebase",
|
|
5
5
|
"homepage": "https://github.com/cosmocoder/doc-freshness-checker#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -60,35 +60,38 @@
|
|
|
60
60
|
"devops"
|
|
61
61
|
],
|
|
62
62
|
"engines": {
|
|
63
|
-
"node": ">=
|
|
63
|
+
"node": ">=24.15.0"
|
|
64
|
+
},
|
|
65
|
+
"volta": {
|
|
66
|
+
"node": "24.15.0"
|
|
64
67
|
},
|
|
65
68
|
"engine-strict": true,
|
|
66
69
|
"dependencies": {
|
|
67
70
|
"commander": "14.0.3",
|
|
68
71
|
"fastembed": "2.1.0",
|
|
69
72
|
"glob": "13.0.6",
|
|
70
|
-
"semver": "7.8.
|
|
73
|
+
"semver": "7.8.1"
|
|
71
74
|
},
|
|
72
75
|
"devDependencies": {
|
|
73
76
|
"@commitlint/cli": "20.5.3",
|
|
74
77
|
"@commitlint/config-conventional": "20.5.3",
|
|
75
78
|
"@eslint/js": "9.39.2",
|
|
76
|
-
"@types/node": "
|
|
79
|
+
"@types/node": "24.12.4",
|
|
77
80
|
"@semantic-release/commit-analyzer": "13.0.1",
|
|
78
|
-
"@semantic-release/github": "12.0.
|
|
81
|
+
"@semantic-release/github": "12.0.8",
|
|
79
82
|
"@semantic-release/npm": "13.1.5",
|
|
80
|
-
"@semantic-release/release-notes-generator": "14.1.
|
|
83
|
+
"@semantic-release/release-notes-generator": "14.1.1",
|
|
81
84
|
"@types/semver": "7.7.1",
|
|
82
|
-
"@vitest/coverage-v8": "4.1.
|
|
85
|
+
"@vitest/coverage-v8": "4.1.7",
|
|
83
86
|
"eslint": "9.39.2",
|
|
84
87
|
"globals": "17.6.0",
|
|
85
88
|
"husky": "9.1.7",
|
|
86
|
-
"jiti": "2.
|
|
89
|
+
"jiti": "2.7.0",
|
|
87
90
|
"lint-staged": "16.4.0",
|
|
88
91
|
"prettier": "3.8.3",
|
|
89
92
|
"typescript": "5.9.3",
|
|
90
|
-
"typescript-eslint": "8.
|
|
91
|
-
"vitest": "4.1.
|
|
93
|
+
"typescript-eslint": "8.60.0",
|
|
94
|
+
"vitest": "4.1.7",
|
|
92
95
|
"vitest-fetch-mock": "0.4.5"
|
|
93
96
|
},
|
|
94
97
|
"publishConfig": {
|