mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Added renameGlobal option
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user