csp_evaluator
Version:
Evaluate Content Security Policies for a wide range of bypasses and weaknesses
12 lines • 381 B
TypeScript
import * as csp from './csp';
export declare class CspParser {
csp: csp.Csp;
constructor(unparsedCsp: string);
parse(unparsedCsp: string): csp.Csp;
}
declare function normalizeDirectiveValue(directiveValue: string): string;
export declare const TEST_ONLY: {
normalizeDirectiveValue: typeof normalizeDirectiveValue;
};
export {};
//# sourceMappingURL=parser.d.ts.map