Lines Matching refs:resolve
34 const { sep, relative, resolve, toNamespacedPath } = require('path');
141 } else if (resolve(pkgPath, main) !== path) {
252 const pkgJsonPath = resolve(dirPath, 'package.json');
258 const mainUrl = pathToFileURL(resolve(dirPath, main));
416 * @param {string} target - The target string to resolve.
420 * @param {string} base - The base URL to resolve the target against.
523 * @param {import('internal/modules/esm/package_config.js').PackageTarget} target - The target to resolve.
524 * @param {string} subpath - The subpath to resolve.
525 * @param {string} packageSubpath - The subpath of the package to resolve.
526 * @param {string} base - The base path to resolve.
633 * @param {string} packageSubpath - The subpath of the package to resolve.
635 * @param {string | URL | undefined} base - The base path to resolve from.
739 * @param {string} name - The name of the import to resolve.
740 * @param {string | URL | undefined} base - The base URL to resolve the import from.
856 * @param {string} specifier - The package specifier to resolve.
953 * @param {string} specifier - The module specifier to resolve.
954 * @param {string | URL | undefined} base - The base URL to resolve against.
984 * Try to resolve an import as a CommonJS module.
985 * @param {string} specifier - The specifier to resolve.
1095 * Otherwise, attempts to resolve the specifier and returns the resulting URL and format.
1096 * @param {string} specifier - The specifier to resolve.
1107 const { resolve, reaction } = redirects;
1108 const destination = resolve(specifier, new SafeSet(conditions));