Skip to content

Commit

Permalink
doc: fs constants for Node < v6.3.0 in fs.md
Browse files Browse the repository at this point in the history
Add changelog history in `fs.access` for the changes introduced to
`constants` in the `fs` module prior to Node v6.3.0.

PR-URL: #12690
Fixes: #8044
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
  • Loading branch information
anshulguleria authored and addaleax committed Jun 12, 2017
1 parent 4c5457f commit 26d7630
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,13 @@ changes:
pr-url: https://github.com/nodejs/node/pull/10739
description: The `path` parameter can be a WHATWG `URL` object using `file:`
protocol. Support is currently still *experimental*.
- version: v6.3.0
pr-url: https://github.com/nodejs/node/pull/6534
description: The constants like `fs.R_OK`, etc which were present directly
on `fs` were moved into `fs.constants` as a soft deprecation.
Thus for Node `< v6.3.0` use `fs` to access those constants, or
do something like `(fs.constants || fs).R_OK` to work with all
versions.
-->

* `path` {string|Buffer|URL}
Expand Down

0 comments on commit 26d7630

Please sign in to comment.