Functions

f
getChangedFiles(
metafile: AffectedMetafile,
esbuildCwd: string,
changedAbsPaths: ReadonlySet<string>,
testFiles: readonly string[]
): Set<string>

Returns the subset of testFiles (absolute paths) whose transitive imports, per the cached esbuild metafile, include any file in changedAbsPaths.

Interfaces

I
AffectedMetafile

Subset of esbuild's Metafile shape that we actually read. Defined locally so this module doesn't import the heavy esbuild package — it only parses a JSON file that esbuild produced earlier.