Home
last modified time | relevance | path

Searched refs:requestPath (Results 1 – 2 of 2) sorted by relevance

/third_party/node/lib/internal/modules/cjs/
Dloader.js364 function readPackage(requestPath) { argument
365 const jsonPath = path.resolve(requestPath, 'package.json');
423 function tryPackage(requestPath, exts, isMain, originalPath) { argument
424 const pkg = _readPackage(requestPath)?.main;
427 return tryExtensions(path.resolve(requestPath, 'index'), exts, isMain);
430 const filename = path.resolve(requestPath, pkg);
435 actual = tryExtensions(path.resolve(requestPath, 'index'), exts, isMain);
443 err.path = path.resolve(requestPath, 'package.json');
444 err.requestPath = originalPath;
448 const jsonPath = path.resolve(requestPath, 'package.json');
[all …]
/third_party/node/test/sequential/
Dtest-module-loading.js125 requestPath: /^\.\.[/\\]fixtures[/\\]packages[/\\]missing-main-no-index$/ property