(specifier, _, importAttributes, phase)
| 413 | function compileScript(name, body, baseUrl) { |
| 414 | const hostDefinedOptionId = Symbol(name); |
| 415 | async function importModuleDynamically(specifier, _, importAttributes, phase) { |
| 416 | const cascadedLoader = require('internal/modules/esm/loader').getOrInitializeCascadedLoader(); |
| 417 | return cascadedLoader.import(specifier, baseUrl, importAttributes, |
| 418 | phase === 'source' ? kSourcePhase : kEvaluationPhase); |
| 419 | } |
| 420 | return makeContextifyScript( |
| 421 | body, // code |
| 422 | name, // filename, |
no test coverage detected
searching dependent graphs…