Pass simplify and numbersToExpressions options to CustomCodeHelperObfuscator obfuscation

This commit is contained in:
sanex3339
2020-07-12 21:09:13 +03:00
parent 1beb3cd774
commit 19fa1fb602
6 changed files with 14 additions and 6 deletions
@@ -47,6 +47,8 @@ export class CustomCodeHelperObfuscator implements ICustomCodeHelperObfuscator {
...NO_ADDITIONAL_NODES_PRESET,
identifierNamesGenerator: this.options.identifierNamesGenerator,
identifiersDictionary: this.options.identifiersDictionary,
numbersToExpressions: this.options.numbersToExpressions,
simplify: this.options.simplify,
seed: this.randomGenerator.getRawSeed(),
...additionalOptions
}