Mixed string array encoding prototype (#727)

`stringArrayEncoding` option now accepts an array of encodings. Each string will be randomly encoded with passed encoding.
This commit is contained in:
Timofey Kachalov
2020-08-30 21:10:46 +03:00
committed by GitHub
parent 8c91a254be
commit 42ff66849e
39 changed files with 545 additions and 232 deletions
@@ -72,7 +72,7 @@ describe('StringArrayCallsWrapperCodeHelper', () => {
identifierNamesGenerator: IdentifierNamesGenerator.MangledIdentifierNamesGenerator,
stringArray: true,
stringArrayThreshold: 1,
stringArrayEncoding: StringArrayEncoding.Base64
stringArrayEncoding: [StringArrayEncoding.Base64]
}
).getObfuscatedCode();
});