Michael Brasington
Michael Brasington
> What's the target of the default output? This really depends on what code you pass into the obfuscator, it will handle all the newest syntaxes (thanks to Babel). The...
This is strange as both web and NPM version are the same. Are you using the latest version?
Closing for now. Feel free to open again if you still encounter the issue.
Hi, can you share the options and version you're using? I am unable to reproduce on [1.7.3](https://www.npmjs.com/package/js-confuser/v/1.7.3) or [2.0.0-alpha.3](https://www.npmjs.com/package/js-confuser/v/2.0.0-alpha.3)
Not planned. Too error-prone. It would most likely struggle with dynamic keys, just like [Obfuscator.io's `renameProperties`](https://github.com/javascript-obfuscator/javascript-obfuscator?tab=readme-ov-file#renameproperties) (even on 'safe' mode): ```js // Input (function () { const foo = {...
Not planned, but pull requests are welcome.
Interesting. This is really just using the exponent as a conditional. Math formulas can be added like how [Jscrambler does Opaque predicates](https://svebaa.github.io/personal/blog/opaque-predicates/). But still the data in the code will...
Thanks, great find. The problem was Global Concealing on non-defined identifiers in For-In/For-Of statements. Fixed for next release. I would recommend defining every variable you use, the obfuscator handles them...
Fixed on development version of JS-Confuser.com: [Demo link](https://development--confuser.netlify.app/editor?code=window.list+%3D+%7B%0A++test1%3A+0%2C%0A%7D%3B%0Afunction+test%28%29+%7B%0A++for+%28scene+in+window.list%29+%7B%0A++++console.log%28%27test%27%29%3B%0A++%7D%0A%7D%0Atest%28%29%3B%0A&config=%2F%2F+This+file+is+evaluated+as+JavaScript.+You+can+use+JavaScript+here.%0A%2F%2F+Learn+more%3A+https%3A%2F%2Fjs-confuser.com%2Fdocs%2Fgetting-started%2Fplayground%23jsconfuser-ts%0A%0Amodule.exports+%3D+%7B%0A++target%3A+%27browser%27%2C%0A++globalConcealing%3A+true%2C%0A%7D%3B%0A).