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

Appearance settings

Commit 194ff6a

Browse filesBrowse files
aduh95richardlau
authored andcommitted
doc: add deprecation notice to dirent.path
Refs: #51020 PR-URL: #51059 Backport-PR-URL: #51021 Reviewed-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 parent 0f09267 commit 194ff6a
Copy full SHA for 194ff6a

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.