sanex3339 9 yıl önce
ebeveyn
işleme
a2806cabc9

+ 1 - 0
.npmrc

@@ -0,0 +1 @@
+unsafe-perm = true

+ 1 - 3
src/node-obfuscators/VariableDeclarationObfuscator.ts

@@ -90,9 +90,7 @@ export class VariableDeclarationObfuscator extends NodeObfuscator {
                     node.type === 'FunctionExpression' ||
                     node.type === 'ArrowFunctionExpression'
                 ) {
-                    functionParentScope = NodeUtils.getNodeScope(
-                        node
-                    );
+                    functionParentScope = NodeUtils.getNodeScope(node);
 
                     if (NodeUtils.isBlockStatementNode(functionParentScope)) {
                         functionIndex = functionParentScope.body.indexOf(node);