• Home
  • Raw
  • Download

Lines Matching refs:conditions

104 function getConditionsSet(conditions) {  argument
105 if (conditions !== undefined && conditions !== DEFAULT_CONDITIONS) {
106 if (!ArrayIsArray(conditions)) {
107 throw new ERR_INVALID_ARG_VALUE('conditions', conditions,
110 return new SafeSet(conditions);
360 target, subpath, match, packageJSONUrl, base, pattern, internal, conditions) { argument
376 return packageResolve(exportTarget, packageJSONUrl, conditions);
414 base, pattern, internal, conditions) { argument
418 conditions);
430 internal, conditions);
460 if (key === 'default' || conditions.has(key)) {
464 pattern, internal, conditions);
510 packageJSONUrl, packageSubpath, packageConfig, base, conditions) { argument
520 packageJSONUrl, target, '', packageSubpath, base, false, false, conditions
559 pattern, false, conditions);
582 function packageImportsResolve(name, base, conditions) { argument
597 packageJSONUrl, imports[name], '', name, base, false, true, conditions
635 conditions);
656 function packageResolve(specifier, base, conditions) { argument
697 packageJSONUrl, packageSubpath, packageConfig, base, conditions
722 packageJSONUrl, packageSubpath, packageConfig, base, conditions
761 function moduleResolve(specifier, base, conditions) { argument
768 ({ resolved } = packageImportsResolve(specifier, base, conditions));
773 resolved = packageResolve(specifier, base, conditions);
825 let { parentURL, conditions } = context;
830 const destination = resolve(specifier, new SafeSet(conditions));
842 ArrayPrototypeJoin([...conditions], ', '))
884 conditions = getConditionsSet(conditions);
887 url = moduleResolve(specifier, parentURL, conditions);