Skip to content

Commit

Permalink
squash: adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LiviaMedeiros committed Sep 25, 2023
1 parent 70ec6b2 commit 956fcf1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3414,16 +3414,19 @@ Type: Documentation-only
The [`util.toUSVString()`][] API is deprecated. Please use
[`String.prototype.toWellFormed`][] instead.

### DEP0175: `fs.F_OK`, `fs.R_OK`, `fs.W_OK`, `fs.X_OK`
### DEP0176: `fs.F_OK`, `fs.R_OK`, `fs.W_OK`, `fs.X_OK`

<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/49686
description: Runtime deprecation.
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/49683
description: Documentation-only deprecation.
-->

Type: Documentation-only
Type: Runtime

`F_OK`, `R_OK`, `W_OK` and `X_OK` getters exposed directly on `node:fs` are
deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
Expand Down

0 comments on commit 956fcf1

Please sign in to comment.