File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -2308,6 +2308,9 @@ object with an `encoding` property specifying the character encoding to use.
23082308<!-- YAML
23092309added: v0.0.2
23102310changes:
2311+ - version: v11.1.0
2312+ pr-url: https://github.com/nodejs/node/pull/23767
2313+ description: The `flags` argument is now optional and defaults to `'r'`.
23112314 - version: v9.9.0
23122315 pr-url: https://github.com/nodejs/node/pull/18801
23132316 description: The `as` and `as+` modes are supported now.
@@ -2344,6 +2347,12 @@ Functions based on `fs.open()` exhibit this behavior as well:
23442347<!-- YAML
23452348added: v0.1.21
23462349changes:
2350+ - version: v11.1.0
2351+ pr-url: https://github.com/nodejs/node/pull/23767
2352+ description: The `flags` argument is now optional and defaults to `'r'`.
2353+ - version: v9.9.0
2354+ pr-url: https://github.com/nodejs/node/pull/18801
2355+ description: The `as` and `as+` modes are supported now.
23472356 - version: v7.6.0
23482357 pr-url: https://github.com/nodejs/node/pull/10739
23492358 description: The `path` parameter can be a WHATWG `URL` object using `file:`
@@ -4204,10 +4213,15 @@ characters directly to the `prefix` string. For instance, given a directory
42044213### fsPromises.open(path, flags[ , mode] )
42054214<!-- YAML
42064215added: v10.0.0
4216+ changes:
4217+ - version: v11.1.0
4218+ pr-url: https://github.com/nodejs/node/pull/23767
4219+ description: The `flags` argument is now optional and defaults to `'r'`.
42074220-->
42084221
42094222* ` path ` {string|Buffer|URL}
42104223* ` flags ` {string|number} See [ support of file system ` flags ` ] [ ] .
4224+ ** Default:** ` 'r' ` .
42114225* ` mode ` {integer} ** Default:** ` 0o666 ` (readable and writable)
42124226* Returns: {Promise}
42134227
You can’t perform that action at this time.
0 commit comments