UNPKG

@nodesecure/js-x-ray

Version:
20 lines 811 B
import { DiGraph, type VertexBody, type VertexDefinition } from "digraph-js"; import { AstAnalyser, type ReportOnFile, type RuntimeFileOptions } from "./AstAnalyser.js"; export interface EntryFilesAnalyserOptions { astAnalyzer?: AstAnalyser; loadExtensions?: (defaults: string[]) => string[]; rootPath?: string | URL; ignoreENOENT?: boolean; } export declare class EntryFilesAnalyser { #private; astAnalyzer: AstAnalyser; allowedExtensions: Set<string>; dependencies: DiGraph<VertexDefinition<VertexBody>>; ignoreENOENT: boolean; constructor(options?: EntryFilesAnalyserOptions); analyse(entryFiles: Iterable<string | URL>, options?: RuntimeFileOptions): AsyncGenerator<ReportOnFile & { file: string; }>; } //# sourceMappingURL=EntryFilesAnalyser.d.ts.map