We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f57e33f commit 969eca0Copy full SHA for 969eca0
src/plugin/obfuscator.js
@@ -144,8 +144,8 @@ function stringArrayV2(ast) {
144
// v < 2.12.0
145
// The `stringArrayCallsWrapperName` is defined by VariableDeclarator
146
up1 = up1.parentPath
147
- const up2 = up1.parentPath
148
- obj.stringArrayCodes.push(generator(up2.node, { minified: true }).code)
+ const node = t.variableDeclaration('var', [up1.node])
+ obj.stringArrayCodes.push(generator(node, { minified: true }).code)
149
up1.node.init = null
150
obj.stringArrayCalls.push({ name: up1.node.id.name, path: up1 })
151
continue
0 commit comments