javascript-obfuscator / javascript-obfuscator

A powerful obfuscator for JavaScript and Node.js
https://obfuscator.io
BSD 2-Clause "Simplified" License
13.78k stars 1.51k forks source link

ReferenceError: `parentNode` property of given node is `undefined` #288

Closed sanex3339 closed 6 years ago

sanex3339 commented 6 years ago

ReferenceError: parentNode property of given node is undefined with multiline template litetral

Code:

const sql_query = `select * from sub JOIN ps   ON 
sub.subsystem_id=ps.subsystem_id
                                JOIN project ON project.id = ps.project_id
                                where sub.subsystem_uid in (${ids.map(d=>`'${d}'`).join(',')})
                                ${otherWhere}
                                `;
sanex3339 commented 6 years ago

Out in javascript-obfuscator@0.17.1