Searched refs:requestPath (Results 1 – 2 of 2) sorted by relevance
/third_party/node/lib/internal/modules/cjs/ |
D | loader.js | 258 function readPackage(requestPath) { argument 259 const jsonPath = path.resolve(requestPath, 'package.json'); 306 function tryPackage(requestPath, exts, isMain, originalPath) { argument 307 const pkg = readPackage(requestPath)?.main; 310 return tryExtensions(path.resolve(requestPath, 'index'), exts, isMain); 313 const filename = path.resolve(requestPath, pkg); 318 actual = tryExtensions(path.resolve(requestPath, 'index'), exts, isMain); 326 err.path = path.resolve(requestPath, 'package.json'); 327 err.requestPath = originalPath; 331 const jsonPath = path.resolve(requestPath, 'package.json'); [all …]
|
/third_party/node/test/sequential/ |
D | test-module-loading.js | 117 requestPath: /^\.\.[/\\]fixtures[/\\]packages[/\\]missing-main-no-index$/ property
|