Ben
Ben
The npm package should support configuring all the same options as the web version. Config interface should be ```ts interface Config { silent: boolean; objectSimplification: { isEnabled: boolean; unsafeReplace: boolean;...
Would be nice to add support for these older (or modified?) versions of the obfuscator. Have seen similar cases pop up a few times. Based off #23 https://gist.github.com/g0dzcsgo/f79de3ac143ebdbc30b6718e42d5aa24 https://gist.github.com/g0dzcsgo/ea795ab77f9f930ab5a441162b8d203c https://gist.github.com/g0dzcsgo/da498a683fe3217866c7c1e47f8a7ace
Would be nice to have some tests for each transform to ensure compatibility between releases. Should run on CI.
A pass to remove unused variables would be nice. Would fix cases like #44
The current approach to gathering variable declarations and references is too loose and can result in incorrect deobfuscation. Since Shift doesn't provide this for us (like Babel does for example),...