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:
authorbcoe <bencoe@google.com>2020-11-03 03:57:33 +0300
committerMichaƫl Zasso <targos@protonmail.com>2021-05-16 14:56:12 +0300
commiteee1d291cf24cd6ec5a7aa67f19b27c874befbca (patch)
treed39cf19f6cc8d6a687912bb38802b2eb736d1dae /node.gyp
parent7d7e34c15a471e02cd340f43abd30a90f5563334 (diff)
module: refactor to use iterable-weak-map
Using an iterable WeakMap (a data-structure that uses WeakRef and WeakMap), we are able to: stop relying on Module._cache to serialize source maps; stop requiring an error object when calling findSourceMap(). PR-URL: https://github.com/nodejs/node/pull/35915 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 61b789ec74a..59ba758e73f 100644
--- a/node.gyp
+++ b/node.gyp
@@ -211,6 +211,7 @@
'lib/internal/util/debuglog.js',
'lib/internal/util/inspect.js',
'lib/internal/util/inspector.js',
+ 'lib/internal/util/iterable_weak_map.js',
'lib/internal/util/types.js',
'lib/internal/http2/core.js',
'lib/internal/http2/compat.js',