node/lib
LiviaMedeiros c100f9ad29
fs: make params in writing methods optional
This change allows passing objects as "named parameters":
- `fs.write(fd, buffer[, options], callback)`
- `fs.writeSync(fd, buffer[, options])`
- `filehandle.write(buffer[, options])`

Fixes: https://github.com/nodejs/node/issues/41666

PR-URL: https://github.com/nodejs/node/pull/42601
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2022-05-18 00:49:23 +08:00
..
assert
dns
fs
internal fs: make params in writing methods optional 2022-05-18 00:49:23 +08:00
path path: add `path/posix` and `path/win32` alias modules 2020-10-20 14:27:31 +00:00
readline readline: propagate signal.reason in awaitable question 2021-12-02 12:13:02 -08:00
stream stream: add reduce 2022-01-30 14:07:32 +00:00
timers tools: add timers functions to the list of restricted globals 2022-02-18 11:37:36 +00:00
util util: add `util/types` alias module 2020-10-21 01:26:34 +02:00
.eslintrc.yaml src: add initial shadow realm support 2022-05-02 18:46:31 +02:00
_http_agent.js http: make TCP noDelay enabled by default 2022-03-09 14:37:49 +00:00
_http_client.js http: refactor headersTimeout and requestTimeout logic 2022-04-13 15:47:59 +01:00
_http_common.js http: refactor headersTimeout and requestTimeout logic 2022-04-13 15:47:59 +01:00
_http_incoming.js lib: fix typos in lib code comments 2021-11-12 23:26:20 +01:00
_http_outgoing.js http: don't write empty data on req/res end() 2021-12-10 19:44:24 +00:00
_http_server.js http: added connection closing methods 2022-05-03 14:04:07 +02:00
_stream_duplex.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_passthrough.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_readable.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_transform.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_wrap.js
_stream_writable.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_tls_common.js tls: move tls.parseCertString to end-of-life 2022-01-15 17:00:25 +01:00
_tls_wrap.js tls: avoid throw in onerror for bad TLSSocket obj 2022-02-14 08:08:37 +00:00
assert.js doc: consolidate use of multiple-byte units 2022-04-20 00:46:37 +02:00
async_hooks.js lib: fix AsyncResource.bind not using 'this' from the caller by default 2022-03-08 22:00:55 +00:00
buffer.js buffer: fix `atob` input validation 2022-04-12 16:34:59 +02:00
child_process.js child_process: add env contents types in JSDoc 2022-03-30 15:03:48 +01:00
cluster.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
console.js
constants.js
crypto.js src: include crypto in the bootstrap snapshot 2022-03-11 17:15:13 +00:00
dgram.js src: properly report exceptions from AddressToJS() 2022-03-26 15:39:59 +00:00
diagnostics_channel.js lib: add unsubscribe method to non-active DC channels 2021-10-19 14:46:14 +00:00
dns.js dns: remove `dns.lookup` and `dnsPromises.lookup` options type coercion 2022-04-12 05:50:11 +02:00
domain.js domain: pass opts to `EventEmitter.init` 2022-01-19 11:26:38 +00:00
events.js lib: add internal genericNodeError() function 2022-02-09 01:56:15 +00:00
fs.js fs: make params in writing methods optional 2022-05-18 00:49:23 +08:00
http.js lib,test,tools: use consistent JSDoc types 2021-11-29 06:48:00 +00:00
http2.js http2: add support for sensitive headers 2020-07-16 00:25:47 +02:00
https.js http: added connection closing methods 2022-05-03 14:04:07 +02:00
inspector.js lib: replace validator and error 2022-02-05 08:36:48 -08:00
module.js
net.js net: make `server.address()` return an integer for `family` 2022-04-12 05:50:09 +02:00
os.js typings: fix `os.cpus` invalid return type 2022-05-11 00:52:19 +02:00
path.js lib: fix typos in lib code comments 2021-11-12 23:26:20 +01:00
perf_hooks.js perf_hooks: add PerformanceResourceTiming 2022-05-13 09:20:01 -03:00
process.js
punycode.js punycode: add pending deprecation 2021-04-30 10:59:28 -07:00
querystring.js lib: include return types in JSDoc 2021-12-12 03:51:00 +00:00
readline.js readline: propagate signal.reason in awaitable question 2021-12-02 12:13:02 -08:00
repl.js module,repl: support 'node:'-only core modules 2022-03-21 22:21:09 +00:00
stream.js stream: port more test262 tests 2022-02-23 21:06:00 +00:00
string_decoder.js string_decoder: fix crash when calling __proto__.write() 2022-03-08 16:36:11 +00:00
sys.js
test.js test: add initial test module 2022-03-21 22:21:09 +00:00
timers.js lib: replace validator and error 2022-02-05 08:36:48 -08:00
tls.js tls: move tls.parseCertString to end-of-life 2022-01-15 17:00:25 +01:00
trace_events.js lib: refactor to use validateObject 2021-01-28 12:53:50 +01:00
tty.js tty: enable buffering 2021-07-07 14:50:47 +02:00
url.js url: throw on NULL in IPv6 hostname 2022-03-14 21:12:44 +00:00
util.js util: expose stripVTControlCharacters() 2021-10-01 22:56:58 -04:00
v8.js v8: export cpu_profiler_metadata_size in getHeapCodeStatistics 2022-04-29 16:21:41 +01:00
vm.js vm: add support for import assertions in dynamic imports 2021-10-09 08:44:53 +00:00
wasi.js wasi: use missing validator 2021-06-26 16:31:30 +02:00
worker_threads.js worker: add setEnvironmentData/getEnvironmentData 2021-03-15 07:40:26 -07:00
zlib.js lib: add internal genericNodeError() function 2022-02-09 01:56:15 +00:00