mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Identifier name generators: Hexadecimal and Mangled
This commit is contained in:
@@ -3,7 +3,6 @@ import { ServiceIdentifiers } from './container/ServiceIdentifiers';
|
||||
|
||||
import * as esprima from 'esprima';
|
||||
import * as escodegen from 'escodegen-wallaby';
|
||||
import * as esmangle from 'esmangle';
|
||||
import * as ESTree from 'estree';
|
||||
|
||||
import { ICustomNodeGroup } from './interfaces/custom-nodes/ICustomNodeGroup';
|
||||
@@ -270,10 +269,6 @@ export class JavaScriptObfuscator implements IJavaScriptObfuscator {
|
||||
escodegenParams.sourceContent = sourceCode;
|
||||
}
|
||||
|
||||
if (this.options.mangle) {
|
||||
astTree = esmangle.mangle(astTree);
|
||||
}
|
||||
|
||||
const generatorOutput: IGeneratorOutput = escodegen.generate(astTree, {
|
||||
...escodegenParams,
|
||||
format: {
|
||||
|
||||
Reference in New Issue
Block a user