e. */ get size() { return this.#weakModuleMap.size; } [SymbolIterator]() { const iterator = this.#weakModuleMap.entries(); const next = () => { const result = iterator.next(); if (result.done) return result; const { 0: key, 1: weakRef } = result.value; const moduleInstance = weakRef.deref(); if (moduleInstance == null) return next(); const value = moduleInstance[source_map_data_private_symbol]; return { done: false, value: [key, value] }; }; return { [SymbolIterator]() { return this; }, next, }; } } ObjectFreeze(SourceMapCacheMap.prototype); module.exports = { SourceMapCacheMap, };