-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
JS: Incorrect renaming variables #469
Comments
I ran a |
This appears to be a whitespace problem. If I reformat the OP's example in vscode, then minimize, vars are renamed correctly. |
Thanks for the bug report, I will be looking into this! EDIT: the shortest I can make this is |
This has been fixed in tdewolff/parse@3a696f8, a new released will be out soon as I have some other outstanding work |
This has been fixed and released in v.2.11.0! |
Probably the new/rewritten JS variable renamer introduced in v2.9.27 have some bugs that can lead to unexpected behavior in minified code.
The issue is observable and reproducible on minified
Hyphenopoly_Loader.js
file, for example some mismatched names:The text was updated successfully, but these errors were encountered: