New option: stringArrayIntermediateCalls sets the passed amount of intermediate variables for the string array

This commit is contained in:
sanex
2020-09-07 10:05:31 +03:00
parent 48eccacd5c
commit 1b656d7386
34 changed files with 351 additions and 59 deletions
+5
View File
@@ -339,6 +339,11 @@ export class JavaScriptObfuscatorCLI implements IInitializable {
`Default: ${StringArrayEncoding.None}`,
ArraySanitizer
)
.option(
'--string-array-intermediate-calls <number>',
'Sets the passed amount of intermediate variables for the string array.',
parseInt
)
.option(
'--string-array-threshold <number>',
'The probability that the literal string will be inserted into stringArray (Default: 0.8, Min: 0, Max: 1)',