UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Application Firewall that autonomously protects Node.js apps against common and critical attacks, provides rate limiting, detects malicious traffic (including bots), and more.

7 lines (6 loc) 303 B
import type { DocumentNode } from "graphql"; /** * This function extracts user inputs (that could be harmful) from a GraphQL document. * @returns An array of user inputs. */ export declare function extractInputsFromDocument(document: DocumentNode, visitFn: typeof import("graphql").visit): string[];