UNPKG

@nodesecure/js-x-ray

Version:
20 lines 832 B
import type { ESTree } from "meriyah"; import type { ProbeMainContext, ProbeContext } from "../ProbeRunner.ts"; declare function validateNode(node: ESTree.Node, ctx: ProbeContext): [boolean, any?]; declare function initialize(ctx: ProbeContext): void; declare function runInNewContextHandler(node: ESTree.CallExpression, ctx: ProbeMainContext): void; declare function scriptRunInContextHandler(node: ESTree.CallExpression, ctx: ProbeMainContext): void; declare const _default: { name: string; nodeTypes: string[]; validateNode: typeof validateNode; main: { default: typeof runInNewContextHandler; script: typeof scriptRunInContextHandler; }; initialize: typeof initialize; breakOnMatch: boolean; context: {}; }; export default _default; //# sourceMappingURL=unsafe-vm-context.d.ts.map