summaryrefslogtreecommitdiff
path: root/tests/specs/npm/require_resolve_bad_paths_global_cache/main.ts
AgeCommit message (Collapse)Author
2024-04-30fix(node): require.resolve - fallback to global cache when bare specifier ↵David Sherret
from paths not found (#23618) Part of #22607 (probably closes it, but I haven't done thorough testing) Makes it so that `require.resolve` with `paths` specified will fallback to using the global cache when the paths can't be found when using a global cache (not when using a node_modules folder)