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>
4 lines
123 B
JavaScript
4 lines
123 B
JavaScript
"use strict";
|
|
exports.__esModule = true;
|
|
require("./throw-on-require");
|
|
//# sourceMappingURL=throw-on-require-entry.js.map
|