* Fixed identifier names generations for mangled and dictionary identifier names generators

* Fixed combination of `identifierNamesGenerator: dictionary` and `debugProtection` options
* `seed` option now accepts `string` and `number` values
This commit is contained in:
sanex3339
2020-01-01 21:46:51 +03:00
parent f39d16370b
commit 945e885240
26 changed files with 304 additions and 22895 deletions
@@ -50,10 +50,6 @@ export class StringArrayStorage extends ArrayStorage <string> {
public initialize (): void {
super.initialize();
if (!this.options.stringArray) {
return;
}
const baseStringArrayName: string = this.identifierNamesGenerator
.generate(StringArrayStorage.stringArrayNameLength);
const baseStringArrayCallsWrapperName: string = this.identifierNamesGenerator