| 7819 | // `resolveAll` pre-computes resolutions of all imports within the compartment |
| 7820 | // in which a module was loaded. |
| 7821 | $h_once.makeAlias(makeAlias);const resolveAll=(imports,resolveHook,fullReferrerSpecifier)=>{ |
| 7822 | const resolvedImports= create(null); |
| 7823 | for( const importSpecifier of imports) { |
| 7824 | const fullSpecifier= resolveHook(importSpecifier, fullReferrerSpecifier); |
| 7825 | resolvedImports[importSpecifier]= fullSpecifier; |
| 7826 | } |
| 7827 | return freeze(resolvedImports); |
| 7828 | }; |
| 7829 | |
| 7830 | const loadRecord= ( |
| 7831 | compartmentPrivateFields, |