File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -3414,6 +3414,20 @@ Type: Documentation-only
3414
3414
The [ ` util.toUSVString() ` ] [ ] API is deprecated. Please use
3415
3415
[ ` String.prototype.toWellFormed ` ] [ ] instead.
3416
3416
3417
+ ### DEP0175: ` fs.F_OK ` , ` fs.R_OK ` , ` fs.W_OK ` , ` fs.X_OK `
3418
+
3419
+ <!-- YAML
3420
+ changes:
3421
+ - version: REPLACEME
3422
+ pr-url: https://github.com/nodejs/node/pull/49683
3423
+ description: Documentation-only deprecation.
3424
+ -->
3425
+
3426
+ Type: Documentation-only
3427
+
3428
+ ` F_OK ` , ` R_OK ` , ` W_OK ` and ` X_OK ` getters exposed directly on ` node:fs ` are
3429
+ deprecated. Get them from ` fs.constants ` or ` fs.promises.constants ` instead.
3430
+
3417
3431
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3418
3432
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3419
3433
[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
Original file line number Diff line number Diff line change @@ -1830,6 +1830,10 @@ concurrent modifications on the same file or data corruption may occur.
1830
1830
<!-- YAML
1831
1831
added: v0.11.15
1832
1832
changes:
1833
+ - version: REPLACEME
1834
+ pr-url: https://github.com/nodejs/node/pull/49683
1835
+ description: The constants `fs.F_OK`, `fs.R_OK`, `fs.W_OK` and `fs.X_OK`
1836
+ which were present directly on `fs` are deprecated.
1833
1837
- version: v18.0.0
1834
1838
pr-url: https://github.com/nodejs/node/pull/41678
1835
1839
description: Passing an invalid callback to the `callback` argument
You can’t perform that action at this time.
0 commit comments