Lines Matching refs:conditions

424  * @param {string[]} conditions - The import conditions.
438 conditions,
454 exportTarget, packageJSONUrl, conditions);
530 * @param {Set<string>} conditions - The conditions to match.
534 base, pattern, internal, isPathMap, conditions) {
538 isPathMap, conditions);
551 internal, isPathMap, conditions);
584 if (key === 'default' || conditions.has(key)) {
588 pattern, internal, isPathMap, conditions);
636 * @param {Set<string>} conditions - An array of conditions to match.
640 packageJSONUrl, packageSubpath, packageConfig, base, conditions) {
652 conditions,
705 conditions);
741 * @param {Set<string>} conditions - An object containing the import conditions.
746 function packageImportsResolve(name, base, conditions) {
762 conditions,
795 true, false, conditions);
858 * @param {Set<string>} conditions - An object containing the conditions for resolution.
861 function packageResolve(specifier, base, conditions) {
875 packageJSONUrl, packageSubpath, packageConfig, base, conditions);
900 packageJSONUrl, packageSubpath, packageConfig, base, conditions);
955 * @param {Set<string>} conditions - An object containing environment conditions.
958 function moduleResolve(specifier, base, conditions, preserveSymlinks) {
967 resolved = packageImportsResolve(specifier, base, conditions);
973 resolved = packageResolve(specifier, base, conditions);
1093 * Resolves the given specifier using the provided context, which includes the parent URL and conditions.
1097 * @param {object} [context={}] - The context object containing the parent URL and conditions.
1099 * @param {string[]} [context.conditions] - The conditions for resolving the specifier.
1102 let { parentURL, conditions } = context;
1108 const destination = resolve(specifier, new SafeSet(conditions));
1123 ArrayPrototypeJoin([...conditions], ', ')),
1190 conditions = getConditionsSet(conditions);
1196 conditions,
1268 context.conditions,