diff options
author | bcoe <bencoe@google.com> | 2020-11-03 03:57:33 +0300 |
---|---|---|
committer | Danielle Adams <adamzdanielle@gmail.com> | 2020-11-09 21:35:00 +0300 |
commit | 8d76db86b5cfb1b6c000fbfc3fe2c0be53ca3753 (patch) | |
tree | d6505b019f1a060638d537b4e002ea6d369dbbeb /node.gyp | |
parent | 1dd744a420d7b4f828b38f80c19c7e3d93768c99 (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.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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', |