Files
node/lib/internal
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
..
2021-01-22 19:56:34 -08:00
2021-04-09 16:58:58 -07:00
2021-01-18 11:43:32 +01:00
2021-03-23 11:03:18 -05:00
…
2021-01-27 20:46:54 +02:00
…
2021-04-09 16:58:58 -07:00
2020-12-07 10:08:03 -08:00
2020-12-29 15:49:09 +00:00
…
2021-04-08 10:33:09 +02:00
2021-03-01 09:47:56 -08:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.