Skip to content

"gulp-javascript-obfuscator causes syntax errors" #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
max-edelstein opened this issue Dec 15, 2019 · 4 comments
Closed

"gulp-javascript-obfuscator causes syntax errors" #23

max-edelstein opened this issue Dec 15, 2019 · 4 comments

Comments

@max-edelstein
Copy link

Hello,

It appears that whenever one attempts to obfuscate code with "gulp-javascript-obfuscator" certain characters are inserted in the javascript file like "}", "=", etc. These characters cause syntax errors in javascript and result in broken code. I am leaving this here in the event others run into a similar issue.

Best,

Max

@zamotkin
Copy link
Member

@max-edelstein sorry, could you share an example of such code? I can't see your point.

@max-edelstein
Copy link
Author

@zamotkin , I will attempt to share an example as soon as possible. My apologies for this.

@max-edelstein
Copy link
Author

Just an update, tomorrow I plan to see if I can find the code triggering this issue.

@max-edelstein
Copy link
Author

max-edelstein commented Dec 22, 2019

Issue was my fault. I was calling a task that executed gulp-uglify-es and gulp-javascript-obfuscator twice. My apologies for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants