mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Use the dictionary as the name of the identifiers
This commit is contained in:
@@ -251,7 +251,7 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
|
||||
.option(
|
||||
'--identifier-names-generator <string>',
|
||||
'Sets identifier names generator. ' +
|
||||
'Values: hexadecimal, mangled. ' +
|
||||
'Values: hexadecimal, mangled, dictionary. ' +
|
||||
'Default: hexadecimal',
|
||||
IdentifierNamesGeneratorSanitizer
|
||||
)
|
||||
@@ -259,6 +259,11 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
|
||||
'--identifiers-prefix <string>',
|
||||
'Sets prefix for all global identifiers.'
|
||||
)
|
||||
.option(
|
||||
'--identifiers-dictionary <list> (comma separated, without whitespaces)',
|
||||
'Identifiers dictionary (comma separated)',
|
||||
ArraySanitizer
|
||||
)
|
||||
.option(
|
||||
'--log <boolean>', 'Enables logging of the information to the console',
|
||||
BooleanSanitizer
|
||||
|
||||
Reference in New Issue
Block a user