Files
node/lib
cjihrig 8e76397fab fs: validate encoding to binding.writeString()
The binding layer performs some validation of the encoding and
data passed to WriteString(). This commit adds similar validation
to the JS layer for better error handling.

PR-URL: https://github.com/nodejs/node/pull/38183
Fixes: https://github.com/nodejs/node/issues/38168
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
2021-04-11 23:57:29 -04:00
..
2020-05-24 03:26:21 +02:00
2020-02-18 22:15:50 -08:00
2020-10-21 01:26:34 +02:00
2021-04-10 14:31:34 -07:00
2021-04-10 14:31:34 -07:00
2021-04-08 10:35:38 +02:00
2021-03-18 12:04:00 -07:00
2021-01-22 19:56:34 -08:00
2021-03-13 11:17:48 -08:00
2020-12-29 16:06:05 +01:00
2021-02-11 19:30:28 +05:30
2021-04-02 06:16:40 -07:00
2021-03-03 19:53:24 +01:00
2021-02-11 19:30:28 +05:30
2020-12-28 19:47:41 +00:00