Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit0f09267

Browse files
aduh95richardlau
authored andcommitted
doc: deprecatedirent.path
PR-URL:#51020Backport-PR-URL:#51021Reviewed-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>PR-URL:#50976
1 parent26e8f77 commit0f09267

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

‎doc/api/deprecations.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
33233323

3324+
<!-- 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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp