GeezerVison is showing github.com — doc: deprecate `dirent.path` · nodejs/node@58ca66a
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
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 number | Diff line number | Diff line change |
|---|
@@ -3453,6 +3453,20 @@ Type: Documentation-only |
3453 | 3453 | The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use |
3454 | 3454 | `value instanceof WebAssembly.Module` instead. |
3455 | 3455 |
|
| 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 | + |
3456 | 3470 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf |
3457 | 3471 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 |
3458 | 3472 | [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 |
3499 | 3513 | [`decipher.setAuthTag()`]: crypto.md#deciphersetauthtagbuffer-encoding |
3500 | 3514 | [`diagnostics_channel.subscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelsubscribename-onmessage |
3501 | 3515 | [`diagnostics_channel.unsubscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelunsubscribename-onmessage |
| 3516 | +[`dirent.parentPath`]: fs.md#direntparentpath |
| 3517 | +[`dirent.path`]: fs.md#direntpath |
3502 | 3518 | [`dns.lookup()`]: dns.md#dnslookuphostname-options-callback |
3503 | 3519 | [`dnsPromises.lookup()`]: dns.md#dnspromiseslookuphostname-options |
3504 | 3520 | [`domain`]: domain.md |
|