Lines Matching refs:file

74  * @param {string} pjsonUrl - The URL of the package.json file.
120 * the package.json file does not define a "main" or "exports" field.
122 * @param {URL} packageJSONUrl - The URL of the package.json file for the module.
124 * @param {string} [main] - The "main" field from the package.json file.
144 `excluding the full filename and extension to the resolved file at "${
269 * characters, checking if the resolved pathname is a directory or file, and resolving any symlinks if necessary.
276 * @throws {ERR_MODULE_NOT_FOUND} - If the resolved pathname is not a file.
296 let file = resolveExtensionsWithTryExactName(resolved);
299 if (file === undefined) {
300 file = StringPrototypeEndsWith(path, '/') ?
303 if (file === resolved) { return file; }
305 if (file === undefined) {
312 resolved = file;
348 * @param {URL} packageJSONUrl - The URL of the package.json file, or null if not available.
361 * @param {URL} packageJSONUrl - The URL of the package.json file.
375 * @param {URL} packageJSONUrl - The URL of the package.json file being resolved.
392 * @param {URL} packageJSONUrl - The URL of the package.json file.
419 * @param {string} packageJSONUrl - The URL of the package.json file.
522 * @param {string} packageJSONUrl - The URL of the package.json file.
604 * @param {URL} packageJSONUrl The URL of the package.json file.
632 * @param {URL} packageJSONUrl - The URL of the package.json file.
977 if (resolved.protocol !== 'file:') {
1002 // esm modules there should be always a file specified so
1047 // data: and blob: disallowed due to allowing file: access via
1183 // --eval, --print or STDIN string input. It is not allowed with file
1204 if (StringPrototypeStartsWith(specifier, 'file://')) {