Extracts import paths from a source file. Supports JavaScript, TypeScript, and Rust files. Results are cached per file path to avoid redundant I/O.
Path to the file to analyze.
Array of absolute paths to imported files.
Extracts import paths from a source file. Supports JavaScript, TypeScript, and Rust files. Results are cached per file path to avoid redundant I/O.