From ea887ac22d1d34bedebf5cd6b6635276af6e35d0 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 30 Nov 2023 15:18:33 +0100 Subject: [PATCH 1/2] doc: deprecate `dirent.path` --- doc/api/deprecations.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index d9782efd834429..9eb503d352bc2e 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3531,6 +3531,20 @@ Type: Documentation-only The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use `value instanceof WebAssembly.Module` instead. +### DEP0178: `dirent.path` + + + +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 From 6690976d1ba64afc9bd459e7a60cde8f7ee6e6a6 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 3 Dec 2023 10:07:40 +0100 Subject: [PATCH 2/2] Update doc/api/deprecations.md Co-authored-by: Livia Medeiros --- doc/api/deprecations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 9eb503d352bc2e..763c5792650f32 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3536,7 +3536,7 @@ The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use