Title: Added test for reservedNames bug in classes by sciortinomrc · Pull Request #1279 · javascript-obfuscator/javascript-obfuscator · GitHub
Open Graph Title: Added test for reservedNames bug in classes by sciortinomrc · Pull Request #1279 · javascript-obfuscator/javascript-obfuscator
X Title: Added test for reservedNames bug in classes by sciortinomrc · Pull Request #1279 · javascript-obfuscator/javascript-obfuscator
Description: Use case I want to obfuscate a class, but I need one function name not to be obfuscated. I specify the name of the function in 'reservedNames' Expected No matter how many times I perform the obfuscation, I am expecting the function name never to be obfuscated Results Running the test several times, I can see that the results are never consistent, and most of the time the behaviour is not the expected Unfortunately I am not good with TypeScript so I was not able to provide a fix, but I was able to add a test case as a PoC of the bug. Hope this was helpful
Open Graph Description: Use case I want to obfuscate a class, but I need one function name not to be obfuscated. I specify the name of the function in 'reservedNames' Expected No matter how many times I perform th...
X Description: Use case I want to obfuscate a class, but I need one function name not to be obfuscated. I specify the name of the function in 'reservedNames' Expected No matter how many times I pe...
Opengraph URL: https://github.com/javascript-obfuscator/javascript-obfuscator/pull/1279
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:53ace984-1c74-cdaf-ebc2-ac6f5de36a59 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB5A:1C478B:1B4FE2:27C41E:6A63542B |
| html-safe-nonce | e0c007a5b6bd25e3ac82d87e4eb19a1081656305a178eb31b83a5fca6d603e9b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjVBOjFDNDc4QjoxQjRGRTI6MjdDNDFFOjZBNjM1NDJCIiwidmlzaXRvcl9pZCI6IjE2MjY2NDU4MTIwNDYxNTY4NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a3317dfd0349df9f25bbb0c6614d3bd9883ef435b25f8b60ae9a16f556a5399a |
| hovercard-subject-tag | pull_request:2038265136 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/javascript-obfuscator/javascript-obfuscator/pull/1279/files |
| twitter:image | https://avatars.githubusercontent.com/u/42765817?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/42765817?s=400&v=4 |
| og:image:alt | Use case I want to obfuscate a class, but I need one function name not to be obfuscated. I specify the name of the function in 'reservedNames' Expected No matter how many times I perform th... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/javascript-obfuscator/javascript-obfuscator git https://github.com/javascript-obfuscator/javascript-obfuscator.git |
| octolytics-dimension-user_id | 23015672 |
| octolytics-dimension-user_login | javascript-obfuscator |
| octolytics-dimension-repository_id | 58360147 |
| octolytics-dimension-repository_nwo | javascript-obfuscator/javascript-obfuscator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58360147 |
| octolytics-dimension-repository_network_root_nwo | javascript-obfuscator/javascript-obfuscator |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width