Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2021-01-06 02:39:54 +0300
committerJames M Snell <jasnell@gmail.com>2021-01-19 00:55:25 +0300
commitd4bea09a0a9812d28780b8afc99a2b1fed2c3015 (patch)
tree352038723a4bdb96a6bb028b8bc506ffa7322d14 /node.gyp
parent3dce4fb85f604441a12cf453af715f3bf2259474 (diff)
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>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 58410ddbd57..473af0b3419 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',