Lines Matching refs:url
40 const { URL, pathToFileURL, fileURLToPath, isURL, toPathIfFileURL } = require('internal/url');
42 const { canParse: URLCanParse } = internalBinding('url');
121 * @param {URL} url - The URL of the module being resolved.
126 function emitLegacyIndexDeprecation(url, packageJSONUrl, base, main) {
127 const format = defaultGetFormatWithoutErrors(url);
129 const path = fileURLToPath(url);
157 * @param {string | URL} url
160 function fileExists(url) {
161 return internalModuleStat(toNamespacedPath(toPathIfFileURL(url))) === 0;
808 * @param {URL} url - The URL to get the package type for.
810 function getPackageType(url) {
811 const packageConfig = getPackageScopeConfig(url);
1060 return { url: parsed.href };
1114 return { url: href };
1156 return { __proto__: null, url: parsed.href };
1174 if (parsed && parsed.protocol === 'node:') { return { __proto__: null, url: specifier }; }
1191 let url;
1193 url = moduleResolve(
1213 // Do NOT cast `url` to a string: that will work even when there are real
1215 url: url.href,
1216 format: defaultGetFormatWithoutErrors(url, context),
1264 policy.manifest.mightAllow(ret.url, () =>