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

Appearance settings

Commit 26d7630

Browse filesBrowse files
anshulguleriaaddaleax
authored andcommitted
doc: fs constants for Node < v6.3.0 in fs.md
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>
1 parent 4c5457f commit 26d7630
Copy full SHA for 26d7630

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,13 @@ changes:
426426
pr-url: https://github.com/nodejs/node/pull/10739
427427
description: The `path` parameter can be a WHATWG `URL` object using `file:`
428428
protocol. Support is currently still *experimental*.
429+
- version: v6.3.0
430+
pr-url: https://github.com/nodejs/node/pull/6534
431+
description: The constants like `fs.R_OK`, etc which were present directly
432+
on `fs` were moved into `fs.constants` as a soft deprecation.
433+
Thus for Node `< v6.3.0` use `fs` to access those constants, or
434+
do something like `(fs.constants || fs).R_OK` to work with all
435+
versions.
429436
-->
430437

431438
* `path` {string|Buffer|URL}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.