@nodesecure/js-x-ray
Version:
JavaScript AST XRay analysis
15 lines • 621 B
TypeScript
import type { ESTree } from "meriyah";
import type { ProbeContext, ProbeMainContext } from "../../ProbeRunner.ts";
declare function validateNodeRequire(node: ESTree.Node, ctx: ProbeContext): [boolean, any?];
declare function teardown(ctx: ProbeContext): void;
declare function main(node: ESTree.CallExpression, ctx: ProbeMainContext): symbol | undefined;
declare const _default: {
name: string;
validateNode: (typeof validateNodeRequire)[];
main: typeof main;
teardown: typeof teardown;
breakOnMatch: boolean;
breakGroup: string;
};
export default _default;
//# sourceMappingURL=isRequire.d.ts.map