mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Changed version, fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/252
This commit is contained in:
@@ -247,7 +247,10 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
|
||||
ArraySanitizer
|
||||
)
|
||||
.option(
|
||||
'--identifier-names-generator <string> [hexadecimal, mangled]', 'Sets identifier names generator (Default: hexadecimal)',
|
||||
'--identifier-names-generator <string>',
|
||||
'Sets identifier names generator. ' +
|
||||
'Values: hexadecimal, mangled. ' +
|
||||
'Default: hexadecimal',
|
||||
IdentifierNamesGeneratorSanitizer
|
||||
)
|
||||
.option(
|
||||
@@ -295,8 +298,10 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
|
||||
'Sets file name for output source map when `--source-map-mode=separate`'
|
||||
)
|
||||
.option(
|
||||
'--source-map-mode <string> [inline, separate]',
|
||||
'Specify source map output mode',
|
||||
'--source-map-mode <string>',
|
||||
'Specify source map output mode. ' +
|
||||
'Values: inline, separate. ' +
|
||||
'Default: separate',
|
||||
SourceMapModeSanitizer
|
||||
)
|
||||
.option(
|
||||
@@ -305,8 +310,10 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
|
||||
BooleanSanitizer
|
||||
)
|
||||
.option(
|
||||
'--string-array-encoding <string|boolean> [true, false, base64, rc4]',
|
||||
'Encodes all strings in strings array using base64 or rc4 (this option can slow down your code speed',
|
||||
'--string-array-encoding <string|boolean>',
|
||||
'Encodes all strings in strings array using base64 or rc4 (this option can slow down your code speed. ' +
|
||||
'Values: true, false, base64, rc4. ' +
|
||||
'Default: false',
|
||||
StringArrayEncodingSanitizer
|
||||
)
|
||||
.option(
|
||||
@@ -316,7 +323,9 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
|
||||
)
|
||||
.option(
|
||||
'--target <string>',
|
||||
'Allows to set target environment for obfuscated code.',
|
||||
'Allows to set target environment for obfuscated code. ' +
|
||||
'Values: browser, browser-no-eval, node. ' +
|
||||
'Default: browser',
|
||||
ObfuscationTargetSanitizer
|
||||
)
|
||||
.option(
|
||||
|
||||
Reference in New Issue
Block a user