Function: findLockfileDependency()¶
findLockfileDependency(
importSource,lockfile):ResolvedImportDependency|undefined
Defined in: validator/src/import-exclusions.ts:184
Resolve an exclude's import source against lockfile dependency keys.
Exact normalized match first; otherwise the longest lockfile key that is a path prefix, so an exclude declared with a sub-path (org/repo/skills/foo) still binds to its repository pin (org/repo).
Parameters¶
importSource¶
string
lockfile¶
Returns¶
ResolvedImportDependency | undefined