aboutsummaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorbcoe <bencoe@google.com>2020-11-02 16:57:33 -0800
committerBenjamin Coe <bencoe@google.com>2020-11-06 12:47:23 -0800
commit8fa90358d7b6a21e945d865f14ddb9ad02572921 (patch)
treefccf39c7a2a25d9e1bba51b760b3ce11a6f91f13 /node.gyp
parent1fd7d8e90387a83fe3a2566bdac147c1b33cdbcc (diff)
downloadios-node-v8-8fa90358d7b6a21e945d865f14ddb9ad02572921.tar.gz
ios-node-v8-8fa90358d7b6a21e945d865f14ddb9ad02572921.tar.bz2
ios-node-v8-8fa90358d7b6a21e945d865f14ddb9ad02572921.zip
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 d2f0be54e9..643c8a43c6 100644
--- a/node.gyp
+++ b/node.gyp
@@ -230,6 +230,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',