mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
doc: deprecate dirent.path
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
7b3eb311a7
commit
5b6aa530d0
1 file changed
+16
@@ -3531,6 +3531,20 @@ Type: Documentation-only
|
||||
The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use
|
||||
`value instanceof WebAssembly.Module` instead.
|
||||
|
||||
### DEP0178: `dirent.path`
|
||||
|
||||
<!-- YAML
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/51020
|
||||
description: Documentation-only deprecation.
|
||||
-->
|
||||
|
||||
Type: Documentation-only
|
||||
|
||||
The [`dirent.path`][] is deprecated due to its lack of consistency across
|
||||
release lines. Please use [`dirent.parentPath`][] instead.
|
||||
|
||||
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
|
||||
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
|
||||
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
|
||||
@@ -3577,6 +3591,8 @@ The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use
|
||||
[`decipher.setAuthTag()`]: crypto.md#deciphersetauthtagbuffer-encoding
|
||||
[`diagnostics_channel.subscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelsubscribename-onmessage
|
||||
[`diagnostics_channel.unsubscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelunsubscribename-onmessage
|
||||
[`dirent.parentPath`]: fs.md#direntparentpath
|
||||
[`dirent.path`]: fs.md#direntpath
|
||||
[`dns.lookup()`]: dns.md#dnslookuphostname-options-callback
|
||||
[`dnsPromises.lookup()`]: dns.md#dnspromiseslookuphostname-options
|
||||
[`domain`]: domain.md
|
||||
|
||||
Reference in new issue
Block a user