Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit194ff6a

Browse files
aduh95richardlau
authored andcommitted
doc: add deprecation notice todirent.path
Refs:#51020PR-URL:#51059Backport-PR-URL:#51021Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>Reviewed-By: Luigi Pinca <luigipinca@gmail.com>Reviewed-By: Moshe Atlow <moshe@atlow.co.il>PR-URL:#50976
1 parent0f09267 commit194ff6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎doc/api/fs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6454,8 +6454,11 @@ The path to the parent directory of the file this {fs.Dirent} object refers to.
64546454
64556455
<!-- YAML
64566456
added: v18.17.0
6457+
deprecated: REPLACEME
64576458
-->
64586459
6460+
> Stability: 0 - Deprecated: Use [`dirent.parentPath`][] instead.
6461+
64596462
* {string}
64606463
64616464
The base path that this {fs.Dirent} object refers to.
@@ -7995,6 +7998,7 @@ the file contents.
79957998
[`Number.MAX_SAFE_INTEGER`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
79967999
[`ReadDirectoryChangesW`]: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-readdirectorychangesw
79978000
[`UV_THREADPOOL_SIZE`]: cli.md#uv_threadpool_sizesize
8001+
[`dirent.parentPath`]: #direntparentpath
79988002
[`event ports`]: https://illumos.org/man/port_create
79998003
[`filehandle.createReadStream()`]: #filehandlecreatereadstreamoptions
80008004
[`filehandle.createWriteStream()`]: #filehandlecreatewritestreamoptions

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp