File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -3406,6 +3406,20 @@ Type: Documentation-only
3406
3406
The [ ` util.toUSVString() ` ] [ ] API is deprecated. Please use
3407
3407
[ ` String.prototype.toWellFormed ` ] [ ] instead.
3408
3408
3409
+ ### DEP0175: ` fs.F_OK ` , ` fs.R_OK ` , ` fs.W_OK ` , ` fs.X_OK `
3410
+
3411
+ <!-- YAML
3412
+ changes:
3413
+ - version: REPLACEME
3414
+ pr-url: https://github.com/nodejs/node/pull/49683
3415
+ description: Documentation-only deprecation.
3416
+ -->
3417
+
3418
+ Type: Documentation-only
3419
+
3420
+ ` F_OK ` , ` R_OK ` , ` W_OK ` and ` X_OK ` getters exposed directly on ` node:fs ` are
3421
+ deprecated. Get them from ` fs.constants ` or ` fs.promises.constants ` instead.
3422
+
3409
3423
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3410
3424
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3411
3425
[ 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 @@ -1820,6 +1820,10 @@ concurrent modifications on the same file or data corruption may occur.
1820
1820
<!-- YAML
1821
1821
added: v0.11.15
1822
1822
changes:
1823
+ - version: REPLACEME
1824
+ pr-url: https://github.com/nodejs/node/pull/49683
1825
+ description: The constants `fs.F_OK`, `fs.R_OK`, `fs.W_OK` and `fs.X_OK`
1826
+ which were present directly on `fs` are deprecated.
1823
1827
- version: v18.0.0
1824
1828
pr-url: https://github.com/nodejs/node/pull/41678
1825
1829
description: Passing an invalid callback to the `callback` argument
You can’t perform that action at this time.
0 commit comments