@aikidosec/firewall
Version:
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks
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 {};