Lines Matching refs:specifier
52 * Resolves the path of a given `require` specifier, following symlinks.
53 * @param {string} requestPath The `require` specifier
91 * @param {string} id - The identifier/specifier of the builtin module to load
126 * @typedef {(specifier: string) => unknown} RequireFunction
141 require = function require(specifier) {
143 const destination = resolve(specifier, conditions);
149 const specifier = destination.pathname;
151 if (BuiltinModule.canBeRequiredByUsers(specifier)) {
152 const mod = loadBuiltinModule(specifier, href);
155 throw new ERR_UNKNOWN_BUILTIN_MODULE(specifier);
168 specifier,
172 return mod[require_private_symbol](mod, specifier);