doc: add throwIfNoEntry version history to fs.stat

PR #61178 added the throwIfNoEntry option to fs.stat and
fsPromises.stat (shipped in v25.7.0) but did not add corresponding
YAML version history entries. The sync variants (fs.statSync,
fs.lstatSync) already had history entries from PR #33716.

Fixes: https://github.com/nodejs/node/issues/62185

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR-URL: https://github.com/nodejs/node/pull/62204
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
kovanandClaude Opus 4.6 authored and Antoine du Hamel committed 2026-03-28 18:14:04 +01:00
1 parent 7dc5a1e9b4
commit 71f2eada5b
1 file changed
+8
+8
View File
@@ -1709,6 +1709,10 @@ Removes files and directories (modeled on the standard POSIX `rm` utility).
<!-- YAML
added: v10.0.0
changes:
- version: v25.7.0
pr-url: https://github.com/nodejs/node/pull/61178
description: Accepts a `throwIfNoEntry` option to specify whether
an exception should be thrown if the entry does not exist.
- version: v10.5.0
pr-url: https://github.com/nodejs/node/pull/20220
description: Accepts an additional `options` object to specify whether
@@ -4412,6 +4416,10 @@ completion callback.
<!-- YAML
added: v0.0.2
changes:
- version: v25.7.0
pr-url: https://github.com/nodejs/node/pull/61178
description: Accepts a `throwIfNoEntry` option to specify whether
an exception should be thrown if the entry does not exist.
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument