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 58ca66a

Browse filesBrowse files
aduh95RafaelGSS
authored andcommitted
doc: deprecate dirent.path
PR-URL: #51020 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent f90fc83 commit 58ca66a
Copy full SHA for 58ca66a

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+16Lines changed: 16 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3453,6 +3453,20 @@ Type: Documentation-only
34533453
The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use
34543454
`value instanceof WebAssembly.Module` instead.
34553455

3456+
### DEP0178: `dirent.path`
3457+
3458+
<!-- YAML
3459+
changes:
3460+
- version: REPLACEME
3461+
pr-url: https://github.com/nodejs/node/pull/51020
3462+
description: Documentation-only deprecation.
3463+
-->
3464+
3465+
Type: Documentation-only
3466+
3467+
The [`dirent.path`][] is deprecated due to its lack of consistency across
3468+
release lines. Please use [`dirent.parentPath`][] instead.
3469+
34563470
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
34573471
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
34583472
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3499,6 +3513,8 @@ The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use
34993513
[`decipher.setAuthTag()`]: crypto.md#deciphersetauthtagbuffer-encoding
35003514
[`diagnostics_channel.subscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelsubscribename-onmessage
35013515
[`diagnostics_channel.unsubscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelunsubscribename-onmessage
3516+
[`dirent.parentPath`]: fs.md#direntparentpath
3517+
[`dirent.path`]: fs.md#direntpath
35023518
[`dns.lookup()`]: dns.md#dnslookuphostname-options-callback
35033519
[`dnsPromises.lookup()`]: dns.md#dnspromiseslookuphostname-options
35043520
[`domain`]: domain.md

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.