UNPKG

xss-defender

Version:

A standalone library for XSS sanitization and detection.

14 lines (13 loc) 435 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_SANITIZATION_CONFIG = void 0; /** * Default sanitization configuration. */ exports.DEFAULT_SANITIZATION_CONFIG = { allowedTags: ["p", "br", "b", "i", "ul", "ol", "li", "span", "div", "a"], allowedAttributes: ["id", "class", "style", "href", "target"], stripIgnoreTag: true, enableLogging: false, logFormat: "simple", };