From 775b34b822bff1009d7e4d2c7de4a75132aaf621 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Tue, 5 Jan 2021 15:39:54 -0800 Subject: 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 PR-URL: https://github.com/nodejs/node/pull/36811 Reviewed-By: Antoine du Hamel Reviewed-By: Matteo Collina Reviewed-By: Benjamin Gruenbaum --- node.gyp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'node.gyp') diff --git a/node.gyp b/node.gyp index 9294442e909..7906c81784b 100644 --- a/node.gyp +++ b/node.gyp @@ -111,6 +111,7 @@ 'lib/internal/assert/assertion_error.js', 'lib/internal/assert/calltracker.js', 'lib/internal/async_hooks.js', + 'lib/internal/blob.js', 'lib/internal/blocklist.js', 'lib/internal/buffer.js', 'lib/internal/cli_table.js', @@ -609,6 +610,7 @@ 'src/node.cc', 'src/node_api.cc', 'src/node_binding.cc', + 'src/node_blob.cc', 'src/node_buffer.cc', 'src/node_config.cc', 'src/node_constants.cc', @@ -707,6 +709,7 @@ 'src/node_api.h', 'src/node_api_types.h', 'src/node_binding.h', + 'src/node_blob.h', 'src/node_buffer.h', 'src/node_constants.h', 'src/node_context_data.h', -- cgit v1.2.3