Skip to content

Commit 453df2d

Browse files
kovanclaude
andcommitted
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: #62185 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6f6d86b commit 453df2d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/api/fs.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1709,6 +1709,10 @@ Removes files and directories (modeled on the standard POSIX `rm` utility).
17091709
<!-- YAML
17101710
added: v10.0.0
17111711
changes:
1712+
- version: v25.7.0
1713+
pr-url: https://github.com/nodejs/node/pull/61178
1714+
description: Accepts a `throwIfNoEntry` option to specify whether
1715+
an exception should be thrown if the entry does not exist.
17121716
- version: v10.5.0
17131717
pr-url: https://github.com/nodejs/node/pull/20220
17141718
description: Accepts an additional `options` object to specify whether
@@ -4412,6 +4416,10 @@ completion callback.
44124416
<!-- YAML
44134417
added: v0.0.2
44144418
changes:
4419+
- version: v25.7.0
4420+
pr-url: https://github.com/nodejs/node/pull/61178
4421+
description: Accepts a `throwIfNoEntry` option to specify whether
4422+
an exception should be thrown if the entry does not exist.
44154423
- version: v18.0.0
44164424
pr-url: https://github.com/nodejs/node/pull/41678
44174425
description: Passing an invalid callback to the `callback` argument

0 commit comments

Comments
 (0)