buffer: introduce Blob

The `Blob` object is an immutable data buffer. This is a first step
towards alignment with the `Blob` Web API.

Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/36811
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
James M Snell 2021-01-05 15:39:54 -08:00
parent 3dce4fb85f
commit d4bea09a0a
No known key found for this signature in database
GPG key ID: 7341B15C070877AC
13 changed files with 1031 additions and 0 deletions

View file

@ -69,6 +69,7 @@ const { getSystemErrorName } = require('util');
delete providers.ELDHISTOGRAM;
delete providers.SIGINTWATCHDOG;
delete providers.WORKERHEAPSNAPSHOT;
delete providers.FIXEDSIZEBLOBCOPY;
const objKeys = Object.keys(providers);
if (objKeys.length > 0)