{"action":"created","issue":{"url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/262","repository_url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator","labels_url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/262/comments","events_url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/262/events","html_url":"https://github.com/javascript-obfuscator/javascript-obfuscator/issues/262","id":323254374,"number":262,"title":"mangled obfuscation breaks project while hexadecimal one works just fine","user":{"login":"ArtemBogush","id":8145834,"avatar_url":"https://avatars1.githubusercontent.com/u/8145834?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtemBogush","html_url":"https://github.com/ArtemBogush","followers_url":"https://api.github.com/users/ArtemBogush/followers","following_url":"https://api.github.com/users/ArtemBogush/following{/other_user}","gists_url":"https://api.github.com/users/ArtemBogush/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemBogush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemBogush/subscriptions","organizations_url":"https://api.github.com/users/ArtemBogush/orgs","repos_url":"https://api.github.com/users/ArtemBogush/repos","events_url":"https://api.github.com/users/ArtemBogush/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemBogush/received_events","type":"User","site_admin":false},"labels":[{"id":613589502,"url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/labels/need%20more%20info","name":"need more info","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-15T14:53:47Z","updated_at":"2018-05-16T12:11:35Z","closed_at":null,"author_association":"NONE","body":"I'm using quite a few 3rd party libs in my projects, pack them in one file and obfuscate the whole file. \r\n\r\nEverything works just fine with **hexadecimal** generator but if I switch to **mangled** the projects starts to throw errors at random places like `\"can't execute 'sdf' of undefined\"` or `\"kjh is not a function\"` (using `seed: 0` and `deadCodeInjection:true`)\r\n\r\nJust to give you some glue, those errors might be connected with using jquery in the same file but again, hexadecimal obfuscation works just fine.\r\nIt also makes difference if I switch on or off disableConsoleOutput option: with `disableConsoleOutput:true` and removing `deadCodeInjection` everything seems to work, while `(disableConsoleOutput:false or deadCodeInjection:true) + mangled` breaks the project.\r\n\r\nI can't paste any code unfortunately but I'll leave the description here to bring your attention - maybe it will help to improve the great library even further!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/comments/389496416","html_url":"https://github.com/javascript-obfuscator/javascript-obfuscator/issues/262#issuecomment-389496416","issue_url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/262","id":389496416,"user":{"login":"ArtemBogush","id":8145834,"avatar_url":"https://avatars1.githubusercontent.com/u/8145834?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtemBogush","html_url":"https://github.com/ArtemBogush","followers_url":"https://api.github.com/users/ArtemBogush/followers","following_url":"https://api.github.com/users/ArtemBogush/following{/other_user}","gists_url":"https://api.github.com/users/ArtemBogush/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemBogush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemBogush/subscriptions","organizations_url":"https://api.github.com/users/ArtemBogush/orgs","repos_url":"https://api.github.com/users/ArtemBogush/repos","events_url":"https://api.github.com/users/ArtemBogush/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemBogush/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T12:11:35Z","updated_at":"2018-05-16T12:11:35Z","author_association":"NONE","body":"Hi, thanks for your tip - I'll consider this.\r\n\r\nAs for the bundle - it's just a concatenated file. I'll have a look at `identifiersPrefix` as well, but as I've mentioned above, with the hexadecimal generator everything works as expected."}}
{"actor":{"display_login":"ArtemBogush"}}