Added renameGlobal option

This commit is contained in:
sanex3339
2017-07-29 01:00:13 +03:00
parent 215004aba8
commit a59fda5d7c
14 changed files with 133 additions and 38 deletions
+4
View File
@@ -175,6 +175,10 @@ export class JavaScriptObfuscatorCLI {
'Disable obfuscation of variable names, function names and names of function parameters that match the passed RegExp patterns (comma separated)',
(value: string) => value.split(',')
)
.option(
'--renameGlobals <boolean>', 'Allows to enable obfuscation of global variable and function names with declaration.',
BooleanSanitizer
)
.option(
'--rotateStringArray <boolean>', 'Disable rotation of unicode array values during obfuscation',
BooleanSanitizer