File tree 1 file changed +14
-0
lines changed
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.
2308
2308
<!-- YAML
2309
2309
added: v0.0.2
2310
2310
changes:
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'`.
2311
2314
- version: v9.9.0
2312
2315
pr-url: https://github.com/nodejs/node/pull/18801
2313
2316
description: The `as` and `as+` modes are supported now.
@@ -2344,6 +2347,12 @@ Functions based on `fs.open()` exhibit this behavior as well:
2344
2347
<!-- YAML
2345
2348
added: v0.1.21
2346
2349
changes:
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.
2347
2356
- version: v7.6.0
2348
2357
pr-url: https://github.com/nodejs/node/pull/10739
2349
2358
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
4204
4213
### fsPromises.open(path, flags[ , mode] )
4205
4214
<!-- YAML
4206
4215
added: 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'`.
4207
4220
-->
4208
4221
4209
4222
* ` path ` {string|Buffer|URL}
4210
4223
* ` flags ` {string|number} See [ support of file system ` flags ` ] [ ] .
4224
+ ** Default:** ` 'r' ` .
4211
4225
* ` mode ` {integer} ** Default:** ` 0o666 ` (readable and writable)
4212
4226
* Returns: {Promise}
4213
4227
You can’t perform that action at this time.
0 commit comments