@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.
13 lines (12 loc) • 416 B
TypeScript
type PackageName = string;
type PackageRange = string;
type PackageVersion = string;
export declare function preventPrototypePollution(): void;
type FreezeResult = {
success: true;
} | {
success: false;
incompatiblePackages: Record<PackageName, PackageVersion>;
};
export declare function freezeBuiltinsIfPossible(incompatiblePackageVersions: Record<PackageName, PackageRange>): FreezeResult;
export {};