mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Dependencies update
This commit is contained in:
@@ -88,7 +88,7 @@ export class NodeUtils {
|
||||
* @returns {TStatement[]}
|
||||
*/
|
||||
public static convertCodeToStructure (code: string): TStatement[] {
|
||||
let structure: ESTree.Program = esprima.parse(code);
|
||||
let structure: ESTree.Program = esprima.parseScript(code);
|
||||
|
||||
structure = NodeUtils.addXVerbatimPropertyToLiterals(structure);
|
||||
structure = NodeUtils.parentize(structure);
|
||||
|
||||
Reference in New Issue
Block a user