◐ Shell
clean mode source ↗

doc: deprecate `dirent.path` · nodejs/node@0f09267

@@ -3321,6 +3321,32 @@ In a future version of Node.js, [`message.headers`][],

33213321

[`message.headersDistinct`][], [`message.trailers`][], and

33223322

[`message.trailersDistinct`][] will be read-only.

332333233324+

<!-- md-lint skip-deprecation DEP0172 -->

3325+3326+

<!-- md-lint skip-deprecation DEP0173 -->

3327+3328+

<!-- md-lint skip-deprecation DEP0174 -->

3329+3330+

<!-- md-lint skip-deprecation DEP0175 -->

3331+3332+

<!-- md-lint skip-deprecation DEP0176 -->

3333+3334+

<!-- md-lint skip-deprecation DEP0177 -->

3335+3336+

### DEP0178: `dirent.path`

3337+3338+

<!-- YAML

3339+

changes:

3340+

- version: REPLACEME

3341+

pr-url: https://github.com/nodejs/node/pull/51020

3342+

description: Documentation-only deprecation.

3343+

-->

3344+3345+

Type: Documentation-only

3346+3347+

The [`dirent.path`][] is deprecated due to its lack of consistency across

3348+

release lines. Please use [`dirent.parentPath`][] instead.

3349+33243350

[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf

33253351

[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3

33263352

[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4

@@ -3366,6 +3392,8 @@ In a future version of Node.js, [`message.headers`][],

33663392

[`decipher.setAuthTag()`]: crypto.md#deciphersetauthtagbuffer-encoding

33673393

[`diagnostics_channel.subscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelsubscribename-onmessage

33683394

[`diagnostics_channel.unsubscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelunsubscribename-onmessage

3395+

[`dirent.parentPath`]: fs.md#direntparentpath

3396+

[`dirent.path`]: fs.md#direntpath

33693397

[`dns.lookup()`]: dns.md#dnslookuphostname-options-callback

33703398

[`dnsPromises.lookup()`]: dns.md#dnspromiseslookuphostname-options

33713399

[`domain`]: domain.md