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
committerDanielle Adams <adamzdanielle@gmail.com>2020-11-09 21:35:00 +0300
commit8d76db86b5cfb1b6c000fbfc3fe2c0be53ca3753 (patch)
treed6505b019f1a060638d537b4e002ea6d369dbbeb /node.gyp
parent1dd744a420d7b4f828b38f80c19c7e3d93768c99 (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 763af9128c4..d4dc83d257b 100644
--- a/node.gyp
+++ b/node.gyp
@@ -227,6 +227,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',