File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ const traverse = _traverse.default
66
77import calculateConstantExp from '../visitor/calculate-constant-exp.js'
88import pruneIfBranch from '../visitor/prune-if-branch.js'
9+ import splitVarDeclaration from '../visitor/split-variable-declaration.js'
910import jcAntiTooling from '../visitor/jsconfuser/anti-tooling.js'
1011import jcControlFlow from '../visitor/jsconfuser/control-flow.js'
1112import jcDuplicateLiteral from '../visitor/jsconfuser/duplicate-literal.js'
@@ -29,6 +30,8 @@ export default function (code) {
2930 // Minify
3031 const jcMinify = jcMinifyInit ( )
3132 traverse ( ast , jcMinify . deMinifyArrow )
33+ // MovedDeclarations
34+ traverse ( ast , splitVarDeclaration )
3235 // DuplicateLiteralsRemoval
3336 traverse ( ast , jcDuplicateLiteral )
3437 // Stack
You can’t perform that action at this time.
0 commit comments