Searched refs:exportNames (Results 1 – 4 of 4) sorted by relevance
/third_party/node/lib/internal/modules/esm/ |
D | translators.js | 186 const { module, exportNames } = cjsPreparseModuleExports(filename); 187 const namesWithDefault = exportNames.has('default') ? 188 [...exportNames] : ['default', ...exportNames]; 206 for (const exportName of exportNames) { 226 return { module, exportNames: cached.exportNames }; 249 const exportNames = new SafeSet(exports); 252 cjsParseCache.set(module, { source, exportNames, loaded }); property 268 const { exportNames: reexportNames } = cjsPreparseModuleExports(resolved); 270 exportNames.add(name); 274 return { module, exportNames };
|
/third_party/node/lib/internal/vm/ |
D | module.js | 399 constructor(exportNames, evaluateCallback, options = {}) { argument 400 if (!ArrayIsArray(exportNames) || 401 ArrayPrototypeSome(exportNames, (e) => typeof e !== 'string')) { 404 exportNames); 406 ArrayPrototypeForEach(exportNames, (name, i) => { 407 if (ArrayPrototypeIndexOf(exportNames, name, i + 1) !== -1) { 426 syntheticExportNames: exportNames,
|
/third_party/node/doc/api/ |
D | vm.md | 778 ### `new vm.SyntheticModule(exportNames, evaluateCallback[, options])` 785 * `exportNames` {string[]} Array of names that will be exported from the module.
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V14.md | 3984 …/nodejs/node/commit/4423304ac4)] - **vm**: throw error when duplicated exportNames in SyntheticMod…
|