@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) • 526 B
TypeScript
import { RequireInterceptor } from "./RequireInterceptor";
export declare class VersionedPackage {
private readonly range;
private requireInterceptors;
private requireFileInterceptors;
constructor(range: string);
getRange(): string;
onRequire(interceptor: RequireInterceptor): this;
onFileRequire(relativePath: string, interceptor: RequireInterceptor): this;
getRequireInterceptors(): RequireInterceptor[];
getRequireFileInterceptor(relativePath: string): RequireInterceptor | undefined;
}