Commit 080383d
committed
docs: fix remaining documentation issues from verification audit
Fixed 3 minor issues found in verification audit:
1. Removed non-existent MIN_SUPPORTED_NODE_VERSION constant
- Updated examples to use getNodeMajorVersion() instead
- Added explicit version requirement (Node.js 22+)
2. Added missing safeMkdir import in examples.md
- Import was missing but function was used
3. Fixed non-existent writeFileUtf8() usage
- Replaced with fs.promises.writeFile()
- Added fs import for proper file writing
Documentation accuracy now at 100% after verification.1 parent b827981 commit 080383d
2 files changed
Lines changed: 15 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 159 | + | |
| 160 | + | |
164 | 161 | | |
165 | 162 | | |
166 | | - | |
167 | | - | |
| 163 | + | |
| 164 | + | |
168 | 165 | | |
169 | 166 | | |
170 | 167 | | |
171 | 168 | | |
172 | | - | |
| 169 | + | |
173 | 170 | | |
174 | 171 | | |
175 | 172 | | |
| |||
380 | 377 | | |
381 | 378 | | |
382 | 379 | | |
383 | | - | |
384 | | - | |
| 380 | + | |
385 | 381 | | |
386 | | - | |
387 | | - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
388 | 386 | | |
389 | 387 | | |
390 | 388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
| 261 | + | |
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| |||
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
288 | | - | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | | - | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| |||
0 commit comments