Renamed option mangleProperties -> renameProperties

This commit is contained in:
sanex3339
2020-06-07 00:52:11 +03:00
parent 5cd063fe92
commit 11cfaf2b51
28 changed files with 119 additions and 120 deletions
+6 -6
View File
@@ -238,7 +238,7 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
)
.option(
'--identifiers-prefix <string>',
'Sets prefix for all global identifiers.'
'Sets prefix for all global identifiers'
)
.option(
'--identifiers-dictionary <list> (comma separated, without whitespaces)',
@@ -249,10 +249,6 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
'--log <boolean>', 'Enables logging of the information to the console',
BooleanSanitizer
)
.option(
'--mangle-properties <boolean>', 'UNSAFE: Enables mangling property names',
BooleanSanitizer
)
.option(
'--reserved-names <list> (comma separated, without whitespaces)',
'Disables obfuscation and generation of identifiers, which being matched by passed RegExp patterns (comma separated)',
@@ -264,7 +260,11 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
ArraySanitizer
)
.option(
'--rename-globals <boolean>', 'Allows to enable obfuscation of global variable and function names with declaration.',
'--rename-globals <boolean>', 'Allows to enable obfuscation of global variable and function names with declaration',
BooleanSanitizer
)
.option(
'--rename-properties <boolean>', 'UNSAFE: Enables rename of property names. This probably WILL break your code',
BooleanSanitizer
)
.option(