 LiviaMedeirosandAntoine du Hamel
|
41a6d82968
|
fs: harden fs.readSync(buffer, options) typecheck
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/42772
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
|
2022-09-11 10:36:05 +00:00 |
|
Livia Medeiros
|
050d974a25
|
test: use common.mustNotMutateObjectDeep() in fs tests
PR-URL: https://github.com/nodejs/node/pull/43819
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
|
2022-07-24 14:29:06 +01:00 |
|
Livia Medeiros
|
80bfb9b21a
|
fs: adjust default length for fs.readSync and fsPromises/read
Makes default length reasonable when nonzero offset is set.
PR-URL: https://github.com/nodejs/node/pull/42128
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
|
2022-02-27 12:56:09 +00:00 |
|
Lucas Holmquist
|
88b4e86fd7
|
fs: make parameters optional for readSync
This makes the offset, length and position parameters optional by
passing in an options object.
PR-URL: https://github.com/nodejs/node/pull/32460
Reviewed-By: Anna Henningsen <anna@addaleax.net>
|
2020-04-02 18:34:31 +02:00 |
|