Files
node/lib/internal
Michaël Zasso 99a79e32a6 fs: fix fs.promises.writeFile with typed arrays
Before this change, only the first part of typed arrays which have more
than 1 byte per element (e.g. Uint16Array) would be written.
This also removes the use of the `slice` method to avoid unnecessary
copying the data.

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

PR-URL: https://github.com/nodejs/node/pull/35376
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2020-09-29 11:54:35 -04:00
..
2020-08-05 08:54:29 -07:00
2020-08-24 12:19:58 +01:00
2020-08-20 15:05:24 +01:00
2020-09-01 11:15:46 -04:00
2020-09-01 11:15:46 -04:00
2020-06-30 09:34:24 -07:00
2020-09-01 11:15:46 -04:00
2020-09-03 07:02:16 -04:00
2020-01-22 15:33:03 +01:00
…
2019-11-30 13:58:25 +01:00
2019-12-17 08:11:13 -05:00
2020-08-20 15:05:24 +01: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.