Add support for safe regex type checking; make sure regexes passed to Censor are safe

This commit is contained in:
Dragory 2019-08-04 13:41:35 +03:00
parent 4034c6a850
commit 68380c5ac3
4 changed files with 46 additions and 10 deletions

View file

@ -44,6 +44,7 @@
"passport-custom": "^1.0.5",
"passport-oauth2": "^1.5.0",
"reflect-metadata": "^0.1.12",
"safe-regex": "^2.0.2",
"seedrandom": "^3.0.1",
"tlds": "^1.203.1",
"tmp": "0.0.33",