domainLock option patterns with leading dot character (.example.com) now cover root domains (example.com) in addition to all sub-domains (sub.example.com)

This commit is contained in:
sanex3339
2020-07-26 13:09:59 +03:00
parent 4049b5e67f
commit 2f04b379c9
10 changed files with 187 additions and 55 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
)
.option(
'--domain-lock <list> (comma separated, without whitespaces)',
'Blocks the execution of the code in domains that do not match the passed RegExp patterns (comma separated)',
'Allows to run the obfuscated source code only on specific domains and/or sub-domains (comma separated)',
ArraySanitizer
)
.option(