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 @@ -2313,6 +2313,9 @@ object with an `encoding` property specifying the character encoding to use.
2313
2313
<!-- YAML
2314
2314
added: v0.0.2
2315
2315
changes:
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'`.
2316
2319
- version: v9.9.0
2317
2320
pr-url: https://github.com/nodejs/node/pull/18801
2318
2321
description: The `as` and `as+` modes are supported now.
@@ -2350,6 +2353,12 @@ Functions based on `fs.open()` exhibit this behavior as well:
2350
2353
<!-- YAML
2351
2354
added: v0.1.21
2352
2355
changes:
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.
2353
2362
- version: v7.6.0
2354
2363
pr-url: https://github.com/nodejs/node/pull/10739
2355
2364
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
4211
4220
### fsPromises.open(path, flags[ , mode] )
4212
4221
<!-- YAML
4213
4222
added: 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'`.
4214
4227
-->
4215
4228
4216
4229
* ` path ` {string|Buffer|URL}
4217
4230
* ` flags ` {string|number} See [ support of file system ` flags ` ] [ ] .
4231
+ ** Default:** ` 'r' ` .
4218
4232
* ` mode ` {integer} ** Default:** ` 0o666 ` (readable and writable)
4219
4233
* Returns: {Promise}
4220
4234
You can’t perform that action at this time.
0 commit comments