Lines Matching refs:url
40 const { URL } = require('internal/url');
41 const { canParse: URLCanParse } = internalBinding('url');
109 * @property {URL['href']} url The URL of the module.
132 url: 'node:internal/modules/esm/resolve',
144 url: 'node:internal/modules/esm/load',
174 * @param {string} url Custom loader specifier
180 addCustomLoader(url, exports, data) {
192 ArrayPrototypePush(this.#chains.globalPreload, { __proto__: null, fn: globalPreload, url });
196 ArrayPrototypePush(this.#chains.resolve, { __proto__: null, fn: resolve, url, next });
200 ArrayPrototypePush(this.#chains.load, { __proto__: null, fn: load, url, next });
223 url: specifier,
259 * @returns {Promise<{ format: string, url: URL['href'] }>}
316 url,
319 if (typeof url !== 'string') {
325 'url',
326 url,
331 if (!this.#validatedUrls.has(url)) {
333 if (!URLCanParse(url)) {
337 'url',
338 url,
342 this.#validatedUrls.add(url);
380 url,
394 * @param {URL['href']} url The URL/path of the module to be loaded
398 async load(url, context = {}) {
413 `${hookErrIdentifier} url`,
424 `${hookErrIdentifier} url`,
447 const loaded = await nextLoad(url, defineImportAssertionAlias(context));
465 responseURL = url;
487 require('internal/modules/esm/load').throwUnknownModuleFormat(url, format);
826 url: hookFilePath,