diff --git a/doc/api/fs.md b/doc/api/fs.md index 17ff809f328bfb..5a28d323a30e56 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -6657,11 +6657,17 @@ The path to the parent directory of the file this {fs.Dirent} object refers to. added: - v20.1.0 - v18.17.0 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/51050 + description: Accessing this property emits a warning. It is now read-only. --> +> Stability: 0 - Deprecated: Use [`dirent.parentPath`][] instead. + * {string} -Alias for `dirent.parentPath`. +Alias for `dirent.parentPath`. Read-only. ### Class: `fs.FSWatcher` @@ -8214,6 +8220,7 @@ the file contents. [`Number.MAX_SAFE_INTEGER`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER [`ReadDirectoryChangesW`]: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-readdirectorychangesw [`UV_THREADPOOL_SIZE`]: cli.md#uv_threadpool_sizesize +[`dirent.parentPath`]: #direntparentpath [`event ports`]: https://illumos.org/man/port_create [`filehandle.createReadStream()`]: #filehandlecreatereadstreamoptions [`filehandle.createWriteStream()`]: #filehandlecreatewritestreamoptions