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.

6 lines (5 loc) 340 B
import { WrapPackageInfo } from "./WrapPackageInfo"; /** * Intercepts the creation of a new instance of a class, to wrap it's methods and properties. */ export declare function wrapNewInstance(subject: unknown, className: string | undefined, pkgInfo: WrapPackageInfo, interceptor: (exports: any) => void | unknown): Function | undefined;