javascript-obfuscator / javascript-obfuscator/javascript-obfuscator
[Feature Request] Add the opposite option to reservedNames (forceTransformProperties?)
- Dominant language
- TypeScript
- Stars
- 16.3k
- Forks
- 1.7k
- Avg merge
- 28m
- Merged PRs (30d)
- 4
Description
OK, `renameProperties` is dangerous and it can break the code. With `reservedNames` it is possible to prevent some properties from being touched. So what about we provide a list and only the prop name in the list should be renamed?
In short, besides a blacklist (`reservedNames`), I'd like to have a whitelist as well.
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the existing reservedNames and renameProperties option handling, then trace property-renaming behavior; done means a whitelist equivalent is applied consistently without changing blacklist behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100