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 CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/doc-freshness-checker.svg)](https://www.npmjs.com/package/doc-freshness-checker)
4
4
  [![npm downloads](https://img.shields.io/npm/dm/doc-freshness-checker.svg)](https://www.npmjs.com/package/doc-freshness-checker)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6
- [![Node.js](https://img.shields.io/badge/node-%3E%3D22.19.0-brightgreen.svg)](https://nodejs.org/)
6
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D24.15.0-brightgreen.svg)](https://nodejs.org/)
7
7
  [![CI](https://github.com/cosmocoder/doc-freshness-checker/actions/workflows/release.yml/badge.svg)](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** >= 22.19.0
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<(...data: any[]) => void>;
2
- export declare const captureConsoleWarn: () => import("vitest").Mock<(...data: any[]) => void>;
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": "1.2.2",
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": ">=22.19.0"
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.0"
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": "25.6.0",
79
+ "@types/node": "24.12.4",
77
80
  "@semantic-release/commit-analyzer": "13.0.1",
78
- "@semantic-release/github": "12.0.6",
81
+ "@semantic-release/github": "12.0.8",
79
82
  "@semantic-release/npm": "13.1.5",
80
- "@semantic-release/release-notes-generator": "14.1.0",
83
+ "@semantic-release/release-notes-generator": "14.1.1",
81
84
  "@types/semver": "7.7.1",
82
- "@vitest/coverage-v8": "4.1.5",
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.6.1",
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.59.1",
91
- "vitest": "4.1.5",
93
+ "typescript-eslint": "8.60.0",
94
+ "vitest": "4.1.7",
92
95
  "vitest-fetch-mock": "0.4.5"
93
96
  },
94
97
  "publishConfig": {