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 @@ -2313,6 +2313,9 @@ object with an `encoding` property specifying the character encoding to use.
23132313<!-- YAML
23142314added: v0.0.2
23152315changes:
2316+ - version: v11.1.0
2317+ pr-url: https://github.com/nodejs/node/pull/23767
2318+ description: The `flags` argument is now optional and defaults to `'r'`.
23162319 - version: v9.9.0
23172320 pr-url: https://github.com/nodejs/node/pull/18801
23182321 description: The `as` and `as+` modes are supported now.
@@ -2350,6 +2353,12 @@ Functions based on `fs.open()` exhibit this behavior as well:
23502353<!-- YAML
23512354added: v0.1.21
23522355changes:
2356+ - version: v11.1.0
2357+ pr-url: https://github.com/nodejs/node/pull/23767
2358+ description: The `flags` argument is now optional and defaults to `'r'`.
2359+ - version: v9.9.0
2360+ pr-url: https://github.com/nodejs/node/pull/18801
2361+ description: The `as` and `as+` modes are supported now.
23532362 - version: v7.6.0
23542363 pr-url: https://github.com/nodejs/node/pull/10739
23552364 description: The `path` parameter can be a WHATWG `URL` object using `file:`
@@ -4211,10 +4220,15 @@ characters directly to the `prefix` string. For instance, given a directory
42114220### fsPromises.open(path, flags[ , mode] )
42124221<!-- YAML
42134222added: v10.0.0
4223+ changes:
4224+ - version: v11.1.0
4225+ pr-url: https://github.com/nodejs/node/pull/23767
4226+ description: The `flags` argument is now optional and defaults to `'r'`.
42144227-->
42154228
42164229* ` path ` {string|Buffer|URL}
42174230* ` flags ` {string|number} See [ support of file system ` flags ` ] [ ] .
4231+ ** Default:** ` 'r' ` .
42184232* ` mode ` {integer} ** Default:** ` 0o666 ` (readable and writable)
42194233* Returns: {Promise}
42204234
You can’t perform that action at this time.
0 commit comments