@nodesecure/js-x-ray
Version:
JavaScript AST XRay analysis
18 lines • 563 B
TypeScript
import type { ESTree } from "meriyah";
import { SourceFile } from "../SourceFile.ts";
declare function validateNode(node: ESTree.Node): [boolean, string?];
declare function main(node: ESTree.Literal | ESTree.MemberExpression, options: {
sourceFile: SourceFile;
data?: string;
signals: {
Skip: symbol;
};
}): symbol | undefined;
declare const _default: {
name: string;
validateNode: typeof validateNode;
main: typeof main;
breakOnMatch: boolean;
};
export default _default;
//# sourceMappingURL=isPrototypePollution.d.ts.map