UNPKG
xss-defender
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
A standalone library for XSS sanitization and detection.
xss-defender
/
dist
/
src
/
core
/
patterns.d.ts
6 lines
(5 loc)
•
203 B
TypeScript
View Raw
1
2
3
4
5
6
/** * Regular expressions for detecting common XSS attack vectors. * These patterns are used to identify and remove or neutralize malicious code. */
export
declare
const
DANGEROUS_PATTERNS
:
RegExp
[];